Page 1 of 1

Migrating Between Windows and Linux Hosts ?

PostPosted: Fri Aug 12, 2016 3:49 pm
by svet-am
I did a search for this before posting but didn't see anything relevant. If there's already something posted, please punt me to it.

I've been running SubSonic for years on a Windows server with no trouble. I'm in the process of retiring that Windows server and replacing it with a Linux one. I need to migrate my entire SubSonic install (database and all) to the new host.

Which files do I need to be most careful with? Are there best practices for migrating a SubSonic instance between platforms like this?

Re: Migrating Between Windows and Linux Hosts ?

PostPosted: Fri Aug 12, 2016 5:48 pm
by mitrailer
I dunno if I'm wrong but the database cannot be migrated because of folder paths, I mean, in windows is c:\foder\foder, whiles in linux is \folder\folder. So any entries in the database points to a path that don't even exists in linux.

Perhaps if you manually edit the database you'll be fine, but I'm not sure.

Cheers

Re: Migrating Between Windows and Linux Hosts ?

PostPosted: Fri Aug 12, 2016 7:02 pm
by svet-am
thanks. shouldn't I be able to address that by simply logging in and changing the paths in my library definitions once I have the server running (followed by a re-scan, obviously)? I imagine I'll run into similar things with saved playlists.

Re: Migrating Between Windows and Linux Hosts ?

PostPosted: Fri Aug 12, 2016 11:46 pm
by acroyear
One issue is that playlists may still be pointing to the c:\ based file locations (since I think they are stored internally as the .m3us). They aren't stored relative to the MusicFolder reference, but as their absolute file locations.

When I migrated my server, I basically exported my playlists, edited them by hand to fix the file paths to the new locations with / and no c:, then re-imported them.

Re: Migrating Between Windows and Linux Hosts ?

PostPosted: Thu Sep 08, 2016 3:21 pm
by matija2209
I mitigated bases without a problem from Windows to Ubuntu 14.04. Just copy from C:/Subsonic to /var/subsonic