LogAnalyzer: How to reset admin password?

amahivirtual
Posts: 19
Joined: Sun Jun 05, 2011 1:18 pm

LogAnalyzer: How to reset admin password?

Postby amahivirtual » Mon Nov 07, 2011 4:00 pm

Hi there at Amahi forums,
I use Loganalyzer Version 3.2.2 on Amahi/F14. Unfortunately I forgot my Admin-Password for the LogAnalyzer login. I changed the default admin password according to the suggestion in the Amahi wiki. So I deinstalled and reinstalled Loganalyzer hoping to reset the admin user password to its default value, but this was without success. I am stuck now and wonder if there is way to reset the password to default, perhaps with a manipulation in the Loganalyzer MySQL database or in some config files?
Perhaps someone has a hint for me?
Best regard,
amahivirtual
----------------------------------------------------------------------------------------------

AMD Athlon II X2 250e, Asus M4A78LT-M, 2GB DDR3 PC3-10600 ECC, 320 GB HDD for OS (2,5 Inch), 2x 1 TB WD10EADS HDDs in a RAID 1 Array (3,5 inch), be quiet! Pure Power L7, 300W. Fedora 14 with Amahi 6.x.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: LogAnalyzer: How to reset admin password?

Postby bigfoot65 » Tue Nov 08, 2011 5:58 am

Hello,

The problem is when you uninstall and then reinstall, it picks up the backup of the database. By default, Amahi 6 backs up your database on uninstall. Many apps have code that restores the latest database backup for you. Nice feature, but in your case it is causing issues.

What you need to do is navigate to /var/hda/dbs and remove all occurrences of the loganalyzer files. This needs to be done after you uninstall the app of course. Then when you reinstall, it will do a fresh database load with the default admin account credentials.

We hope to add an option in the future to make loading the backup database something the user has control over. For now, its automatically controlled for many apps.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

amahivirtual
Posts: 19
Joined: Sun Jun 05, 2011 1:18 pm

Re: LogAnalyzer: How to reset admin password?

Postby amahivirtual » Tue Nov 08, 2011 9:06 am

Hi Bigfoot65,

thank you very much for the hint, it worked fine :-)

First I uninstalled the LogAnalyzer App. Afterwards in my Fedora root user account I navigated to /var/hda/dbs and removed there all files containing the word Loganalyzer in its file names. Then I made a fresh installation of Loganalyzer and started Loganalyzer with its default settings. The little downside of this procedure is that I also lost all my individual settings in LogAnalyzer, but that is the price for forgetting the password.

Best regards,
amahivirtual
----------------------------------------------------------------------------------------------

AMD Athlon II X2 250e, Asus M4A78LT-M, 2GB DDR3 PC3-10600 ECC, 320 GB HDD for OS (2,5 Inch), 2x 1 TB WD10EADS HDDs in a RAID 1 Array (3,5 inch), be quiet! Pure Power L7, 300W. Fedora 14 with Amahi 6.x.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: LogAnalyzer: How to reset admin password?

Postby bigfoot65 » Tue Nov 08, 2011 5:22 pm

FYI I just updated this app to the latest version. If you uninstall and reinstall, your settings should be restored automatically.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

amahivirtual
Posts: 19
Joined: Sun Jun 05, 2011 1:18 pm

Re: LogAnalyzer: How to reset admin password?

Postby amahivirtual » Wed Nov 16, 2011 8:10 am

Dear Bigfoot65,
I made the update of LogAnalyzer 3.2.2-->3.2.3 with uninstalling the old and reinstalling the new version. I worked flawlessly, all my settings remain the same :-)
Thanks for the hint!
----------------------------------------------------------------------------------------------

AMD Athlon II X2 250e, Asus M4A78LT-M, 2GB DDR3 PC3-10600 ECC, 320 GB HDD for OS (2,5 Inch), 2x 1 TB WD10EADS HDDs in a RAID 1 Array (3,5 inch), be quiet! Pure Power L7, 300W. Fedora 14 with Amahi 6.x.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: LogAnalyzer: How to reset admin password?

Postby bigfoot65 » Wed Nov 16, 2011 10:38 am

Awesome. I will be upgrading it to the latest version (3.3) later today.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 41 guests