Page 1 of 1

Installing subsonic on windows 2008 server?

PostPosted: Tue Aug 24, 2010 12:53 pm
by antispam246
Hi, trying to install Subsonic on windows 2008 server (64-bit) but running into problems. I have java (both 32/64) installed but when I run subsonic setup it starts to install but then i get numerous error messages which state

"Error opening file for writing

c:\subsonic\transcode\readme.txt

click abort to stop the installation"

I had a brief search and found something about changing the options in subsonic-service.exe.vmoptions to point to the correct HDD. My OS is installed to my S: drive so I figure the install is looking in the wrong directory. How can I get it too look at S: instead of c:

edit: Ok may have resolved, not sure so further input appreciated.

I had transferred the setup.exe from a network pc and forgot to unblock the file. So I unblocked the file, ran as administrator, ran diagnostics from win2k8 which ran it as win XP Service Pack 2 compatibility. I then installed to s:\subsonic.

I still got the above error messages when installing. But it installed, seemingly. The service was running, but indicated a a java error in the system tray icon. So I stopped the service, opened up subsonic-service.exe.vmoptions and added the following line

-Dsubsonic.home=s:/subsonic

restarted the service and the error had gone, on top of that the files the setup errored on appeared in s:\subsonic, so I'm guessing it fixed it and recreated the missing setup files when i adjusted the path and restarted the service.

As I'm brand new to this I can't really tell whether it's worked so i'll carry on with setting up and see if I run into any errors, again, any input appreciated.

PostPosted: Tue Aug 24, 2010 1:50 pm
by antispam246
Seems to be all working. Really straight forward after those few minor niggles.

I've tested using iphone app and it works great. I noticed something called LAME. Is this advisable to use? My music consists of a vartiety of formats and bitrates so how concerned should I be about limiting the streams?

Also, I noticed that mobile phone streaming is actually a 30 day trial, is that correct? and does it mean after 30 days I can no longer stream to subsonic app on iphone? So as well as paying for the app I have to pay for the license after 30 days?

Any other suggestions for plugins/extensions I should check out?

Finally, will there be any conflictions running the subsonic server with squeezebox centre server? I use the latter for home network streaming but would like to keep subsonic for roaming.

PostPosted: Tue Aug 24, 2010 5:53 pm
by deriksen
I'm running both Squeeze server and Subsonic on a HP Mediasmart, which is a WHS (stripped down 2003) and it runs just fine. The both share my itunes library which is also on the server.

//D

PostPosted: Fri Aug 27, 2010 6:51 pm
by antispam246
Thanks. I ran into another issue but managed ot tackle it myself. It's been posted a few times here before but i'd like to reiterate for the benefit of myself and others.

I had no issues connecting and running on the iphone app when connected to my home network but when i moved outside and tried to contact from a different wi-fi/net/3g connection i couldn't get it to work.

"Unable to connect to server. Please ensure..."

Everything was fine on the iphone. To resolve this I changed a few things on my server when subsonic was installed.

1) Changed to port 4040 (subsonic control panel > Settings > "Save")
2) Restarted the server (as above stop service > start service)
3) I had to port forward the new settings on my Netgear DG834v2

Logging into my router
Services > "Add custom service"
Name : "whatever you want e.g. "Subsonic"
Type : TCP
Start Port: 4040
Finish Port: 4040

Firewall Rules > (under Inbound Services) Add
Service: Choose your newly created service as above e.g. "Subsonic"
Action: "Always Allow"
Send to LAN Server "Enter the i.p address of the PC subsonic server is installed on (local i.p i.e. "192.xxx.x.xx"
WAN users: Any
Log: Never

Open up subsonic in a browser where it's installed, e.g. http://localhost:4040 > Settings > Network

Tick both boxes (choose a subsonic address for global .p registration if you haven't already. Click save to re-test these settings.

If everythings worked it will say

Status: Successfully forwarding port 4040.
and
Status: xxxxx.subsonic.org responded successfully.

I believe that's it, if anythings incorrect i'd appreciate input. I can't actually tets till i go out tomorrow now, but it looks good to me.