Hi Sergio and Xavier,

It might seem a stupid question but how do I install the 3.4.0-SNAPSHOT?

Should I `git checkout develop` once I've cloned the repository and before
I do `mvn clean install`?

Thanks.

Best
Francesco

-- 

*Francesco Bailo*

Postdoctoral Fellow in Digital Media Methods


Department of Media and Communications
Faculty of Arts and Social Sciences

*THE UNIVERSITY OF SYDNEY*Rm S208, A20 - John Woolley Building  | The
University of Sydney | NSW | 2006 | Australia
*Phone *
*+61 2 8627 6895 <+61286276895>| Twitter @FrBailo
<https://twitter.com/frbailo>Email francesco.ba...@sydney.edu.au
<francesco.ba...@sydney.edu.au>
<francesco.ba...@sydney.edu.au> | Website www.francescobailo.net
<http://www.francescobailo.net/>*

On 11 January 2018 at 01:31, Sergio Fernández <wik...@apache.org> wrote:

> Hi Francesco,
>
> 3.3.x comes with a very annoying bug regarding login:
> https://issues.apache.org/jira/browse/MARMOTTA-534
>
> It's going to be fixed in 3.4.0 if we find time to finally cast the
> release.
>
> So, in the meantime, I guess you have three options (I summarize them to
> have it documented):
>
> 1) Changing user.admin.pwhash in your configuration file (requires
> restarting).
>
> 2) If you installation is not public and/or you don't care much about
> security, you can disable it.
>
> You have two ways of doing that:
>
> 2a) Changing *security.enabled = false* in your configuration file, as
> Xavier told you (requires restarting).
>
> 2b) Executing the following request from the same machine where Marmotta
> is running (allowed _only_ from localhost with the default simple profile):
>
> curl -X POST -H "Content-Type: application/json" -d '["false"]' 
> http://localhost:8080/marmotta/config/data/security.enabled
>
> 3) Migrate to 3.4.0-SNAPSHOT, which currently can be considered a release
> candidate (the release is just blocked by a bug in the installer). Actually
> I'd recommend this last option for any new installation.
>
> I hope that helps. Apologize for all inconveniences.
>
> Cheers,
>
>
>
>
> On Tue, Jan 9, 2018 at 11:06 PM, Francesco Bailo <m...@francescobailo.net>
> wrote:
>
>> Hi Xavier
>>
>> No, no error. I tried to add the line `user.admin.pwhash =
>> :sha1::myhashpasword` in the file `system-config.properties` file. The
>> line was actually missing. This solved the problem of logging in with my
>> local installation (on a Mac) but not on the Ubuntu server.
>>
>> Thanks
>>
>> Best
>> Francesco
>>
>> m: +61 416 860 221
>> e: m...@francescobailo.net
>>
>> On 10 January 2018 at 08:35, Xavier Sumba <xavier.sumb...@ucuenca.ec>
>> wrote:
>>
>>> Hi Francesco,
>>>
>>> That interface is a little tricky. Do you have any error on the console
>>> browser or maybe in a log file?
>>>
>>> Some points that I hope help you out.
>>>
>>>    - You can change the default password [1].
>>>    - You can disable the security by changing *security.enabled = false*
>>>    in your configuration file.
>>>
>>> Cheers,
>>> Xavier.
>>>
>>> [1] https://wiki.apache.org/marmotta/Maintenance#Change_the_admi
>>> n_password
>>>
>>> On Tue, Jan 9, 2018 at 3:46 PM, Francesco Bailo <
>>> bailo.france...@gmail.com> wrote:
>>>
>>>> Hello,
>>>>
>>>> I have installed (standalone) and correctly started Apache Marmotta
>>>> 3.3.0 on an Ubuntu server. But I can't log in with the default admin
>>>> password (admin/pass123). Navigating to my host:8080, I get to access the
>>>> configuration interface. But I can't change anything.
>>>>
>>>> I both tried using Chrome and Safari. By clicking on the login button
>>>> (top/right) I don't get to log in. If I try to change something through the
>>>> configuration interface, I'm prompted by the browser with an
>>>> "authentication required" form. Still, the admin/pass123 combination
>>>> doesn't work.
>>>>
>>>> Thanks,
>>>>
>>>> Francesco
>>>>
>>>
>>>
>>
>

Reply via email to