Page 1 of 1

server crash; playlist recovery?

PostPosted: Wed May 08, 2013 9:08 pm
by Jägs
Greetings, all:

My ubuntu server crashed due to problems with a RAID array, but I was fortunately able to backup my /var/subsonic folder--it was on the boot drive that ultimately became unbootable. Anyway, I reinstalled Ubuntu, copied the backup to /var/subsonic, and reinstalled Subsonic before I had the music drive mounted. Once I did have it mounted, I logged in and the DB was empty, along with the playlists. I rescanned the drive, and the DB populated, but the playlists were still empty. Crap.

That said, I noticed that the install seemed to have created a backup DB, so I shutdown subsonic, replaced the /var/subsonic/db with the /var/subsonic/db.backup folder and tried again. The DB was populated this time, but I still have no files in the playlists. Note: The only difference between the old system and the new is that the old path to the music (/media/music) was a regularly mounted RAID array, and the new path (/media/music) is a soft link to where the new mount path is.

Is it at all possible to recover these playlists? Some of them are quite large and would take a long time to rebuild from scratch. Note: I do have the M3Us downloaded from the server, but they only contain the URL the the stream, plus the file name of the song, not the full path.

Thanks!

Re: server crash; playlist recovery?

PostPosted: Thu May 09, 2013 1:56 pm
by Jägs
BTW, I was and am running the latest version of Subsonic (4.8).

Re: server crash; playlist recovery?

PostPosted: Thu May 16, 2013 3:50 pm
by Jägs
Anyone have any idea? I'd rather not try to piece these together manually.

Re: server crash; playlist recovery?

PostPosted: Thu May 16, 2013 4:14 pm
by gurutech
Do your playlists show up with "0" songs in each one, or do your lists not even show up?

You can check the /var/playlists folder (default location - you may have changed this?) to see if they are there, but it may be a moot point since the song ID's would most likely be different between the old installation and the new.

Re: server crash; playlist recovery?

PostPosted: Thu May 16, 2013 6:37 pm
by Jägs
The playlists are still there, but show zero songs (e.g. My Playlist (0)).