They delete configurations are after Reboot the Server

Post your Server Bug Report

They delete configurations are after Reboot the Server

Unread postby luisarcia » 09 Apr 2015, 01:27

I have a problem with Madsonic , I have a QNAP that I installed tomcat, then install the Madsonic I set it up .

My server has an off time and encedido function to save energy, Madsonic is running, when you restart the server and access to Madsonic , all settings are reset , including the administrator password changed again make the password defect.

Can I get help ?

The program is very good but I found the problem. :?: :(
luisarcia
 
Posts: 1
Joined: 07 Apr 2015, 05:04
Has thanked: 0 time
Been thanked: 0 time

Re: They delete configurations are after Reboot the Server

Unread postby DoCC » 13 Apr 2015, 06:05

???
User avatar
DoCC
Contributor
Contributor
 
Posts: 210
Joined: 25 Feb 2014, 14:41
Location: UpperBavaria : ))
Has thanked: 41 times
Been thanked: 71 times

Re: They delete configurations are after Reboot the Server

Unread postby Bever » 11 May 2015, 10:37

Hi

I have a Asustor NAS, but this is basic unix and should work on your NAS.

Have a look at this post:

Cant post links, but you can go to the asustor forum and search for madsonic. The thread is named "
[HowTo] Install Tomcat & Madsonic. A free Subsonic"
(Red. http://forum.asustor.com/viewtopic.php? ... onic#p5245)

1. Basic, what you need to do is set up the server, and copy your madsonic directory to a place that wont be deleted on reboot.
2. Make a small script with a symbolic link that is activated before Tomcat start on boot. My tiny script look like this:

Code: Select all
#!/bin/sh
ln -s /volume1/Tomcat/madsonic-tomcat/madsonic /var


On my NAS Madsonic use /var/madsonic for settings. My problem, and probably yours, is that my NAS deletes /var on every reboot. What this tiny script does is linking my backup at "/volume1/Tomcat/madsonic-tomcat/madsonic " to "/var" before Tomcat and Madsonic start up. When Madsonic start up it find the old diretory linked at /var/madsonic, and it wont create a new one, thus keeping your settings. Every change you do to your Madsonic will be saved at /var/madsonic, but linked to "/volume1/Tomcat/madsonic-tomcat/madsonic". On every reboot it will be linked back to /var/madsonic and your setting will be "restored".
It's very important that the symbolic link is created before madsonic start up!
Look into your NAS documentation for a way to do this.

Sorry for my English.. :)

Good luck.

Bever
Bever
 
Posts: 1
Joined: 10 May 2015, 14:20
Has thanked: 0 time
Been thanked: 0 time

Re: They delete configurations are after Reboot the Server

Unread postby addseo1115 » 12 Jun 2015, 05:19

That is good sugestions. :thumbsup:
addseo1115
 


Return to Bug Reports 5.x

Who is online

Users browsing this forum: No registered users and 2 guests

cron