Page 1 of 1

Migrating Subsonic

PostPosted: Mon Jul 25, 2011 11:26 am
by nachos
Greetings,

I'm attempting to migrate my subsonic install, and I'm getting stuck on transferring my user list. I'm running subsonic on a REHL/Fedora/CentOS system and used the Fedora installer from the site.

I successfully pulled a list of existing users and their passwords by running the following command:

cat /var/subsonic/db/subsonic.script | grep "INSERT INTO USER VALUES"

I'm just not sure of how to copy this over to the new install. I tried copying over the old /var/subsonic/db/subsonic.script and replacing the file, but this did not seem to do the trick. I'm thinking I need to issue INSERT statements to subsonic's database, but I don't know how to pull that off.

I'm very comfortable mucking about with linux, but I've hit a wall with the task at hand. Any input is appreciated! Did I mention that I *absolutely love* this software? :)

PostPosted: Tue Jul 26, 2011 9:15 pm
by nachos
*bump* :)

my issue is kind of generic, but here are the particulars in case it helps:

Version 4.4 (build 2169) – February 6, 2011
Server jetty-6.1.x, java 1.6.0_17, Linux (163.3 MB / 328.6 MB)
OS Linux - CentOS 5.6 (REHL/Fedora based)

I'm comfortable with issuing commands via CLI to MySQL as well, but I don't think subsonic uses MySQL. I'll be sure to post back if I figure this out, and I've also been continuing to look into it. I'm considering doing a straight-up rsync of the subsonic folder over to the new server. I'll let you know how it goes, but I'd still like to know how to pull this off on a "clean install".

PostPosted: Wed Jul 27, 2011 6:03 am
by nachos
rsync for the win. i was trying to make things more difficult than they needed to be i guess :P