Upgrade 5.0.3630.beta5 to latest stable on QNAP

Need help? Post your questions here.

Upgrade 5.0.3630.beta5 to latest stable on QNAP

Unread postby meo » 21 Oct 2014, 16:14

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
meo
 
Posts: 2
Joined: 25 Mar 2014, 14:36
Has thanked: 0 time
Been thanked: 0 time

Re: Upgrade 5.0.3630.beta5 to latest stable on QNAP

Unread postby Metzlmane » 07 Nov 2014, 16:53

you have to use the Standalone-version
Metzlmane
 
Posts: 21
Joined: 09 Aug 2013, 16:55
Has thanked: 23 times
Been thanked: 9 times

Re: Upgrade 5.0.3630.beta5 to latest stable on QNAP

Unread postby meo » 07 Nov 2014, 17:31

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://
meo
 
Posts: 2
Joined: 25 Mar 2014, 14:36
Has thanked: 0 time
Been thanked: 0 time

Re: Upgrade 5.0.3630.beta5 to latest stable on QNAP

Unread postby Metzlmane » 08 Nov 2014, 12:03

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


Return to Support 5.x

Who is online

Users browsing this forum: No registered users and 1 guest

cron