Page 1 of 1
[SOLVED] Can't start new install
Posted: 21 Dec 2016, 05:47
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:
Not running. I tried
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
Re: Can't start new install
Posted: 21 Dec 2016, 11:40
by Madsonic
hi there,
clean old install
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
Re: Can't start new install
Posted: 21 Dec 2016, 18:36
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
Re: Can't start new install
Posted: 22 Dec 2016, 02:48
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
Re: Can't start new install
Posted: 22 Dec 2016, 06:26
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
Re: Can't start new install
Posted: 22 Dec 2016, 06:58
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
Re: Can't start new install
Posted: 22 Dec 2016, 15:39
by SaltyMedic
Thank you