INFO
WARNING
1.st make a backup of your whole Subsonic folder, to go back if something goes wrong !!!
INSTALL/UPGRADE INFO
You should only need the installation packages, no other installations or workarounds are needed!
Since Beta the Upgrade works much better, the Installer also make a Backup from the DB folder,
but i still recommend a installation from Scratch!
Since Build 3120 Upgrade from Subsonic 4.6, 4.7 supported
5 quick steps to upgrade
- stop Madsonic script/service
- replace madsonic.war & madsonic-booter.jar
- clean browser caches
- restart madsonic
- rescan files
WINDOWS
- [1] just use the installer to install or upgrade your installation.
TOMCAT
- [1] remove old war
[2] delete work folder
[3] redeploy new war file
LINUX
[FAQ] Update madsonic with a war package on debian linux
[Script] Upgrade madsonic on debian linux
Short Instruction for new/existing Ubuntu/Fedora installation:
- [1] Fresh Ubuntu/Fedora Install
[2] Install Java 1.7 JRE/JDK (sudo apt-get install openjdk-7-jdk)
[3] Config current JRE/JDK to 1.7 with:
[#] sudo update-alternatives --config javac
[#] sudo update-alternatives --config java
[4] check config with
[#] javac -version
[1] Start Firefox -> Check Java Version -> browse -> http://javatester.org
[6] Install Adobe Flash Player
[7] Uninstall all current subsonic/madsonic version
[8] If exist delete folder /var/subsonic or /var/madsonic
[9] Create /var/media folder
[10] Put Content into /var/media
[11] Install the madsonic Server deb/rpm)
[12] Check if Service is running
[#] sudo service madsonic start
[13] Start Firefox -> browse -> http://localhost:4040
14. Config subsonic via Webpage
15. Done!
linux Defaults
/var/madsonic --> user db, settings, logs
/usr/share/madsonic --> madsonic.war, madsonic-booter.jar, madsonic.sh
/etc/int.d --> madsonic daemon (script)
/etc/default --> madsonic daemon (settings)
Complete Cleanup from Scratch
- stop madsonic server
- uninstall madsonic
- delete folder c:\madsonic or /var/madsonic
- cleanup all Browser Caches
- cleanup all temp files
Conversion guide from older windows build version < 3630
- stop madsonic server
- make backup of c:\subsonic folder
- uninstall older madonic version
- install new madsonic version
- stop service
- copy back the db folder back from your madsonic backup
- copy back the subsonic.properties file and rename it to madsonic.properties
- start service
- check user, settings, mediafolders
- make full scan
- finished, now all your old config should be back!
Conversion guide from older linux build version < 3630
- stop madsonic daemon
- make backup of /var/subsonic folder
- uninstall older madonic version
- install new madsonic version
- stop daemon
- copy back the db folder back from your madsonic backup into /var/madsonic
- copy back the subsonic.properties file into /var/madsonic/ and rename it to madsonic.properties
- start daemon
- check user, settings, mediafolders
- make full scan
- finished, now all your old config should be back!
Data Migration guide from older version
- 01. stop madsonic service
02. backup! (zip or copy) your old subsonic/madsonic installation (in your case c:\subsonic) !!!
03. move your backup to a save place
04. uninstall all Madsonic installation
05. delete all old traces -> (c:\subsonic, c:\madsonic, c:\supersonic and \var\subsonic, \var\madsonic, \var\supersonic)
06. make a new madsonic installation
07. after installation the service will automatically start (new DB will created)
08. stop madsonic service
09. delete DB folder again (in your case c:\madsonic\db or \var\madsonic\db)
10. delete settings file (madsonic.properties)
11. copy your backup (DB folder and subsonic.properties only!) into your madsonic installation folder (c:\madsonic\)
12. rename subsonic.properties to madsonic.properties
13. restart Madsonic service
14. Madsonic detect automatically the db version and will upgrade to newest Madsonic db structure layout
15. possibly it can't hurt to go through all your settings and even press the save button on every settings page
16. make a Full Scan Mediascan
17. hopefully all is done