Post Reply 
Minimserver manually stops
12-08-2024, 11:17
Post: #11
RE: Minimserver manually stops
(12-08-2024 10:54)simoncn Wrote:  The first step is to enable SSH connections on your NAS. To do this, select Control Panel in DSM and then select Terminal & SNMP and enable the SSH service.

After this, do the following if you have a Windows PC:

1) Download the putty program
2) Open a command prompt window
3) Use putty to login to the NAS with a connection type of SSH (you need to know the IP address of your NAS)
4) Enter your Synology username and password
5) Type this command exactly as shown:
tail -n 30 /var/log/packages/MinimServer.log
6) Post the output from this command here

If you have a Mac or a Linux PC, do the following:
1) Open a Terminal window
2) Type this command: ssh x.x.x.x (where x.x.x.x is the IP address of your NAS)
3) Continue from step 4) above

The output from the tail command should provide information about what is causing the problem.

When I type in my password from the terminal DSM denies me permission. I double-checked and ssh is enabled. One other thing, I have to use the full path to be able to use the ssh command (/usr/bin/ssh) - could that be a problem?
Find all posts by this user
Quote this message in a reply
12-08-2024, 11:20
Post: #12
RE: Minimserver manually stops
(12-08-2024 11:17)nigelpsmith Wrote:  
(12-08-2024 10:54)simoncn Wrote:  The first step is to enable SSH connections on your NAS. To do this, select Control Panel in DSM and then select Terminal & SNMP and enable the SSH service.

After this, do the following if you have a Windows PC:

1) Download the putty program
2) Open a command prompt window
3) Use putty to login to the NAS with a connection type of SSH (you need to know the IP address of your NAS)
4) Enter your Synology username and password
5) Type this command exactly as shown:
tail -n 30 /var/log/packages/MinimServer.log
6) Post the output from this command here

If you have a Mac or a Linux PC, do the following:
1) Open a Terminal window
2) Type this command: ssh x.x.x.x (where x.x.x.x is the IP address of your NAS)
3) Continue from step 4) above

The output from the tail command should provide information about what is causing the problem.

When I type in my password from the terminal DSM denies me permission. I double-checked and ssh is enabled. One other thing, I have to use the full path to be able to use the ssh command (/usr/bin/ssh) - could that be a problem?

Got it - I have to include my admin user name in the ssh command.
Find all posts by this user
Quote this message in a reply
12-08-2024, 11:22
Post: #13
RE: Minimserver manually stops
(12-08-2024 11:20)nigelpsmith Wrote:  
(12-08-2024 11:17)nigelpsmith Wrote:  
(12-08-2024 10:54)simoncn Wrote:  The first step is to enable SSH connections on your NAS. To do this, select Control Panel in DSM and then select Terminal & SNMP and enable the SSH service.

After this, do the following if you have a Windows PC:

1) Download the putty program
2) Open a command prompt window
3) Use putty to login to the NAS with a connection type of SSH (you need to know the IP address of your NAS)
4) Enter your Synology username and password
5) Type this command exactly as shown:
tail -n 30 /var/log/packages/MinimServer.log
6) Post the output from this command here

If you have a Mac or a Linux PC, do the following:
1) Open a Terminal window
2) Type this command: ssh x.x.x.x (where x.x.x.x is the IP address of your NAS)
3) Continue from step 4) above

The output from the tail command should provide information about what is causing the problem.

When I type in my password from the terminal DSM denies me permission. I double-checked and ssh is enabled. One other thing, I have to use the full path to be able to use the ssh command (/usr/bin/ssh) - could that be a problem?

Got it - I have to include my admin user name in the ssh command.

Here's the output:

admin@DiskStation:~$ tail -n 30 /var/log/packages/MinimServer.log
2024/08/12 08:28:15 upgrade MinimServer 2.2-7001 End /bin/mv -f /volume1/@tmp/synopkg/install.FTf6Cz/scripts /var/packages/MinimServer/scripts ret=[0]
2024/08/12 08:28:15 upgrade MinimServer 2.2-7001 Begin /bin/rm -rf /var/packages/MinimServer/WIZARD_UIFILES
2024/08/12 08:28:15 upgrade MinimServer 2.2-7001 End /bin/rm -rf /var/packages/MinimServer/WIZARD_UIFILES ret=[0]
2024/08/12 08:28:15 upgrade MinimServer 2.2-7001 Begin /bin/mv -f /volume1/@tmp/synopkg/install.FTf6Cz/WIZARD_UIFILES /var/packages/MinimServer/WIZARD_UIFILES
2024/08/12 08:28:15 upgrade MinimServer 2.2-7001 End /bin/mv -f /volume1/@tmp/synopkg/install.FTf6Cz/WIZARD_UIFILES /var/packages/MinimServer/WIZARD_UIFILES ret=[0]
2024/08/12 08:28:15 upgrade MinimServer 2.2-7001 Begin /bin/rm -rf /var/packages/MinimServer/conf
2024/08/12 08:28:15 upgrade MinimServer 2.2-7001 End /bin/rm -rf /var/packages/MinimServer/conf ret=[0]
2024/08/12 08:28:15 upgrade MinimServer 2.2-7001 Begin /bin/mv -f /volume1/@tmp/synopkg/install.FTf6Cz/conf /var/packages/MinimServer/conf
2024/08/12 08:28:15 upgrade MinimServer 2.2-7001 End /bin/mv -f /volume1/@tmp/synopkg/install.FTf6Cz/conf /var/packages/MinimServer/conf ret=[0]
2024/08/12 08:28:20 upgrade MinimServer 2.2-7001 Begin postinst
mkdir: cannot create directory '/volume1/MinimServer/appData': Permission denied
mkdir: cannot create directory '/volume1/MinimServer/etc': Permission denied
2024/08/12 08:28:20 upgrade MinimServer 2.2-7001 End postinst ret=[0]
2024/08/12 08:28:20 upgrade MinimServer 2.2-7001 Begin postupgrade
cp: preserving times for '/volume1/MinimServer/opt/bin': Operation not permitted
cp: preserving times for '/volume1/MinimServer/opt': Operation not permitted
rm: cannot remove '/volume1/@tmp/minimtmp/opt/bin': Permission denied
2024/08/12 08:28:20 upgrade MinimServer 2.2-7001 End postupgrade ret=[0]
2024/08/12 08:28:21 upgrade MinimServer 2.2-7001 Begin start-stop-status start
mkdir: cannot create directory ‘/volume1/MinimServer/appData’: Permission denied
/volume1/@appstore/MinimServer/minim.sh: line 26: cd: /volume1/MinimServer/appData: No such file or directory
/volume1/@appstore/MinimServer/minim.sh: line 46: /volume1/MinimServer/appData/minimserver-out.log: No such file or directory
2024/08/12 08:28:36 upgrade MinimServer 2.2-7001 End start-stop-status start ret=[0]
2024/08/12 08:28:54 start MinimServer 2.2-7001 Begin start-stop-status stop
2024/08/12 08:28:54 start MinimServer 2.2-7001 End start-stop-status stop ret=[0]
2024/08/12 08:28:57 start MinimServer 2.2-7001 Begin start-stop-status start
mkdir: cannot create directory ‘/volume1/MinimServer/appData’: Permission denied
/volume1/@appstore/MinimServer/minim.sh: line 26: cd: /volume1/MinimServer/appData: No such file or directory
/volume1/@appstore/MinimServer/minim.sh: line 46: /volume1/MinimServer/appData/minimserver-out.log: No such file or directory
2024/08/12 08:29:12 start MinimServer 2.2-7001 End start-stop-status start ret=[0]
Find all posts by this user
Quote this message in a reply
12-08-2024, 13:29
Post: #14
RE: Minimserver manually stops
These log messages show that there is a permissions problem with the MinimServer shared folder that is preventing the MinimServer installer from completing the MinimServer installation and starting MinimServer.

The simplest and safest solution is to do the following:
1) From Package Center, uninstall MinimServer and select the option to remove MinimServer completely
2) If this has not deleted the MinimServer shared folder, delete it using Control Panel > Shared Folder
3) Reinstall MinimServer
4) Reapply your MinimServer configuration settings
Find all posts by this user
Quote this message in a reply
12-08-2024, 13:46
Post: #15
RE: Minimserver manually stops
(12-08-2024 13:29)simoncn Wrote:  These log messages show that there is a permissions problem with the MinimServer shared folder that is preventing the MinimServer installer from completing the MinimServer installation and starting MinimServer.

The simplest and safest solution is to do the following:
1) From Package Center, uninstall MinimServer and select the option to remove MinimServer completely
2) If this has not deleted the MinimServer shared folder, delete it using Control Panel > Shared Folder
3) Reinstall MinimServer
4) Reapply your MinimServer configuration settings

Hi Simon,
I did what you suggested and so far it's looking good. Minim is scanning my music library as I write. I'll give you an update later today. Thanks for all your help!
Find all posts by this user
Quote this message in a reply
13-08-2024, 08:11
Post: #16
RE: Minimserver manually stops
All still up and running. Looks like a permanent fix...
Find all posts by this user
Quote this message in a reply
13-08-2024, 10:13
Post: #17
RE: Minimserver manually stops
Thanks for confirming. I suspect this was caused by upgrading from DSM 6 to DSM 7. It shouldn't happen again.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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