Page 1 of 1

Can't install Subsonic due to no C drive

PostPosted: Wed Oct 14, 2009 8:38 pm
by isawdrones
My Windows install does not have a C drive. The installer tries to put files in c:\subsonic which obviously fails.

I tried the war installation, but subsonic won't start in Tomcat. After looking back at the troubleshooting steps, they mention looking in c:\subsonic, which obviously doesn't exist.

Am I missing something or is this a bug?

PostPosted: Wed Oct 14, 2009 9:49 pm
by Webdoc
Hello

What drive letter does your windows install use, as it must be using a letter of some discription.

Regards

Webdoc

PostPosted: Wed Oct 14, 2009 9:55 pm
by isawdrones
Windows is installed on drive D. To be clear, I don't have a C drive at all.

PostPosted: Wed Oct 14, 2009 11:18 pm
by Webdoc
Hello

When you run the installer, you get the option to choose install location with the following line in a text box.

C:\Program Files\Subsonic

If like you say you don't have a c drive, and that your windows install is on d drive, change the above line to look like the following.

D:\Program Files\Subsonic

This will then install subsonic onto your d drive.

Regards

Webdoc

PostPosted: Thu Oct 15, 2009 8:39 am
by sindre_mehus
After you install Subsonic in d:/program files/subsonic you have to add the following line to d:/program files/subsonic/subsonic-service.exe.vmoptions:

Code: Select all
-Dsubsonic.home=d:/subsonic


then restart Subsonic.

PostPosted: Thu Oct 15, 2009 5:07 pm
by isawdrones
Does it matter that the installer tries to create files in c:\subsonic regardless of where you tell it to install? Do I need those files or can I ignore the file creation errors and just modify the vmoptions file as specified?

Image
Image

PostPosted: Thu Oct 15, 2009 5:12 pm
by sindre_mehus
Yes, that will work.

The installer tries to install the (optional) transcoding pack to c:/subsonic/transcode, but if you like you can install it in d: manually later. It's available here: http://subsonic.sourceforge.net/transcoding.php

Good luck,
Sindre

PostPosted: Fri Oct 16, 2009 4:25 am
by isawdrones
Thanks for the help. I did the install ignoring the transcode file errors; modified the options file above; and restarted subsonic. Everything worked as expected. I then downloaded the transcoding files, put them in d:\subsonic and that works.

Would a similar change need done to the WAR install? I wasn't having luck with Tomcat either...

I'd also recommend either allowing for other drives in the installer or adding that info to the install guide/troubleshooting.