MinimServer Forum
DSM7, Java and MinimServer - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: DSM7, Java and MinimServer (/showthread.php?tid=6290)

Pages: 1 2 3


RE: DSM7, Java and MinimServer - woldejans - 09-08-2021 21:09

Hello Simon,

None of these steps. The installation gave no errors. Minimserver is started, but in the Minimserver Configuration screen the next is displayed.

Media server status for MinimServer[MyDiskStation]: Error Refresh status
This page was last updated at 22:04:09 on 09 Aug 2021
Error listing profile files




I stopped and restarted Minimserver: no difference

This is the log file:

MinimServer 2.0.18 update 195, Copyright © 2012-2021 Simon Nash. All rights reserved.
OpenJDK Runtime Environment (build 14.0.1+7)
OpenJDK 64-Bit Server VM (build 14.0.1+7, mixed mode)
Platform default charset is UTF-8
System platform is linux-x64
Error listing profile files
Error listing profile files
Setting language to Dutch (nl)
Setting indexArtwork to all
Removing artworkFolder setting
Error listing profile files
Removing custom language setting
Removing indexArtwork setting
Error listing profile files
Error listing profile files
Error listing profile files
Error listing profile files
Error listing profile files


RE: DSM7, Java and MinimServer - simoncn - 10-08-2021 10:19

This might be caused by a file permissions problem. On DSM 6, MinimServer runs as the root user. On DSM 7, packages are required to run as a non-root user. If MinimServer on DSM 7 is trying to access a file or folder created by the root user on DSM 6, you could get this error message.

To check this, do the following:

1) In DSM, open File Station
2) Select the MinimServer shared folder
3) In the "3 dots" menu at the top right, enable Privilege, Owner and Group
4) Do you see a folder named 'profiles' in the list of folders? If so, what values do you see for the 'profiles' folder as Privilege, Owner and Group? You might need to stretch the File Station window to see these values.

Edit: Please also check the values for Privilege, Owner and Group for the appData folder under the MinimServer folder.


RE: DSM7, Java and MinimServer - woldejans - 10-08-2021 10:59

Hello Simon,

Here are the asked values:

AppData: Privilege [rwx----], Owner [MinimServer], Group [MinimServer]
Profiles: Privilege [------], Owner [root], Group [root]

Looks like I have to change something?


RE: DSM7, Java and MinimServer - simoncn - 10-08-2021 12:22

These settings don't explain the error message you are seeing. If you right-click the appData folder, are there any strange Privilege or Owner settings for files in this folder? On my DSM 7 system, these files all have owner MinimServer and either rwx------ or rw-r--r-- for Privilege.


RE: DSM7, Java and MinimServer - woldejans - 10-08-2021 12:39

The files have all the same privilege: rw-r--r-- and owner MinimServer
The default.profile file in the Profiles folder: privilege rwx, owner [myself] and Group users


RE: DSM7, Java and MinimServer - simoncn - 10-08-2021 14:52

Thanks for this. I have done some further checking and the error message is caused by the privilege settings for the profiles folder. This should be owned by MinimServer and have privilege [rwxr-xr-x].

I haven't found a way in File Station to change ownership from root to MinimServer but you should be able to use File Station to give the MinimServer user read/write access to the profiles folder. Right-click the profiles folder and select Properties, then Permission, then Create. In 'User or group', select MinimServer, then check all the boxes under Permission (13 in all), then click Done, then click Save. After this, restart MinimServer.


RE: DSM7, Java and MinimServer - woldejans - 10-08-2021 16:08

Simon, I followed your clear instructions and IT WORKS. Thanks for that. The profile folder still shows 'root' as owner and group, but apparently giving the read/write access is doing the trick.


RE: DSM7, Java and MinimServer - simoncn - 10-08-2021 22:21

Thanks for confirming this. Also, my apologies that this migration has been so difficult. A number of decisions made by Synology when developing DSM 7 have created a situation where providing a simple and seamless migration path for MinimServer users seems to be somewhere between very difficult and impossible. I will use this new information from your experience to see what I can do to make this migration simpler for other users who haven't yet moved from DSM 6 to DSM 7.


RE: DSM7, Java and MinimServer - lyapounov - 11-08-2021 17:09

Actually what I had to do is:

- config panel then shared folder
- then click on Minimserver, then Edit
- then permissions
- then on the left click on the selector to get internal system's user

Minimserver is on this list, check that it has read/write ticked


RE: DSM7, Java and MinimServer - simoncn - 11-08-2021 20:09

Thanks for this alternative solution. It sets permissions for the shared folder as a whole, rather than an individual subfolder.

When I try this, I see MinimServer is ticked for read/write. What did you see for this setting after you first installed MinimServer on DSM 7?