[SOLVED] Can't start new install

Need help? Post your questions here.
SaltyMedic
Posts: 10
Joined: 21 Dec 2016, 05:34
Has thanked: 3 times
Been thanked: 2 times

[SOLVED] Can't start new install

Unread post by SaltyMedic »

Coming from Subsonic 5.3 on Ubuntu 14.04

I stopped Subsonic and installed madsonic using

Code: Select all

sudo dpkg -i 20160915_madsonic-6.1.8700.deb
I checked the service status using:

Code: Select all

sudo service madsonic status
Not running. I tried

Code: Select all

sudo service madsonic start
Still won't start. It says:

Code: Select all

error: list of process IDs must follow -p
With a long list of the -- options. Do I need to add something to madsonic.sh? I assumed it would just run the first time

Thanks

Jason
Last edited by SaltyMedic on 22 Dec 2016, 19:28, edited 1 time in total.
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Can't start new install

Unread post by Madsonic »

hi there,

clean old install

Code: Select all

#sudo apt-get remove madsonic
and retry with latest deb installer 6.2.9040

Download: http://beta.madsonic.org/pages/download62.jsp

Infos: http://beta.madsonic.org/pages/installation.jsp#debian

Best regards
SaltyMedic
Posts: 10
Joined: 21 Dec 2016, 05:34
Has thanked: 3 times
Been thanked: 2 times

Re: Can't start new install

Unread post by SaltyMedic »

Thanks for the reply

I removed the old install and put in the beta verson. It is still not starting. I also don't see any log that is being generated

Jason
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Can't start new install

Unread post by Madsonic »

Code: Select all

=========================================================================================
 VERSION:      MADSONIC 6.2 | BUILD: 9040
 SERVLET:      JETTY
 SERVER:       CPU: ICORE7 | ARCH: X64 | MEMORY: 32GB | HDD: 2TB
 OS:           UBUNTU 16.04.1 
 SYSTEM:       SERVER 
 INSTALLER:    DEB
 JAVA:         ORACLE JDK 1.8 
 BROWSER:      CHROME 44 | FIREFOX 39 | SAFARI 9 | OTHER
 DESCRIPTION:  DEFAULT INSTALL 
 REPRODUCIBLE: NO
=========================================================================================
Hi there,

A basic Madsonic 6.2 installation on Ubuntu 16.04.1

Code: Select all

sudo -i

apt-get update
apt-get upgrade
apt-get clean

add-apt-repository ppa:webupd8team/java
apt-get update 

apt-get install oracle-java8-installer
apt-get install oracle-java8-set-default

java -version

rm -R /var/madsonic
rm -R /usr/share/madsonic

mkdir /var/media/
mkdir /var/media/artists
mkdir /var/media/compilations

mkdir /var/media/playlists
mkdir /var/media/playlists/import
mkdir /var/media/playlists/export
mkdir /var/media/playlists/backup

mkdir /var/media/incoming
mkdir /var/media/podcast
mkdir /var/media/movies
mkdir /var/media/series
mkdir /var/media/videos
mkdir /var/media/tv

chmod 777 -R /var/media

wget -O /tmp/madsonic.deb http://madsonic.org/download/6.2/20161208_madsonic-6.2.9040.deb
dpgk -i /tmp/madsonic.deb

rm /tmp/madsonic.deb

nano /etc/default/madsonic

service madsonic start
service madsonic status

cat /var/madsonic/madsonic_sh.log
cat /var/madsonic/madsonic.log

firefox http://localhost:4040
ubuntu.png
These users thanked the author Madsonic for the post:
SaltyMedic
Rating: 7.69%
SaltyMedic
Posts: 10
Joined: 21 Dec 2016, 05:34
Has thanked: 3 times
Been thanked: 2 times

Re: Can't start new install

Unread post by SaltyMedic »

Thank you

I think not having the latest java version was my issue

I wanted to change my port but:

/etc/default/madsonic

is empty. Shouldn't there be something there?

Jason
These users thanked the author SaltyMedic for the post:
Madsonic
Rating: 7.69%
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Can't start new install

Unread post by Madsonic »

the default value:

etc/default/madsonic

Code: Select all

#
# This is the configuration file for the Madsonic service
# (/etc/init.d/madsonic)
#
# To change the startup parameters of Madsonic, modify
# the MADSONIC_ARGS variable below.
#
# Type "/usr/share/madsonic/madsonic.sh --help" on the command line to read an
# explanation of the different options.
#
# For example, to specify that Madsonic should use port 80 (for http)
# and 443 (for https), and use a Java init memory heap size of 192 MB,
# and use a Java max memory heap size of 384 MB
# use the following:
#
# MADSONIC_ARGS="--port=80 --https-port=443 --init-memory=192 --max-memory=384"

MADSONIC_ARGS="--init-memory=256 --max-memory=512"


# The user which should run the Madsonic process. Default "root".
# Note that non-root users are by default not allowed to use ports
# below 1024. Also make sure to grant the user write permissions in
# the music directories, otherwise changing album art and tags will fail.

MADSONIC_USER=root
These users thanked the author Madsonic for the post:
SaltyMedic
Rating: 7.69%
SaltyMedic
Posts: 10
Joined: 21 Dec 2016, 05:34
Has thanked: 3 times
Been thanked: 2 times

Re: Can't start new install

Unread post by SaltyMedic »

Thank you
Post Reply