![]() |
|
Minimserver start process - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: General (/forumdisplay.php?fid=2) +--- Thread: Minimserver start process (/showthread.php?tid=7478) |
RE: Minimserver start process - lafuente - 03-03-2025 14:26 Thank you RE: Minimserver start process - lafuente - 05-03-2025 17:58 Hello Simon, I tried your script to use "systemd" as a launcher, but it's look like it don't operate well. I had disabled the old method (initd), then enable the "systemd" one. Without modifying the minimserver.service file I do : Code: systemctl daemon-reloadAnd I don't see Minimserver in the running services, while Minim is really running, and is displayed in "ps -aux" command. Code: root@audio-nas:~# systemctl list-units --type=service --state=runningBUT GREAT NEWS, Minimserver now operate in Full License mode and in RAM mode without any need to do tricks. No more error at startup. I added the lines I describe before in the minimserver.service file and all is good. Thank you very much. Manu RE: Minimserver start process - simoncn - 05-03-2025 20:37 (05-03-2025 17:58)lafuente Wrote: Hello Simon, If init.d is disabled, there is no difference between the old setup and the new setup. In this case, both of these automatically use systemd for startup. Quote:Without modifying the minimserver.service file I do : This is because minimserver.service is used only at system startup to start the MinimServer daemon process. After this, minimserver.service exits. You will see it if you run this command: Code: systemctl list-units --type=service --state=exitedQuote:BUT GREAT NEWS, I am pleased to hear this problem is solved. To prevent other problems, I recommend that you create a persistent symlink for the minimserver/data directory so that any changes to files in this directory while MinimServer is running are not lost when the system is rebooted. RE: Minimserver start process - simoncn - 06-03-2025 10:20 (05-03-2025 17:58)lafuente Wrote: I had disabled the old method (initd), then enable the "systemd" one. How did you do this? It seems a better approach than replacing the setup script with a new version. RE: Minimserver start process - lafuente - 06-03-2025 18:42 (06-03-2025 10:20)simoncn Wrote:(05-03-2025 17:58)lafuente Wrote: I had disabled the old method (initd), then enable the "systemd" one. With your script of course ! RE: Minimserver start process - simoncn - 07-03-2025 13:21 Thanks for clarifying. I thought you meant you had competely disabled init.d in your system. RE: Minimserver start process - lafuente - 08-03-2025 09:32 Hello Simon, (05-03-2025 20:37)simoncn Wrote: To prevent other problems, I recommend that you create a persistent symlink for the minimserver/data directory so that any changes to files in this directory while MinimServer is running are not lost when the system is rebooted. This don't operate. If I do this, I get an error when minimserver start, in the web GUI : Code: Incorrect target for symbolic link /usr/minimserver/dataWhile the symbolic link is good : Code: lrwxrwxrwx 1 root root 23 8 mars 09:19 data -> /home/minimserver/data/I can list the files in this folder from any location, using any symlink I create. If I just move files in data folder and link them each after each. At the end, at Minimserver start, some files will be created again in /minimserver/data folder, anyway (removing the symlink an create a new file in the original folder) : FIY, Manu RE: Minimserver start process - simoncn - 08-03-2025 12:27 I have tried this and I see the same error message. I will post back here when I have more information. RE: Minimserver start process - simoncn - 08-03-2025 13:02 I have found the cause of this problem. The directory /tmp/.minimserver holds cached information which becomes invalid when the MinimServer data directory is changed to a symbolic link. The solution is to stop all running instances of MinimServer and run this command: rm -rf /tmp/.minimserver This must be done after creating the symbolic link. It should not need to be done again unless you later remove the symbolic link. RE: Minimserver start process - lafuente - 13-03-2025 09:21 Hello Simon, I'm sorry to come back again about this issue, but at the end it seem to not operate. I'll post a log again soon. Thank you, Manu |