Post Reply 
Shuts down on startup
05-06-2022, 20:57
Post: #21
RE: Shuts down on startup
Simon,
I guess that we are joined by something other than a love for classical music!

Hoping to provide more grist for your mill, I ran the command string in your just previous post and received:

mikemcone@Salle_Favart:~$ ls -l /volume1
total 564
-rw------- 1 root root 575914 Dec 20 2020 @afpd.core.gz
drwxr-xr-x 1 root root 22 May 19 16:48 @appconf
drwxr-xr-x 1 root root 22 May 19 16:48 @appdata
drwxr-xr-x 1 root root 22 May 19 16:48 @apphome
drwxr-xr-x 1 root root 22 May 27 17:28 @appstore
drwxr-xr-x 1 root root 22 May 27 17:28 @apptemp
drwx------ 1 root root 0 May 19 14:45 @autoupdate
drwxr-xr-x 1 admin users 136 May 19 14:28 @database
drwxrwxrwx+ 1 root root 106 May 26 18:12 @eaDir
drwxrwxrwx+ 1 root root 40 Nov 4 2021 homes
drwxrwxrwx+ 1 root root 56 May 27 13:09 MinimServer
drwxr-xr-x 1 root root 88 Dec 31 1999 @S2S
drwxrwxrwx+ 1 root root 288 Jun 5 10:00 Salle_Favart
drwxr-xr-x 1 root root 0 Jun 5 13:15 @synoconfd
drwxr-xr-x 1 SynoFinder SynoFinder 26 Mar 30 2021 @SynoFinder-etc-volume
drwxr-xr-x 1 root root 84 Sep 18 2019 @SynoFinder-log
drwxrwxrwt 1 root root 34 Dec 31 1999 @tmp
drwxr-xr-x 1 root root 12 Sep 18 2019 @USBCopy
drwxr-xr-x 1 root root 102 May 26 18:12 @userpreference

I have another Synology NAS running Minimserver with no problems. It is a DS 716+ with an Intel Celeron N3150 processor. The NAS that's having the problem has an Intel Celeron J3455. The second is quite a bit newer. Both are running the same version of DSM.
Find all posts by this user
Quote this message in a reply
08-06-2022, 13:40
Post: #22
RE: Shuts down on startup
My apologies for taking so long to respond. The first step is to fix the permissions on the directories in /volume1/MinimServer. To do this, run the following command:

sudo chmod 755 /volume1/MinimServer/appData

You will be prompted to enter your Synology password. After this, run the following two commands:

sudo chmod 755 /volume1/MinimServer/etc
sudo chmod 755 /volume1/MinimServer/opt

This will enable you to list the contents of these directories. This was previously not possible because of the incorrect permissions. Please run the following commands:

ls -l /volume1/MinimServer/appData
ls -l /volume1/MinimServer/etc
ls -l /volume1/MinimServer/opt

and send me the output.

After this, try starting MinimServer. The changes you have just made might be sufficient to get MinimServer to run.
Find all posts by this user
Quote this message in a reply
08-06-2022, 15:48
Post: #23
RE: Shuts down on startup
Simon,

Apologies are hardly necessary. My thanks are, but not apologies, certainly!

First command response:

~$ ls -l /volume1/MinimServer/appData
total 36044
-rw-r--r-- 1 MinimServer MinimServer 36640320 May 18 16:14 'Audio Files-2.mcache'
-rw-r--r-- 1 MinimServer MinimServer 89000 May 18 16:14 'Cross Reference Files-1.mcache'
-rw-r--r-- 1 MinimServer MinimServer 444 May 19 14:24 default.profile
-rw-r--r-- 1 MinimServer MinimServer 444 May 19 14:23 default.profile.save
-rw-r--r-- 1 MinimServer MinimServer 1227 May 18 16:14 'Internet Streams-1.mcache'
-rw-r--r-- 1 MinimServer MinimServer 1243 Jan 23 11:43 'Internet Streams for Auralic-2.mcache'
-rw-r--r-- 1 MinimServer MinimServer 866 May 19 14:24 minimserver.config
--w------- 1 MinimServer MinimServer 0 Sep 19 2019 minimserver.config.lock
-rw-r--r-- 1 MinimServer MinimServer 891 May 19 14:24 minimserver.config.save
-rw-r--r-- 1 MinimServer MinimServer 129 May 19 14:23 minimserver.license
-rw-r--r-- 1 MinimServer MinimServer 1824 May 19 14:24 minimserver.log
-rw-r--r-- 1 MinimServer MinimServer 550 May 19 14:24 minimserver-out.log
-rw-r--r-- 1 MinimServer MinimServer 129 May 19 14:23 minimserver-starter.license
-rw-r--r-- 1 MinimServer MinimServer 132593 May 18 16:14 Playlists-2.mcache
--w------- 1 MinimServer MinimServer 0 Sep 14 2020 startup.log

Second command response:

ls -l /volume1/MinimServer/etc
total 28
d-w------- 1 MinimServer MinimServer 30 May 19 14:24 profiles
--w------- 1 MinimServer MinimServer 1612 May 17 20:52 ServerBundle_de.defaults
--w------- 1 MinimServer MinimServer 1185 May 17 20:52 ServerBundle_en.defaults
--w------- 1 MinimServer MinimServer 1631 May 17 20:52 ServerBundle_fr.defaults
--w------- 1 MinimServer MinimServer 1697 May 17 20:52 ServerBundle_ja.defaults
--w------- 1 MinimServer MinimServer 1606 May 17 20:52 ServerBundle_nl.defaults
--w------- 1 MinimServer MinimServer 1550 May 17 20:52 ServerBundle_zh_Hans.defaults
--w------- 1 MinimServer MinimServer 1556 May 17 20:52 ServerBundle_zh_Hant.defaults

Third command response:

ls -l /volume1/MinimServer/opt
total 0

I then tried to run MinimServer. It stopped and when I looked at it in the Package Center it showed two choices on the pull-down menu: Uninstall and Repair.

Hope this helps.
d-w------- 1 MinimServer MinimServer 0 Sep 19 2019 bin
Find all posts by this user
Quote this message in a reply
08-06-2022, 16:27
Post: #24
RE: Shuts down on startup
Thanks for this. We are making progress but not quite there yet. A few of these files and directories have incorrect permissions. Please run the following commands:

sudo rm /volume1/MinimServer/appData/startup.log
sudo chmod 777 /volume1/MinimServer/appData/minimserver.config.lock
sudo chmod 755 /volume1/MinimServer/etc/profiles
sudo chmod 644 /volume1/MinimServer/etc/*.defaults
sudo chmod 755 /volume1/MinimServer/opt/bin

After this, there is one more level of checking needed. Please run the following commands and post the output.

ls -l /volume1/MinimServer/etc/profiles
ls -l /volume1/MinimServer/opt/bin
Find all posts by this user
Quote this message in a reply
08-06-2022, 16:35
Post: #25
RE: Shuts down on startup
Thanks for the prompt reply!

The two commands and the responses:

mikemcone@Salle_Favart:~$ ls -l /volume1/MinimServer/etc/profiles
total 4
-rw-r--r-- 1 MinimServer MinimServer 444 May 19 14:24 default.profile
mikemcone@Salle_Favart:~$ ls -l /volume1/MinimServer/opt/bin
total 0
Find all posts by this user
Quote this message in a reply
08-06-2022, 17:07
Post: #26
RE: Shuts down on startup
This looks good. I think all the files have correct permissions now. I suggest you select Repair from the Package Center and see what happens next.
Find all posts by this user
Quote this message in a reply
08-06-2022, 17:46
Post: #27
RE: Shuts down on startup
You FIXED IT!!!!!!!!

THANK YOU.

My hat's off to you. Music has returned to my life.
Find all posts by this user
Quote this message in a reply
08-06-2022, 18:06
Post: #28
RE: Shuts down on startup
i am very pleased to hear this. I have no idea what caused these files to have incorrect permissions. Perhaps something strange happened when you updated from DSM 6 to DSM 7. I will think about what I can do to make this simpler for any other users who might encounter this problem.
Find all posts by this user
Quote this message in a reply
18-06-2022, 10:09 (This post was last modified: 18-06-2022 10:09 by simoncn.)
Post: #29
RE: Shuts down on startup
I have made a change in MinimServer 2.1.2-2103 for DSM 7 that should automatically fix these incorrect permissions when it is installed.

Anyone who already has MinimServer 2.1.2-2102 installed on DSM 7 and running correctly doesn't need to update to MinimServer 2.1.2-2103.
Find all posts by this user
Quote this message in a reply
20-06-2022, 08:52
Post: #30
RE: Shuts down on startup
I'm not sure wether this issue belongs here, but in my case since updating to DSM7 the time from booting up until MinimServer is started seems too short to finalize all required prerequisites. As a result MinimServer doesn't start correctly and the DSM shows it's "Repair"-Button. But waiting a few seconds seems to cure all problems.

Therefore I provisionally added a "sleep 60" to the "start-stop-status"-script and everythings works flawlessy.

Maybe I should mention that I have only a limited numer of packages running. Most processes are dockerized . Many default packages like Universal Search, Active Insight, Hybrid Share etc. are removed making booting much faster than usual.

I don't know which prerequisite is missing to start Minimserver, but perhaps it is possible to check for all requirements to be available in the start script.

Attached you'll find the status report for a failed and a successful start.

Thanx for this helpful piece of software.


Attached File(s)
.txt  MinimServer.failed.txt (Size: 818 bytes / Downloads: 3)
.txt  MinimServer.working.txt (Size: 840 bytes / Downloads: 3)
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)