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_
>> admin_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