[SOLVED] Can't start new install

Need help? Post your questions here.

[SOLVED] Can't start new install

Unread postby SaltyMedic » 21 Dec 2016, 05:47

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.
SaltyMedic
 
Posts: 5
Joined: 21 Dec 2016, 05:34
Has thanked: 3 times
Been thanked: 1 time

Re: Can't start new install

Unread postby Madevil » 21 Dec 2016, 11:40

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
User avatar
Madevil
Administrator
Administrator
 
Posts: 901
Joined: 07 Dec 2012, 03:58
Has thanked: 1312 times
Been thanked: 950 times

Re: Can't start new install

Unread postby SaltyMedic » 21 Dec 2016, 18:36

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
SaltyMedic
 
Posts: 5
Joined: 21 Dec 2016, 05:34
Has thanked: 3 times
Been thanked: 1 time

Re: Can't start new install

Unread postby Madevil » 22 Dec 2016, 02:48

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
User avatar
Madevil
Administrator
Administrator
 
Posts: 901
Joined: 07 Dec 2012, 03:58
Has thanked: 1312 times
Been thanked: 950 times

Re: Can't start new install

Unread postby SaltyMedic » 22 Dec 2016, 06:26

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
SaltyMedic
 
Posts: 5
Joined: 21 Dec 2016, 05:34
Has thanked: 3 times
Been thanked: 1 time

Re: Can't start new install

Unread postby Madevil » 22 Dec 2016, 06:58

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
User avatar
Madevil
Administrator
Administrator
 
Posts: 901
Joined: 07 Dec 2012, 03:58
Has thanked: 1312 times
Been thanked: 950 times

Re: Can't start new install

Unread postby SaltyMedic » 22 Dec 2016, 15:39

Thank you
SaltyMedic
 
Posts: 5
Joined: 21 Dec 2016, 05:34
Has thanked: 3 times
Been thanked: 1 time


Return to Support 6.x

Who is online

Users browsing this forum: No registered users and 1 guest