Changing the location of my subsonic folder

General discussions.

Moderator: moderators

Changing the location of my subsonic folder

Postby benjammin105 » Mon Aug 01, 2011 1:25 am

Hi,
I'm new to the software and love it already. I'm having a bit of a problem now though. I have subsonic installed on windows xp. I have a large music collection saved on my M drive. My drive letter assignments are a little crazy on this machine. Anyways, when the program installs in creates a subsonic folder on my C drive. On this computer C is a really small reserved partition. Windows will not let me reassign a letter to the drive and I can't seem to find a good option in subsonic to change this when installing the program. Everything will be fine for a while, but over time that file will grow larger and fill up that C partition. I need a way to install subsonic entirely on my M drive, or J drive which has all of my other program files located on it. Any ideas? I'm sure I'm just missing something obvious here. Thanks

Ben
benjammin105
 
Posts: 4
Joined: Mon Aug 01, 2011 1:18 am

Postby headcase59 » Mon Aug 01, 2011 4:18 am

Not sure on how to change the location (or if it's possible), but my 'C:\subsonic' folder is less than 100MB although my music collection located on D: is 135GB. I believe the actual database file is less than 5MB. If you can spare 100MB - 125MB it's probably best to leave it on C:
headcase59
 
Posts: 8
Joined: Thu Jul 21, 2011 3:06 pm

Postby bushman4 » Mon Aug 01, 2011 6:54 pm

To move the Subsonic folder off the C: drive:

  • Stop the Subsonic service
  • Copy the Subsonic folder from the C: drive to the M: drive
  • Using a text editor, open %PROGRAMFILES%\Subsonic\subsonic-service.exe.vmoptions
  • Add the following line to the bottom:
    Code: Select all
    -Dsubsonic.home=m:/subsonic
  • Save the file
  • Restart the Subsonic Service.

HTH,

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Postby benjammin105 » Tue Aug 02, 2011 1:34 am

Thanks a lot! That worked great! I've got the program running free of my tiny C drive now. The only problem I'm having now is that my subsonic url isn't working but I'll get that going soon.
benjammin105
 
Posts: 4
Joined: Mon Aug 01, 2011 1:18 am

Re: Changing the location of my subsonic folder

Postby msalinas90 » Tue Aug 16, 2011 4:16 pm

Is it possible to relocate the folder when using the Tomcat (.war) setup?
msalinas90
 
Posts: 3
Joined: Wed Aug 10, 2011 8:25 pm

Re: Changing the location of my subsonic folder

Postby bushman4 » Mon Aug 22, 2011 11:38 am

Yes. Add the same setting to your Java Global Variables. for Windows, that is located on the Java tab of the Apache Tomcat Properties, under "Java Options."

Hope this helps,

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA

Re: Changing the location of my subsonic folder

Postby msalinas90 » Mon Aug 22, 2011 2:38 pm

Thank you, Glenn!
msalinas90
 
Posts: 3
Joined: Wed Aug 10, 2011 8:25 pm


Return to General

Who is online

Users browsing this forum: No registered users and 6 guests