AnsweredAssumed Answered

Openfire 'Admin' user resets automatically after reboot

Question asked by Sam on Apr 27, 2017
Latest reply on Apr 27, 2017 by Guus der Kinderen

Hi there,



Openfire admin account automatically resets it's password after the server has rebooted. After reboot i can't authenticate with the admin account via the Openfire web console.



I have migrated across a old existing Openfire database (embedded-db) to a new Openfire server (v4.1.3) and the existing admin account credentials work successfully upon completing the migration to the new server however when i reboot the server then i can no longer authenticate with the existing admin credentials. Can you please help me with this?


Error Message (after reboot via web console): Login failed: make sure your username and password are correct and that you're an admin or moderator.

When observing the database before and after reboot it looks identical. Like nothing has changed… Even the encryptedPassword field is exactly the same on the admin user within the table.


I have checked the error.log file and found nothing.

Attached is the ‘debug.log’ file of before and after the reboot occurred with the new Openfire server.


Server Configuration:

AMI: Bitnami Openfire v4.1.3

EC2 Amazon Instance.

OS: Ubuntu 14.04.5 LTS (x86_64 GNU/Linux)

Database migration: mysqldump old embedded (HSQLDB) to new Openfire server

Java version "1.8.0_12”

JDK (8u121) January 17, 2017.

Java(TM) SE Runtime Environment (build 1.8.0_121-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)