Admin/admin credentials not working

troubleshooting
login
#1

I have a fresh install of Horizon 24 on ubuntu 18.04. After running the installation, I am unable to logon to the web interface using admin/admin.

I am able to connect to the database using this command:

psql opennms -h localhost -d opennms

and

psql postgres -h localhost -d opennms

and I have verified that these same creds exist in:

opennms-datasources.xml

#2

If that is reproducible it’s a nasty bug and you should open a bug report on https://issues.opennms.org.

To “solve” your current issue you can replace this part into users.xml to set admin:admin:

      <user>
         <user-id>admin</user-id>
         <password salt="true">L/NLgFOJ/Oq31aDV3vQfqVo/tRh807OvsoN2I4oedx0hoioiuaQ8HJHu60fkK878</password>
         <role>ROLE_ADMIN</role>
      </user>

Don’t forget to restart OpenNMS after the change.

#3

That didn’t fix it. I’ll send this to the issues e-mail as you suggested.

#4

Turns out all I needed to do was clear my browser.

1 Like