Page 1 of 1

Backup Subsonic Settings?

PostPosted: Mon Sep 29, 2014 6:31 pm
by burn913
Hello,

I use Subsonic on my Amahi server and absolutely love it. With the new release version, Amahi suggests that I uninstall and reinstall their Subsonic app to update it. However, I'm afraid that I'm going to lose all my settings and everything, and the support at Amahi isn't sure if this will happen. Is there a way to back up and restore my subsonic settings? Or do I need to even be worrying about this?

Thanks!

Re: Backup Subsonic Settings?

PostPosted: Mon Sep 29, 2014 6:48 pm
by daneren2005
Amahi sounds like a standard Linux distro. Usually the Subsonic settings are under /var/Subsonic/db/. You can just backup that entire directory for the update. If they chose to change it to a different location, you need to figure out form there where it is. Make sure to shut down Subsonic before backup up the db.

Re: Backup Subsonic Settings?

PostPosted: Mon Sep 29, 2014 7:05 pm
by burn913
OK Thanks, now i'll just need to figure out how to back it up. I'm a pretty big linux noob, but hopefully I can figure it out.

Re: Backup Subsonic Settings?

PostPosted: Tue Sep 30, 2014 11:59 am
by burn913
So I had to uninstall and reinstall. Then that didn't work, so I uninstalled and reinstalled again, which seems to have done the trick. My settings carried over just fine. However, I am having trouble with my podcasts downloading to my server. I get the error message: /var/Podcast/Basic Brewing Radio/bbr09-25-14expbook.mp3 (Permission denied)

Any ideas?

Thanks

Re: Backup Subsonic Settings?

PostPosted: Tue Sep 30, 2014 4:28 pm
by mitrailer
burn913 wrote:So I had to uninstall and reinstall. Then that didn't work, so I uninstalled and reinstalled again, which seems to have done the trick. My settings carried over just fine. However, I am having trouble with my podcasts downloading to my server. I get the error message: /var/Podcast/Basic Brewing Radio/bbr09-25-14expbook.mp3 (Permission denied)

Any ideas?

Thanks


You need to assign permissions to the folder. In the terminal do
sudo chmod -R 755 /var/Podcast/

You may also check this page http://ss64.com/bash/chmod.html. Saludos!

Re: Backup Subsonic Settings?

PostPosted: Tue Sep 30, 2014 4:54 pm
by burn913
That didn't seem to do the trick.

I'm a linux newbie, but when i run: ls -al /var/Podcast/

I get:
Total 12
drwxr-xr-x 3 root root 4096 Jun 18 18:37 .
drwxr-xr-x. 23 root root 4096 Jun 18 18:37 ..
drwxr-xr-x 2 root root 4096 Sep 29 20:05 Basic Brewing Radio

I just don't understand why a simple reinstall would have changed the permissions. Everything else in Subsonic seems to be functioning normally.

Re: Backup Subsonic Settings?

PostPosted: Tue Sep 30, 2014 5:44 pm
by mitrailer
Try this
sudo chmod -R 777 /var/Podcast/
If its works, you could leave it like that. Or you could type in terminal
chown -R user /var/Podcast/, replace user with the name of your subsonic user.

To find the subsonic user in terminal
type
nano /etc/default/subsonic and copy the name after the "SUBSONIC_USER="

and then apply
sudo chmod -R 755 /var/Podcast/
again.
Hope this help. Saludos

Re: Backup Subsonic Settings?

PostPosted: Wed Oct 01, 2014 8:40 pm
by burn913
FYI, the solution involved me originally installing Subsonic as root, and the update changing default user to [user] instead of root. Amahi support helped me big time in solving this. I have also since changed the appropriate settings so that Subsonic is running as dedicated user rather than root. Your help was much appreciated, but since it was somewhat debian specific, didn't quite solve my problem.

Thanks