Read the statement by Michael Teeuw here.
Synology Docker Tutorial?
-
@kusselin said in Synology Docker Tutorial?:
Error: Cannot find module ‘/opt/magic_mirror/js/…/modules/default/defaultmodules.js’
Maybe this will help someone else running into the same issue. I was unable to start Magic Mirror in Docker on my Synology NAS (using the karsten13/magicmirror image because v.2.15.0 is not in the bastilimbach one) and I got the same error as above.
Turned out to be some permission issue I was able to solve by adding two more environment variables to the docker container:
USER_ID: 1024 GROUP_ID: 100
This will run the docker container as the admin user on your NAS. If you wish to run it as some other user (which is preferable) you need to find the right user/group id (SSH into the NAS and then
sudo cat /etc/passwd
I believe). -
@oscarb said in Synology Docker Tutorial?:
@kusselin said in Synology Docker Tutorial?:
Error: Cannot find module ‘/opt/magic_mirror/js/…/modules/default/defaultmodules.js’
Maybe this will help someone else running into the same issue. I was unable to start Magic Mirror in Docker on my Synology NAS (using the karsten13/magicmirror image because v.2.15.0 is not in the bastilimbach one) and I got the same error as above.
Turned out to be some permission issue I was able to solve by adding two more environment variables to the docker container:
USER_ID: 1024 GROUP_ID: 100
This will run the docker container as the admin user on your NAS. If you wish to run it as some other user (which is preferable) you need to find the right user/group id (SSH into the NAS and then
sudo cat /etc/passwd
I believe).Hi, im not able to get the newest Karsten13 2.25 version running on the Synology (the 2.15 bastilimbach runs fine). The files in the mounts were created but the container stops after a few seconds. Do you have any tips?
-
-
we need the logs of the container
-
@odolmach3
Hi,just tried to run the latest Image of karsten13 on my Synology.
You need to make sure you add “npm run server” as “command” during the creating of the container settings. -