Thank you Ese and William.
I don't know what caused the problem, but I solved it by adding an entry to
the "userrolemembers" table in the postgres database, with the "userid" of
admin and the "userroleid" of the Superuser. Then it worked after rebooting
the server.

Best regards,
Kader


2014-05-15 18:51 GMT+03:00 Ese Egerega <e...@cis.com.ng>:

> Hello,
>
> I had a similar problem in the past. I resolved it by shutting down (not
> restart) the server completely and then putting it back on.
>
> Thanks,
> Ese
>
>
> On Tue, May 13, 2014 at 5:26 PM, Kader Irchad Barry 
> <kaderb...@gmail.com>wrote:
>
>> Hello,
>>
>> After having installed and configured all data elements and data sets
>> with default admin and password, I changed the default password through the
>> panel. I'm no more able to access to DHIS2 anymore. The error I'm having is
>> this one : "Access denied - You are not allowed to view this page" in a
>> different page from the login page.
>>
>> I thought the password were mispelled but it is not as if it was this
>> kind of error. When trying to use the former password for example, the
>> error message that appears says: "Wrong username or password" in the _same_
>> login page. It seems to be something dealing with access rights but I just
>> changed the password and firstname/lastname.
>>
>> I searched through the forum database but it didn't seem that this kind
>> of question has been asked before. Is there a way to reset the default
>> admin password and rights (through the shell for example) without having to
>> reinstall DHIS2 ?
>>
>> Thanks a lot for your help.
>>
>> Best regards
>> Kader
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to