Post Reply 
DSM7, Java and MinimServer
09-08-2021, 21:09
Post: #11
RE: DSM7, Java and MinimServer
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
Find all posts by this user
Quote this message in a reply
10-08-2021, 10:19 (This post was last modified: 10-08-2021 10:27 by simoncn.)
Post: #12
RE: DSM7, Java and MinimServer
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.
Find all posts by this user
Quote this message in a reply
10-08-2021, 10:59
Post: #13
RE: DSM7, Java and MinimServer
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?
Find all posts by this user
Quote this message in a reply
10-08-2021, 12:22
Post: #14
RE: DSM7, Java and MinimServer
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.
Find all posts by this user
Quote this message in a reply
10-08-2021, 12:39 (This post was last modified: 10-08-2021 12:53 by woldejans.)
Post: #15
RE: DSM7, Java and MinimServer
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
Find all posts by this user
Quote this message in a reply
10-08-2021, 14:52 (This post was last modified: 10-08-2021 14:53 by simoncn.)
Post: #16
RE: DSM7, Java and MinimServer
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.
Find all posts by this user
Quote this message in a reply
10-08-2021, 16:08
Post: #17
RE: DSM7, Java and MinimServer
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.
Find all posts by this user
Quote this message in a reply
10-08-2021, 22:21
Post: #18
RE: DSM7, Java and MinimServer
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.
Find all posts by this user
Quote this message in a reply
11-08-2021, 17:09 (This post was last modified: 11-08-2021 17:10 by lyapounov.)
Post: #19
RE: DSM7, Java and MinimServer
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
Find all posts by this user
Quote this message in a reply
11-08-2021, 20:09
Post: #20
RE: DSM7, Java and MinimServer
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?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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