Installing MinimServer on a Synology NAS
Table of contents
Installing Java (Intel and ARMv7 models)
Installing Java (ARMv5 and PowerPC models)
Installing or updating MinimServer
The Synology installation package makes it easy to install MinimServer on a Synology DiskStation NAS using its native user interface (DSM). It was created by forum member winxi and inspired by the Synology packages maintained by patters (take a look at his blog for further information).
Many thanks to winxi for creating this package.
MinimServer is written in Java and requires Java 7 or later to be installed on your Synology NAS.
The following Synology models have an Intel processor: DS415play, DS415+, DS1515+, DS1515, DS1815+, DS2415+, DS3615xs, RS815, RS815(RP)+, RC18015xs+, DS214play, RS814(RP)+, RS2414(RP)+, RS3614(RP)xs, RS3614xs+, DS713+, DS1513+, DS1813+, DS2413+, RS3413xs+, RS10613xs+, DS412+, DS712+, DS1512+, DS1812+, DS3612xs, RS812(RP)+, RS2212(RP)+, RS3412(RP)xs, DS411+, DS411+II, DS1511+, DS2411+, DS3611xs, RS2211(RP)+, RS3411(RP)xs, DS710+, DS1010+ and RS810(RP)+. For these models, please refer to the Installing Java (Intel and ARM ARMv7 models) section below.
The following Synology models have an ARMv7 processor: DS115j, DS115, DS215j, DS215+, DS715, DS2015xs, EDS14, DS114, DS214se, DS214, DS214+, DS414slim, DS414j, DS414, RS214, RS814 and DS213j. For these models, please refer to the Installing Java (Intel and ARMv7 models) section below.
The following Synology models have an ARMv5 processor: DS213air, DS213, DS413j, DS112j, DS112, DS112+, DS212j, DS212, DS212+, RS212, RS812, DS111, DS211j, DS211, DS211+, DS411j, DS411, DS411slim, RS411, DS110j, DS210j, DS410j, DS109, DS209, DS409, DS409slim and RS409. For these models, please refer to the Installing Java (ARMv5 and PowerPC models) section below.
The following Synology models have a PowerPC processor: DS213+, DS413, DS110+, DS210+ and DS410. For these models, please refer to the Installing Java (ARMv5 and PowerPC models) section below.
Installing Java (Intel and ARMv7 models)
If your Synology NAS has an Intel or ARMv7 processor, install Java using these steps:
- Update the DSM version to DSM 5.0 or later if this isn't already installed.
- From the Synology DSM home page in a web browser, open the Package Center and install the Java Manager package from the Utilities section.
- From the DSM home page, open the main menu by clicking the button in the top left corner, then click the Java Manager icon.
- You will see a dialog saying "Installation status: Not installed". Click the Install Java button.
- This displays a dialog titled "Install Java" with four steps for installing Java. Follow these steps, then click the OK button.
- The dialog will show a "Loading..." message, followed by a message box saying that you have installed Java successfully. Click OK to dismiss the message box.
- The Java Manager dialog should now say "Installation status: Installed" and should show the Java version number. Close this dialog.
Installing Java (ARMv5 and PowerPC models)
Important: If you have a DS110+, DS210+ or DS410, this must be updated to DSM 5.0 or later before you can install Java and MinimServer.
Important: If you're running DSM 5.1 or later, make sure the Package Center Trust Level is set to 'Any publisher' before continuing with the next steps.
If your Synology NAS has an ARMv5 or PowerPC processor, follow the tutorial in this forum post to install Java SE Embedded on your Synology NAS. The detailed steps for installing Java start with the paragraph "1) Adding the repository URL" about half way through the post.
Some people have problems with downloading the Java SE Embedded package in the correct format. The following notes may help:
Note 1: It's important to make sure this file is downloaded as a packed .tar.gz file. The next steps won't work if the file isn't in this format.
Note 2: If your browser asks you whether or not to unpack the file, choose the option to save it in its original packed .tar.gz form.
Note 3: If you're using Safari to download this file, you need to first configure Safari so it won't unpack the downloaded .tar.gz file into a .tar file. To do this, in your Safari preferences (General page), you need to uncheck the box at the bottom of the page (Open "safe" files after downloading). When the file has been downloaded, check to make sure it has a .tar.gz extension, and delete the downloaded file if it doesn't have this extension.
Note 4: If you're using Chrome to download this file, there's a bug in Chrome that causes it to use a .gz extension for the downloaded file instead of the correct .tar.gz extension. The simplest solution (for Chrome only) is to manually rename the downloaded file from .gz to .tar.gz.
Installing or updating MinimServer
Use the following steps to install or update MinimServer on your Synology NAS.
- If you're updating from MinimServer 0.72 (or earlier) to MinimServer 0.8.1 (or later), uninstall MinimServer from the DSM Package Center and select the option to backup the configuration file. After the uninstall has completed, reboot the NAS.
- If you're updating from MinimServer 0.8.1 (or later), you don't need to stop or uninstall the current version of MinimServer and you don't need to reboot the NAS.
From the Synology DSM home page in a web browser, open the Package Center and check
whether MinimServer 0.8.3 is available in the Multimedia section. If it is available, install it
and continue with step 7 below. If MinimServer 0.8.3 isn't available from the Package Center,
continue with step 4 below.
Note: To get the recent fix for the daylight saving time problem on DSM 5.2 (see this forum post) or if you are installing MinimServer on DSM 6.0 beta, you need to use the manual download procedure described in step 4 below.
- Download the file MinimServer-0.8.3.1-x86.spk (for Synology models with an Intel processor), MinimServer-0.8.3.1-armv5.spk (for Synology models with an ARMv5 processor), MinimServer-0.8.3.1-armv7.spk (for Synology models with an ARMv7 processor) or MinimServer-0.8.3.1-ppc.spk (for Synology models with a PowerPC processor) from the Downloads page. For a list of models and processor types, see the Installing Java section.
- Important: If you're running DSM 5.1 or later, make sure the Package Center Trust Level is set to 'Any publisher'.
- From the Package Center, click the 'Manual Install' button. When prompted to select a file, browse to the .spk file that you have downloaded and double-click this file, then click the Next button.
- You might get a message saying that port 9790 is in use by an application or reserved by the system. This can normally be resolved by waiting a minute or two for the port's connections to close. If the message doesn't clear after two minutes, reboot the NAS.
- Accept the License Agreement and click Next.
- Check the box "Run after installation" and click Apply.
- If installation was successful, the MinimServer icon should appear in the DSM main menu. If an error occurred, you will see a notification message. You might need to look in the system log for more details about what caused the error.
- Click on the MinimServer icon in the main menu. This should display the MinimServer status page in your browser.
- If this a new installation of MinimServer, you need to enter a content directory. This is the location on your Synology NAS where your music files are located. Follow the instructions on this page to use File Station to obtain the correct directory name and copy and paste it into the "Content directory" field on the status page. After you have pasted the content directory location, click the Update button.
- MinimServer will now scan all the music files under the content directory. Depending on how many music files you have, this might take some time. When this scan starts, the media server status on the MinimServer status page will change from Stopped to Starting. You can refresh the status page in your browser to see how the scan is progressing. When the scan is complete, the status will change to Running if the scan completed successfully or Error if a problem occurred.
- If the MinimServer status page is showing the media server status as Running, you should be able to see your MinimServer library in a UPnP AV control point.
To configure and manage MinimServer, you need to install MinimWatch on another computer on your home network. This computer can be running Windows, Mac OS X or a Linux distribution with a graphical desktop (for example, Ubuntu).
For details of how to install MinimWatch on a Windows PC, see the Installing MinimWatch on Windows page. If you're installing MinimWatch on Mac OS X, see the Installing MinimWatch on Mac OS X page. If you're using Linux to run MinimWatch, see the Installing MinimWatch on Linux page.
- When you start MinimServer, it will scan all the music files under the content directory that you configured during the installation process. Depending on how many music files you have, this might take some time. While this scan is in progress, MinimWatch will display a yellow icon with a minim symbol (musical note) in the system tray or menu bar. When the scan has finished successfully, the colour of the minim icon will change to green (transparent on Mac OS X). If MinimServer startup fails for any reason, the colour of the minim icon will change to red and you'll see a pop-up message describing the problem.
- It's a good idea to check the MinimServer log to see if there are any warning or error messages about problems found by MinimServer while scanning your music files. To view the log, right-click on the minim icon (left-click on Mac OS X) and select 'Show log'. A warning in the log means that MinimServer has found something wrong with a file, but has been able to read the file and make it available for browsing and playing. An error in the log means that MinimServer wasn't able to read the file. If you see a message you don't understand, you can get help by creating a new thread in the MinimServer support forum as described on the Support page.
- The MinimWatch minim icon pop-up menu provides a number of selections that you can use to configure and manage MinimServer. For information about these selections, see the Controlling MinimServer using the minim icon section of the User guide.
- You can use the DSM Package Center to stop MinimServer. This stops MinimServer immediately and prevents it from starting when the DiskStation is restarted. MinimServer is still installed on the DiskStation, and you can restart it at any time using the DSM Package Center. If MinimServer is running when the DiskStation is restarted or shut down, it will be started automatically when the DiskStation restarts.
- The MinimServer application data is stored in the appData subfolder of the MinimServer shared folder and is directly accessible through the DSM File Station (navigate to MinimServer/appData). This is useful for fetching log files without needing to login to the DiskStation via SSH or Telnet.
- This package runs MinimServer with the UTF-8 character set if support for this is available on the Synology. If UTF-8 support isn't available, you'll get a DSM notification and you may notice that some files with accented characters in their file or directory names aren't visible in MinimServer.
- If you're running MinimServer on a Synology model with an Intel x86 processor, the Process tab of Resource Monitor shows an incorrect display where it appears that multiple 'java' processes are running and each of these processes is consuming a large amount of memory. In fact, there is only a single 'java' process running and the duplicate entries for additional 'java' processes are incorrect and should be ignored. This incorrect display is caused by a known issue with the DSM firmware in x86-based models, and this issue will be fixed in a future update to the DSM firmware.
To uninstall MinimServer from your Synology NAS, select the Uninstall action from the Synology DSM Package Center. You will be asked whether you want to backup the configuration file or uninstall MinimServer completely. If you choose to backup the configuration file, any future installation of MinimServer will automatically use your current configuration settings.
For details of how to uninstall MinimWatch on a Windows PC, see the Uninstalling MinimWatch on Windows section. If you're installing MinimWatch on Mac OS X, see the Uninstalling MinimWatch on Mac OS X section. If you're using Linux to run MinimWatch, see the Uninstalling MinimWatch on Linux section.