Upgrade 5.0.3630.beta5 to latest stable on QNAP

Need help? Post your questions here.
meo
Posts: 2
Joined: 25 Mar 2014, 14:36
Has thanked: 0
Been thanked: 0

Upgrade 5.0.3630.beta5 to latest stable on QNAP

Unread post 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
Metzlmane
Posts: 21
Joined: 09 Aug 2013, 16:55
Has thanked: 14 times
Been thanked: 7 times

Re: Upgrade 5.0.3630.beta5 to latest stable on QNAP

Unread post by Metzlmane »

you have to use the Standalone-version
meo
Posts: 2
Joined: 25 Mar 2014, 14:36
Has thanked: 0
Been thanked: 0

Re: Upgrade 5.0.3630.beta5 to latest stable on QNAP

Unread post 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://
Metzlmane
Posts: 21
Joined: 09 Aug 2013, 16:55
Has thanked: 14 times
Been thanked: 7 times

Re: Upgrade 5.0.3630.beta5 to latest stable on QNAP

Unread post 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
Post Reply