Migrating Between Windows and Linux Hosts ?

General discussions.

Moderator: moderators

Migrating Between Windows and Linux Hosts ?

Postby svet-am » Fri Aug 12, 2016 3:49 pm

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?
svet-am
 
Posts: 12
Joined: Wed Jul 16, 2014 3:33 pm

Re: Migrating Between Windows and Linux Hosts ?

Postby mitrailer » Fri Aug 12, 2016 5:48 pm

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

Re: Migrating Between Windows and Linux Hosts ?

Postby svet-am » Fri Aug 12, 2016 7:02 pm

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.
svet-am
 
Posts: 12
Joined: Wed Jul 16, 2014 3:33 pm

Re: Migrating Between Windows and Linux Hosts ?

Postby acroyear » Fri Aug 12, 2016 11:46 pm

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.
--
Joe Shelby
http://subfiresuite.com/
http://subfireplayer.net/
User avatar
acroyear
 
Posts: 779
Joined: Wed Mar 27, 2013 8:05 pm
Location: Northern, VA

Re: Migrating Between Windows and Linux Hosts ?

Postby matija2209 » Thu Sep 08, 2016 3:21 pm

I mitigated bases without a problem from Windows to Ubuntu 14.04. Just copy from C:/Subsonic to /var/subsonic
matija2209
 
Posts: 2
Joined: Tue Apr 26, 2016 10:10 am


Return to General

Who is online

Users browsing this forum: No registered users and 21 guests