Page 1 of 1

How to install Subsonic in an ISPConfig website

PostPosted: Sat Dec 15, 2012 8:15 pm
by mroppolo
Hello all -

I have searched for a solution and cannot locate anything helpful.

I would like to create a music streaming website on my ISPConfig server using Subsonic. I cannot use http://localhost:4040. Instead, my URL will need to look like http://mstream.mysite.com

I thought installing Tomcat6 and unzipping the standalone files into the new website's directory would work, but no joy.

I believe the web server is looking for a start page (something similar to index.html but in a Java format). When I go to the website, I receive a 403 Forbidden error.

Any ideas ?

Thanks !!

Mike

Re: How to install Subsonic in an ISPConfig website

PostPosted: Sat Dec 15, 2012 10:11 pm
by bushman4
Don't unzip the file.

Install tomcat 6.

Put the subsonic.war file in the webapps directory.

Restart the Tomcat service.

Tomcat will then deploy the war file as it needs to.

Watch /var/subsonic/subsonic.log to see if it starts up correctly.

Then access it via http://Your.Host.Name/subsonic

Glenn

Re: How to install Subsonic in an ISPConfig website

PostPosted: Sun Dec 16, 2012 12:43 am
by mroppolo
Interesting, I did copy the war file to webapps. I restarted Tomcat and checked the logs. Nothing obviously wrong (no errors), so I think it may be running, but http://mywebsite.com/subsonic still doesn't render anything.

The problem may be I need to get ISPConfig to point the website files in /var/lib/tomcat6/webapps/subsonic. The ISPConfig website directory is located in /var/www/clients/client1/web3/web.

Under ../webapps/subsonic, what file is the index page for the site ? Maybe I can create a symbolic link ?

Re: How to install Subsonic in an ISPConfig website

PostPosted: Sun Dec 16, 2012 6:04 pm
by mroppolo
Hello all -

I'm still looking for help on this issue. Here is the log contents from today (all looks well to me):

[2012-12-15 13:54:00,477] INFO MediaScannerService - Automatic media library scanning scheduled to run every 1 day(s), starting at Sun Dec 16 03:00:00 EST 2012
[2012-12-15 13:54:00,477] INFO MediaScannerService - Media library never scanned. Doing it now.
[2012-12-15 13:54:00,481] INFO MediaScannerService - Starting to scan media library.
[2012-12-15 13:54:00,732] INFO PodcastService - Automatic Podcast update scheduled to run every 24 hour(s), starting at Sat Dec 15 13:59:00 EST 2012
[2012-12-15 13:54:00,982] INFO MediaScannerService - Scanned media library with 0 entries.
[2012-12-15 13:54:00,982] INFO MediaScannerService - Marking non-present files.
[2012-12-15 13:54:00,995] INFO MediaScannerService - Marking non-present artists.
[2012-12-15 13:54:01,009] INFO MediaScannerService - Marking non-present albums.
[2012-12-15 13:54:01,012] INFO MediaScannerService - Completed media library scan.
[2012-12-15 13:54:01,027] INFO PlaylistService - Starting playlist import.
[2012-12-15 13:54:01,027] INFO PlaylistService - Completed playlist import.
[2012-12-15 13:54:01,027] INFO PlaylistService - Starting playlist statistics update.
[2012-12-15 13:54:01,028] INFO PlaylistService - Completed playlist statistics update.
[2012-12-15 13:54:03,862] INFO NetworkService - Deleted port mapping for port 80
[2012-12-15 13:59:00,727] INFO PodcastService - Starting scheduled Podcast refresh.
[2012-12-15 13:59:00,729] INFO PodcastService - Completed scheduled Podcast refresh.
[2012-12-16 03:00:00,477] INFO MediaScannerService - Starting to scan media library.
[2012-12-16 03:00:00,541] INFO MediaScannerService - Scanned media library with 0 entries.
[2012-12-16 03:00:00,541] INFO MediaScannerService - Marking non-present files.
[2012-12-16 03:00:00,543] INFO MediaScannerService - Marking non-present artists.
[2012-12-16 03:00:00,547] INFO MediaScannerService - Marking non-present albums.
[2012-12-16 03:00:00,569] INFO MediaScannerService - Completed media library scan.
[2012-12-16 03:00:00,586] INFO PlaylistService - Starting playlist import.
[2012-12-16 03:00:00,586] INFO PlaylistService - Completed playlist import.
[2012-12-16 03:00:00,586] INFO PlaylistService - Starting playlist statistics update.
[2012-12-16 03:00:00,587] INFO PlaylistService - Completed playlist statistics update.


Here's a recap of the issue:
http://mywebsite.com/subsonic still doesn't render anything. I believe the problem may be getting the website located in /var/www/clients/client1/web3/web to point to the Subsonic files located in /var/lib/tomcat6/webapps/subsonic.

Can someone tell me what file is the site landing page ? Perhaps it will work if I can create a symbolic link from the website to the Subsonic files.

Thanks !

Mike