Page 6 of 7

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Wednesday 16 March 2022 13:15
by dens1975
Hi,

I don't have the /etc/modules-load.d/ folder. Do I have to create it myself?

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Wednesday 16 March 2022 14:20
by Gravityz
YES,
IT MUST BE CREATED MANUALLY

i am not on dsm7 so i do not have first hand experience
dens1975 wrote: Wednesday 16 March 2022 13:15 Hi,

I don't have the /etc/modules-load.d/ folder. Do I have to create it myself?

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Friday 27 May 2022 5:57
by achim
Hello,

I updated my Synology DS918+ to DSM Version: 7.1-42661 Update 1 a few weeks ago. A few days ago I had to update the container for Conbee 2 (Deconz) and realized that the "ttyUSB0" driver is now missing.
Now when I try to follow the instructions on these pages, docker-compose breaks with this error message "ERROR: for domoticz Cannot start the service Domoticz: Error collecting device information while adding custom device "/dev/ttyUSB0": no such file or directory ERROR: for domoticz cannot start the service directory Errors occurred starting up the project. : initial status 1" off.

This is my docker compose:

Code: Select all

version: '3.3'

services:
  domoticz:
    image: domoticz/domoticz:2022.1
    container_name: domoticz
    restart: unless-stopped
    #Pass devices to container
    devices:
      - "/dev/ttyUSB0:/dev/ttyUSB0"
    ports:
      - "8112:8112"
    volumes:
      - ./config:/opt/domoticz/userdata
    environment:
      - PUID=1029
      - PGID=100
      - TZ=Europe/Berlin
      #- LOG_PATH=/opt/domoticz/userdata/domoticz.log
Where else can I get the "ttyUSB0" driver to correct the error?

Thanks very much.

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Friday 27 May 2022 8:28
by pyxis
https://www.domoticz.com/wiki/Synology

only it looks like http://www.jadahl.com/iperf-arp-scan/DSM_7.0/ is down right now, but maybe you can find the files somewhere else also.

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Friday 27 May 2022 10:42
by achim
That is exactly my problem. So far I hadn't been able to find the files anywhere. I was hoping that there would be someone here who would make them available to me.

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Friday 27 May 2022 13:08
by pyxis
It looks like you can get them with waybackmachine:
https://web.archive.org/web/20211014141 ... n/DSM_7.0/

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Friday 27 May 2022 13:12
by JackD
Is this what you are looking for..., (see attachment)

achim wrote: Friday 27 May 2022 10:42 That is exactly my problem. So far I hadn't been able to find the files anywhere. I was hoping that there would be someone here who would make them available to me.

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Friday 27 May 2022 16:45
by achim
Thank you for the quick help. But somehow I still don't understand it all. There are no files behind the link from @pyxis (DSM_7) and the drivers from @JackD are already installed for me. What I'm missing is the ttyUSB0 file in the /dev directory - but it has to be there if docker-compose is started via Portainer.

Note:

Isn't it possible for someone from Synology DS918 users to send me the "ttyUSB0" file as an attachment?

Look here:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Saturday 28 May 2022 13:02
by JackD
Sorry, I am running DSM 6.2 not DSM 7 and on a DS1520+ so can not help you there.
And I don't think you can just copy ttyUSB- from one system to a other. But I am not a expert.
Do you use a external USB hub perhaps, some of them do not work with Synology, try a other one

Hopefully someone else can help you more with your problem.
achim wrote: Friday 27 May 2022 16:45 Thank you for the quick help. But somehow I still don't understand it all. There are no files behind the link from @pyxis (DSM_7) and the drivers from @JackD are already installed for me. What I'm missing is the ttyUSB0 file in the /dev directory - but it has to be there if docker-compose is started via Portainer.

Note:

Isn't it possible for someone from Synology DS918 users to send me the "ttyUSB0" file as an attachment?

Look here:

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Saturday 28 May 2022 16:53
by achim
JackD wrote: Saturday 28 May 2022 13:02
Do you use a external USB hub perhaps, some of them do not work with Synology ....
With this note you have given me a very valuable tip, namely I use an external USB hub. Meanwhile, I also found an update from Deconz-Docker:

https://github.com/deconz-community/deconz-docker

There you will find the note that instead of "ttyUSB0" you can alternatively use "ttyACM0". This file is in my "/dev" directory and it solved my problem.

Thanks again for your support!

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Wednesday 15 June 2022 12:56
by vespino
What docker container should I use? Stable or latest?

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Wednesday 15 June 2022 14:01
by waltervl
vespino wrote: Wednesday 15 June 2022 12:56 What docker container should I use? Stable or latest?
It is up to you ;-) Latest means latest build so mostly the Beta version.
For first time user I would say Stable is the preferred version..

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Wednesday 15 June 2022 16:24
by vespino
I don't consider myself a first time user, but I did notice the stable release doesn't get updates. As to beta, this isn't shown in the latest releases?

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Wednesday 15 June 2022 17:07
by waltervl
What is expected from Domoticz releases is mentioned here: https://www.domoticz.com/wiki/Releases
Stable will be update once or twice a year. Beta could be updated multiple times a day, depends on the development. But there is also a big risk that the Beta will fail. So only use Beta if you want to be on top of the first developments and can risk a crash occasionally. So for normal users not preferred.

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Wednesday 15 June 2022 17:17
by vespino
Ok, there’s stable, beta and then there’s latest: https://registry.hub.docker.com/layers/ ... xt=explore

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Wednesday 15 June 2022 18:20
by waltervl
See the explanation here:
https://hub.docker.com/r/domoticz/domoticz

And simple latest is not mentioned as it is the latest build (stable or beta) and should not be used....

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Wednesday 15 June 2022 19:58
by vespino
Thanks, I’m sticking with stable and hope for faster releases.

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Wednesday 10 August 2022 13:11
by mvveelen
Hi, I'm on DSM7 and ran into some problems I'd like to fix.

Is there a step-by-step tutorial already for DSM7 in which is explained how to change the settings (like paths) so that it runs smoothly without "save errors" etc. ? Or is the opening message still the way to go?

My Domoticz is running, but I have the errors when saving a dzVents/Lua script. I added some folders manually:

volume1/docker/domoticz/backups
volume1/docker/domoticz/scripts
volume1/docker/domoticz/scripts/dzvents
volume1/docker/domoticz/scripts/logrotate
volume1/docker/domoticz/scripts/templates (this directory has to include the templates from container /opt/domoticz/scripts/templates)
volume1/docker/domoticz/scripts/dzvents/data
volume1/docker/domoticz/scripts/dzvents/dumps
volume1/docker/domoticz/scripts/dzvents/generated_scripts
volume1/docker/domoticz/scripts/dzvents/scripts

but don't know how to proceed from here.

As you can see, the settings/paths are not the way they should be, although it works for now.

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Wednesday 10 August 2022 15:12
by waltervl
Check the screenshots in this post of user Gravityz posted earlier in this thread : viewtopic.php?p=279443#p279443
See the paths in the Tab Volumes

Re: Synology - guide to switch from Jadahl package to official docker (domoticz-docker)

Posted: Wednesday 10 August 2022 18:32
by mvveelen
waltervl wrote: Wednesday 10 August 2022 15:12 Check the screenshots in this post of user Gravityz posted earlier in this thread : viewtopic.php?p=279443#p279443
See the paths in the Tab Volumes
Thanks, I've seen this, but don't know how to change the current setup. That's why I was wondering if there is a how-to for DSM7 with the most recent variables/paths. It's for a setup at my father-in-law's Synology and I don't want to break the current setup.