Page 1 of 1

locked out of Ampache

Posted: Sat Sep 15, 2012 8:37 pm
by w34p0n2m4n
So, I figure one of the most enjoyable uses of a home server is to host music and allow me to listen to it anywhere. I installed Ampache from the app list, and changed the username/password. At some point it stopped letting me log back in. It rejected the original admin/admin combo, the new username/password I setup, and everything else I could think of.

I uninstalled it and installed it again, figuring that would let me start over. But the second install won't respond to the default admin/admin even for the first login.

Re: locked out of Ampache

Posted: Sat Sep 15, 2012 9:55 pm
by bigfoot65
When you uninstall, it backs up the app database. You will need to uninstall, remove the backup file, and then reinstall.

The back files are located in /var/hda/dbs and you want to remove anything labeled with Ampache.

Re: locked out of Ampache

Posted: Sun Sep 16, 2012 8:11 pm
by w34p0n2m4n
Thanks, that worked.

Just out of curiosity...So...when I remove an app (or at least Ampache), it saves all the settings and then reuses them if I install the app again? Cuz when I click 'uninstall' it throws up a window telling me that all the data will be deleted and there's no undo for an uninstall.

Before, Ampache could see the music in the default music folder. Now this install can't. I tried deleting the catalog and recreating it and it claims the /var/hda/files/music is "unreadable or does not exist."

Also, while you're here, is there some kind of majik button I have to toggle to get Ampache to send music over the interwebs? Like, if I forwarded the port, and if JustPLayer's Ampache plugin claims it can talk to the server just fine, then why would it show zero songs available?

Re: locked out of Ampache

Posted: Mon Sep 17, 2012 5:37 am
by bigfoot65
Any app with a database backs up the data on uninstall. This was a new feature of Amahi 6.

As for your current issue, if you are using Ubuntu then the folder is Music and not music. You also might want to check permissions. The folders should be owned by your firstadminuser:users.

Not sure what you mean by interwebs. If you are trying to expose it outside your network, then recommend you follow the wiki guidance here:

http://wiki.amahi.org/index.php/Hosting_a_website