Subsonic 4.7 Clean Install problems

Need help? Post your questions here.

Moderator: moderators

Subsonic 4.7 Clean Install problems

Postby GH0 » Sat Feb 23, 2013 3:14 am

So initially this all stemmed from installing MusicCabinet, which I am in touch with the dev on another site trying to fix those problems.

OS: Ubuntu 12.04/12.10 (whatever the latest one is)
Subsonic Version: 4.7

Anyways, due to the problems, I thought it would be better to start over with subsonic. So I did the following commands:
sudo service subsonic stop
sudo dpkg -P subsonic
sudo rm --force --recursive --verbose /var/subsonic/
sudo rm --force --recursive --verbose /root/subsonic
sudo rm --force --verbose /etc/default/subsonic
sudo ps aux | grep subsonic
sudo ps aux | grep musiccabinet

This should clear out ALL subsonic files that I am aware of, and I didn't receive anything back from doing ps aux, so I thought all was well.

I went to reinstall subsonic using this command:

sudo dpkg -i subonic-4.7.deb

I then tried to browse to subsonic using http://server:4040 and nothing was responding.
I double checked my config file:
andrew@server:~/Downloads$ cat /etc/default/subsonic
#
# This is the configuration file for the Subsonic service
# (/etc/init.d/subsonic)
#
# To change the startup parameters of Subsonic, modify
# the SUBSONIC_ARGS variable below.
#
# Type "subsonic --help" on the command line to read an
# explanation of the different options.
#
# For example, to specify that Subsonic should use port 80 (for http)
# and 443 (for https), and use a Java memory heap size of 200 MB, use
# the following:
#
# SUBSONIC_ARGS="--port=80 --https-port=443 --max-memory=200"

SUBSONIC_ARGS="--max-memory=150"


# The user which should run the Subsonic 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.

SUBSONIC_USER=root


However, when I login (if I can login) all my files seem to be intact, or I get to the point that I can't login at all because it won't accept username = "admin" and password = "admin", or my old username and password.

This happens EVERY SINGLE TIME. I am getting frustrated because I am under the impression that I am stopping all files. I even did a ps aux for java, and that returned 0 results when it was uninstalled.

I don't know what else to do to make it a clean install or how to stop this behaviour. WHAT THE HELL is going on.

Sorry for all caps but this is REALLY frustrating me.
GH0
 
Posts: 45
Joined: Sun Dec 18, 2011 6:44 pm

Re: Subsonic 4.7 Clean Install problems

Postby alphawave7 » Sat Feb 23, 2013 4:24 am

Ubuntu newb myself, but according to our wiki:

http://sourceforge.net/apps/mediawiki/s ... n_prebuilt

Stop subsonic service: sudo service subsonic stop
Uninstall: sudo dpkg -r

edit: after a bit of googling, I found this:
"Uninstalling packages using dpkg, in most cases, is NOT recommended. It is better to use a package manager that handles dependencies, to ensure that the system is in a consistent state. For example using dpkg -r you can remove the zip package, but any packages that depend on it will still be installed and may no longer function correctly."
alphawave7
 
Posts: 1042
Joined: Thu Feb 11, 2010 9:54 am

Re: Subsonic 4.7 Clean Install problems

Postby GH0 » Sat Feb 23, 2013 6:17 am

Well it doesn't matter, because now, I am officially locked out of my accounts. Again.

Is there any way to reset the password outside of the web interface? Either for the admin account or for any other account?

I tried using the "reset password" link, except every time I try to send it, it says it failed and to try again later.
GH0
 
Posts: 45
Joined: Sun Dec 18, 2011 6:44 pm

Re: Subsonic 4.7 Clean Install problems

Postby hakko » Sat Feb 23, 2013 8:31 am

Do you have any files left in the directory you pass as -Dsubsonic.home (usually /var/subsonic I believe) in the startup script? When installing MusicCabinet, it overwrites your previous clear-text passwords (that's how default Subsonic stores them) with salted hash sums to make the storage safer. So if you don't remove your settings and go back from MC to vanilla SS, it'll try to interpret those hash sums as clear text passwords and you won't be able to log in. That's why the first installation step is to make a backup. And it sounds like you're not doing a clean install after all.
MusicCabinet developer
hakko
 
Posts: 1416
Joined: Tue Apr 17, 2012 7:05 pm
Location: Sweden


Return to Help

Who is online

Users browsing this forum: No registered users and 6 guests