Backup Subsonic Settings?

Need help? Post your questions here.

Moderator: moderators

Backup Subsonic Settings?

Postby burn913 » Mon Sep 29, 2014 6:31 pm

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!
burn913
 
Posts: 14
Joined: Tue Apr 15, 2014 7:43 pm

Re: Backup Subsonic Settings?

Postby daneren2005 » Mon Sep 29, 2014 6:48 pm

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.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Backup Subsonic Settings?

Postby burn913 » Mon Sep 29, 2014 7:05 pm

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.
burn913
 
Posts: 14
Joined: Tue Apr 15, 2014 7:43 pm

Re: Backup Subsonic Settings?

Postby burn913 » Tue Sep 30, 2014 11:59 am

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
burn913
 
Posts: 14
Joined: Tue Apr 15, 2014 7:43 pm

Re: Backup Subsonic Settings?

Postby mitrailer » Tue Sep 30, 2014 4:28 pm

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!
mitrailer
 
Posts: 138
Joined: Fri May 09, 2014 12:35 am

Re: Backup Subsonic Settings?

Postby burn913 » Tue Sep 30, 2014 4:54 pm

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.
burn913
 
Posts: 14
Joined: Tue Apr 15, 2014 7:43 pm

Re: Backup Subsonic Settings?

Postby mitrailer » Tue Sep 30, 2014 5:44 pm

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
mitrailer
 
Posts: 138
Joined: Fri May 09, 2014 12:35 am

Re: Backup Subsonic Settings?

Postby burn913 » Wed Oct 01, 2014 8:40 pm

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
burn913
 
Posts: 14
Joined: Tue Apr 15, 2014 7:43 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 12 guests