This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| syno:docker [2021/07/28 00:59] – [Installation] Bernard Condrau | syno:docker [2025/10/21 13:22] (current) – removed Bernard Condrau | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Docker on Synology DSM ====== | ||
| - | ===== Logitech Media Server ===== | ||
| - | I installed Docker after Synology discontinued support for the Logitech Media Server (LMS). Synology supports Docker on Intel based NAS only, so you cannot resort to this solution on DS212+ and DS213+. To continue to use LMS on those platforms you must not upgrade to DSM7, and you must not upgrade Perl v5.24 to a newer version. If you do, the Logitech Media Server package will not start anymore. Remember to disable // | ||
| - | \\ | ||
| - | The following guide explains how to install Docker and the latest Synology Media Server. | ||
| - | ==== Installation ==== | ||
| - | - Install Docker from the DSM Package Center | ||
| - | - Open Docker, select // | ||
| - | - Choose // lmscommunity/ | ||
| - | - SSH into your DSM and create folder //lms// in / | ||
| - | - Create the container from the command line< | ||
| - | sudo docker run \ | ||
| - | --name logitech-media-server \ | ||
| - | --restart=unless-stopped \ | ||
| - | --net=host \ | ||
| - | -v "/ | ||
| - | -v "/ | ||
| - | -v "/ | ||
| - | -v "/ | ||
| - | -e TZ=Asia/ | ||
| - | -e HTTP_PORT=9002 \ | ||
| - | -e PGID=100 \ | ||
| - | -e PUID=1026 \ | ||
| - | lmscommunity/ | ||
| - | - Synology DSM uses ACL for permission management, which is not transferred to the container when the container is set up. To allow the user // | ||
| - | chmod -R u+rws,g+rws /music | ||
| - | chmod -R u+rws,g+rws /playlist | ||
| - | exit</ | ||
| - | - Go back to DSM and stop the container " | ||
| - | * Under //General Settings//, select //Enable auto-restart// | ||
| - | * Under //General Settings//, select //Create shortcut on desktop// --> //Web page: http://< | ||
| - | * Under //Volume//, select the /music path to mount as // | ||
| - | * Check your settings under // | ||
| - | - Start the container | ||
| - | - Icon on DSM Desktop: to get the user experience even closer to the original LSM package you can manually install a small package which shows in DSM with the original LSM icon and opens LSM on click. This imitates the behavior of the DSM Desktop icon of the original LSM package, it does not start the container, and it works only if LSM is already running. I made the {{ : | ||
| - | ==== Settings of Logitech Media Server ==== | ||
| - | - After the container is running Logitech Media Server will start scanning your music library. Check the logs as explained in //Trouble shooting// below if the library remains empty after the scan, or if not all folders are scanned into the library. | ||
| - | - Enter "/ | ||
| - | - Modify time and date settings under // | ||
| - | |||
| - | |||
| - | ==== SqueezeBox Radio ==== | ||
| - | Unfortunately the latest Squeezebox Radio firmware (7.7.3) comes with a bug which prevents it from connecting to Logitech Media Server 8+. But there' | ||
| - | - On the Radio go to //Settings --> Advanced --> Applet Installer// and install the //Patch Installer// | ||
| - | - Once it's back, go to //Settings --> Advanced --> Patch Installer// and install the //Version Comparison Fix//. The Radio will re-boot. | ||
| - | - If the //Version Comparison Fix// does not show up, switch the SB Radio off and back on first. | ||
| - | |||
| - | ==== Trouble shooting ==== | ||
| - | * Check the logs in / | ||
| - | * If you experience any trouble it might be helpful explore the file system within the container. Use the container name given when creating the container< | ||
| - | sudo docker exec -t -i logitech-media-server / | ||
| - | * Check that user // | ||
| - | * <color blue> | ||
| - | |||
| - | ==== Links ==== | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||
| - | * [[https:// | ||