Page 1 of 1

Upgrade 5.0.3630.beta5 to latest stable on QNAP

Posted: 21 Oct 2014, 16:14
by meo
Hey all - trying to update madsonic on my qnap to the most current stable release.

I attempted replacing the madsonic.war in the /share/MD0_DATA/.qpkg/Madsonic/Madsonic after stopping the service and then restarting the service to no avail.

i have tried both the WAR version - JSP precompiled (all platforms) and WAR version - JSP default (Tomcat) I did some reading and saw some mention of replacing the madsonic-booter.jar but am not able to find where to get that. Any help would be greatly appreciated.

Thank you,

meo

Re: Upgrade 5.0.3630.beta5 to latest stable on QNAP

Posted: 07 Nov 2014, 16:53
by Metzlmane
you have to use the Standalone-version

Re: Upgrade 5.0.3630.beta5 to latest stable on QNAP

Posted: 07 Nov 2014, 17:31
by meo
Metzlmane wrote:you have to use the Standalone-version
thanks @Metzlmane
unfortunately whenever I try to use the suggestion one I am met with the following page.
HTTP ERROR: 503

Problem accessing /. Reason:

Service Unavailable
Powered by Jetty://

Re: Upgrade 5.0.3630.beta5 to latest stable on QNAP

Posted: 08 Nov 2014, 12:03
by Metzlmane

Code: Select all

#!/bin/sh

###################################################################################
# Shell script for starting Madsonic.  See http://madsonic.org.
###################################################################################

MADSONIC_HOME=/share/CACHEDEV1_DATA/.qpkg/madsonic/home
MADSONIC_HOST=10.0.0.2
MADSONIC_PORT=4040
MADSONIC_HTTPS_PORT=4041
MADSONIC_CONTEXT_PATH=/
MADSONIC_INIT_MEMORY=192
MADSONIC_MAX_MEMORY=1024
MADSONIC_PIDFILE=
MADSONIC_DEFAULT_MUSIC_FOLDER=/share/CACHEDEV1_DATA/Music
MADSONIC_DEFAULT_UPLOAD_FOLDER=/share/CACHEDEV1_DATA/Public/Upload
MADSONIC_DEFAULT_PODCAST_FOLDER=/var/media/podcast
MADSONIC_DEFAULT_PLAYLIST_IMPORT_FOLDER=/share/CACHEDEV1_DATA/Music/_Playlists/import
MADSONIC_DEFAULT_PLAYLIST_EXPORT_FOLDER=/share/CACHEDEV1_DATA/Music/_Playlists/export
MADSONIC_DEFAULT_PLAYLIST_BACKUP_FOLDER=/share/CACHEDEV1_DATA/Music/_Playlists/backup
MADSONIC_DEFAULT_TIMEZONE=
quiet=0
Thats the beginning of my madsonic.sh

See if you have the set permissions for the home-folder correct.

I had several Problems .. e.g. the installed JAVA was not found so i downloaded the standalone 8.x from oracle and added it into the madsonic folder and set the path under

Code: Select all

JAVA=java
if [ -e "${JAVA_HOME}" ]
    then
    JAVA=${JAVA_HOME}/bin/java
fi

#direct:  JAVA=/share/CACHEDEV1_DATA/.qpkg/madsonic/java/bin/java
But most problems came from wrong permissions for read/write access on the home-folder