NEWS
Probleme mit deconz Adabter
-
hi,
läuft bei dir deconz oder deconz-gui ?systemctl status deconz -
@michael-schmitt ich poste die Ausgabe , wenn ich Mittag zu Hause bin...
@thomas-braun muss ich vorher mit sudo systemctl stop deconz.service den Dienst anhalten
-
@docsnyder7
Verwende edit dafür und schreib da nicht direkt in den Dateien herum.
Alsosudo systemctl edit deconz.serviceoder ähnlich. In /usr/ packst du gar nichts an, das Verzeichnis gehört dem System.
@docsnyder7
Verwende edit dafür und schreib da nicht direkt in den Dateien herum.
Alsosudo systemctl edit deconz.serviceoder ähnlich. In /usr/ packst du gar nichts an, das Verzeichnis gehört dem System.
Hi,
hab da mal reingeschaut.Das sieht so aus.### Editing /etc/systemd/system/deconz.service.d/override.conf ### Anything between here and the comment below will become the contents of the drop-in file ### Edits below this comment will be discarded ### /usr/lib/systemd/system/deconz.service # [Unit] # Description=deCONZ: ZigBee gateway -- REST API # Wants=deconz-init.service # StartLimitIntervalSec=0 # # [Service] # User=1000 # ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 --https-port=0 --ws-port=441 # Restart=on-failure # RestartSec=30 # AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_KILL CAP_SYS_BOOT CAP_SYS_TIME # # [Install] # WantedBy=multi-user.targetaber das ist ja alles auskommentiert ? Muß das so sein ?
-
@docsnyder7
Verwende edit dafür und schreib da nicht direkt in den Dateien herum.
Alsosudo systemctl edit deconz.serviceoder ähnlich. In /usr/ packst du gar nichts an, das Verzeichnis gehört dem System.
Hi,
hab da mal reingeschaut.Das sieht so aus.### Editing /etc/systemd/system/deconz.service.d/override.conf ### Anything between here and the comment below will become the contents of the drop-in file ### Edits below this comment will be discarded ### /usr/lib/systemd/system/deconz.service # [Unit] # Description=deCONZ: ZigBee gateway -- REST API # Wants=deconz-init.service # StartLimitIntervalSec=0 # # [Service] # User=1000 # ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 --https-port=0 --ws-port=441 # Restart=on-failure # RestartSec=30 # AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_KILL CAP_SYS_BOOT CAP_SYS_TIME # # [Install] # WantedBy=multi-user.targetaber das ist ja alles auskommentiert ? Muß das so sein ?
aber das ist ja alles auskommentiert ? Muß das so sein ?
Ja, wenn du dort Dinge 'scharf' schaltest greifen die dann vor den 'Werkseinstellungen'.
Deswegen gibt es ja die Overrides/drop-in-files:
/etc/systemd/system/deconz.service.d/override.confSystemd klappert bestimmte Verzeichnisse in einer festgelegten Reihenfolge ab. Und die zuerst gefundenen Einstellungen greifen dann auch zuerst.
Die auskommentierten Zeilen dienen dir nur als Hinweis, was da die Voreinstellung (hier in der /usr/lib/systemd/system/deconz.service) ist. Deine Änderungen müssen in das freie Feld darüber eingetragen werden:
### Anything between here and the comment below will become the contents of the drop-in file HIER_DEINE_EINTRÄGE=DEINE_WERTE ### Edits below this comment will be discarded -
aber das ist ja alles auskommentiert ? Muß das so sein ?
Ja, wenn du dort Dinge 'scharf' schaltest greifen die dann vor den 'Werkseinstellungen'.
Deswegen gibt es ja die Overrides/drop-in-files:
/etc/systemd/system/deconz.service.d/override.confSystemd klappert bestimmte Verzeichnisse in einer festgelegten Reihenfolge ab. Und die zuerst gefundenen Einstellungen greifen dann auch zuerst.
Die auskommentierten Zeilen dienen dir nur als Hinweis, was da die Voreinstellung (hier in der /usr/lib/systemd/system/deconz.service) ist. Deine Änderungen müssen in das freie Feld darüber eingetragen werden:
### Anything between here and the comment below will become the contents of the drop-in file HIER_DEINE_EINTRÄGE=DEINE_WERTE ### Edits below this comment will be discarded@thomas-braun dh wenn ich die Zeile mit dem http-port=80 um den Eintrag ws-port=441 ergämzen möchte, dann muss ich die komplette Zeile dort einfügen?
-
aber das ist ja alles auskommentiert ? Muß das so sein ?
Ja, wenn du dort Dinge 'scharf' schaltest greifen die dann vor den 'Werkseinstellungen'.
Deswegen gibt es ja die Overrides/drop-in-files:
/etc/systemd/system/deconz.service.d/override.confSystemd klappert bestimmte Verzeichnisse in einer festgelegten Reihenfolge ab. Und die zuerst gefundenen Einstellungen greifen dann auch zuerst.
Die auskommentierten Zeilen dienen dir nur als Hinweis, was da die Voreinstellung (hier in der /usr/lib/systemd/system/deconz.service) ist. Deine Änderungen müssen in das freie Feld darüber eingetragen werden:
### Anything between here and the comment below will become the contents of the drop-in file HIER_DEINE_EINTRÄGE=DEINE_WERTE ### Edits below this comment will be discarded@Thomas-Braun war deswegen wohl auch nach einem update von Deconz meine Einstellungen weg ?
### Editing /etc/systemd/system/deconz.service.d/override.conf ### Anything between here and the comment below will become the contents of the drop-in file ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 --https-port=0 --ws-port=441 ### Edits below this comment will be discardedmüssen da alle Einstellungen rein oder reicht es nur die an denen was geändert wurd ?
-
@Thomas-Braun war deswegen wohl auch nach einem update von Deconz meine Einstellungen weg ?
### Editing /etc/systemd/system/deconz.service.d/override.conf ### Anything between here and the comment below will become the contents of the drop-in file ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 --https-port=0 --ws-port=441 ### Edits below this comment will be discardedmüssen da alle Einstellungen rein oder reicht es nur die an denen was geändert wurd ?
@Michael-Schmitt
Nur deine Änderungen/Anpassungen. Die weiteren Einstellungen zieht sich systemd dann aus den anderen Dateien.
Diese drop-in-files legen sich nur wie eine Maske über die Voreinstellungen aus dem Paket wie sie vom Packager vorgesehen worden sind. -
dann werd ich das das nächste mal testen, muß eh paar updates einspielen
-
@Thomas-Braun war deswegen wohl auch nach einem update von Deconz meine Einstellungen weg ?
### Editing /etc/systemd/system/deconz.service.d/override.conf ### Anything between here and the comment below will become the contents of the drop-in file ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 --https-port=0 --ws-port=441 ### Edits below this comment will be discardedmüssen da alle Einstellungen rein oder reicht es nur die an denen was geändert wurd ?
war deswegen wohl auch nach einem update von Deconz meine Einstellungen weg ?
Wenn du die direkt in /usr/lib/systemd/system/deconz.service getätigt hast, dann ja. Denn diese Datei ist im deconz-Paket enthalten und wird daher bei einem Update mit den Voreinstellungen aus dem Paket überschrieben.
Die 'drop-in-files' mit deinen individuellen Einstellungen bleiben aber stehen. -
sollte man vorher den Dienst stoppen?
@thomas-braun also nur "--ws-port=441" in die Zeile -
hi,
läuft bei dir deconz oder deconz-gui ?systemctl status deconzhi,
läuft bei dir deconz oder deconz-gui ?systemctl status deconzsystemctl status deconz ● deconz.service - deCONZ: ZigBee gateway -- REST API Loaded: loaded (/lib/systemd/system/deconz.service; enabled; preset: enabled) Drop-In: /etc/systemd/system/deconz.service.d └─override.conf Active: activating (auto-restart) (Result: exit-code) since Thu 2026-07-23 13:35:42 CEST; 29s ago Process: 24355 ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 (code=exited, status=203/EXEC) Main PID: 24355 (code=exited, status=203/EXEC) CPU: 2ms Jul 23 13:35:42 evccpi (deCONZ)[24355]: deconz.service: Failed at step EXEC spawning /usr/bin/deCONZ: No such file or directory Jul 23 13:35:42 evccpi systemd[1]: deconz.service: Main process exited, code=exited, status=203/EXEC Jul 23 13:35:42 evccpi systemd[1]: deconz.service: Failed with result 'exit-code'. Jul 23 13:36:12 evccpi systemd[1]: /etc/systemd/system/deconz.service.d/override.conf:1: Assignment outside of section. Ignoring. -
sollte man vorher den Dienst stoppen?
@thomas-braun also nur "--ws-port=441" in die Zeilesollte man vorher den Dienst stoppen?
Service neustarten reicht, dann werden die config-Dateien mit deinen Änderungen frisch eingelesen.
sudo systemctl restart deconzwird wohl ausreichen.
@thomas-braun also nur "--ws-port=441" in die Zeile
Nein, die vollständige, korrekte Syntax muss da eingetragen werden.
Vermutlich also eher[Service] ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 --https-port=0 --ws-port=441Edit: Die Section muss auch gesetzt werden. Sonst kommt:
Assignment outside of section. Ignoring. -
Ok… Dankeschön…
Kann man die Änderung dann in der Usr/lib/systemd/system/deconz.service kontrollieren? -
hi,
läuft bei dir deconz oder deconz-gui ?systemctl status deconzsystemctl status deconz ● deconz.service - deCONZ: ZigBee gateway -- REST API Loaded: loaded (/lib/systemd/system/deconz.service; enabled; preset: enabled) Drop-In: /etc/systemd/system/deconz.service.d └─override.conf Active: activating (auto-restart) (Result: exit-code) since Thu 2026-07-23 13:35:42 CEST; 29s ago Process: 24355 ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 (code=exited, status=203/EXEC) Main PID: 24355 (code=exited, status=203/EXEC) CPU: 2ms Jul 23 13:35:42 evccpi (deCONZ)[24355]: deconz.service: Failed at step EXEC spawning /usr/bin/deCONZ: No such file or directory Jul 23 13:35:42 evccpi systemd[1]: deconz.service: Main process exited, code=exited, status=203/EXEC Jul 23 13:35:42 evccpi systemd[1]: deconz.service: Failed with result 'exit-code'. Jul 23 13:36:12 evccpi systemd[1]: /etc/systemd/system/deconz.service.d/override.conf:1: Assignment outside of section. Ignoring./usr/bin/deCONZ: No such file or directory
Schaut mal, wie die Datei richtig heißt. Groß/Kleinschreibung beachten!
-
Ok… Dankeschön…
Kann man die Änderung dann in der Usr/lib/systemd/system/deconz.service kontrollieren?Kann man die Änderung dann in der Usr/lib/systemd/system/deconz.service kontrollieren?
Da siehst du keine individuellen Einträge, da stehen immer die defaults drin.
-
Kann man die Änderung dann in der Usr/lib/systemd/system/deconz.service kontrollieren?
Da siehst du keine individuellen Einträge, da stehen immer die defaults drin.
### Editing /etc/systemd/system/deconz.service.d/override.conf ### Anything between here and the comment below will become the new contents of the file [Service] ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 --https-port=0 --ws-port=441 ### Lines below this comment will be discarded ### /lib/systemd/system/deconz.service # [Unit] # Description=deCONZ: ZigBee gateway -- REST API # Wants=deconz-init.service # StartLimitIntervalSec=0 # # [Service] # User=1000 # ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 # Restart=on-failure # RestartSec=30 # AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_KILL CAP_SYS_BOOT CAP_SYS_TIME # # [Install] # WantedBy=multi-user.targetsudo systemctl restart deconz
Failed to restart deconz.service: Unit deconz.service has a bad unit file setting.
See system logs and 'systemctl status deconz.service' for details.systemctl status deconz Warning: The unit file, source configuration file or drop-ins of deconz.service changed on disk. Run 'systemctl daemon-reload' to reload units. × deconz.service - deCONZ: ZigBee gateway -- REST API Loaded: bad-setting (Reason: Unit deconz.service has a bad unit file setting.) Drop-In: /etc/systemd/system/deconz.service.d └─override.conf Active: failed (Result: exit-code) since Thu 2026-07-23 13:51:20 CEST; 2min 50s ago Duration: 4ms Main PID: 25186 (code=exited, status=203/EXEC) CPU: 3ms Jul 23 13:51:02 evccpi systemd[1]: deconz.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing. Jul 23 13:51:20 evccpi systemd[1]: deconz.service: Failed to schedule restart job: Unit deconz.service has a bad unit file setting. Jul 23 13:51:20 evccpi systemd[1]: deconz.service: Failed with result 'exit-code'. Jul 23 13:52:49 evccpi systemd[1]: deconz.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing. Jul 23 13:53:44 evccpi systemd[1]: deconz.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing. -
### Editing /etc/systemd/system/deconz.service.d/override.conf ### Anything between here and the comment below will become the new contents of the file [Service] ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 --https-port=0 --ws-port=441 ### Lines below this comment will be discarded ### /lib/systemd/system/deconz.service # [Unit] # Description=deCONZ: ZigBee gateway -- REST API # Wants=deconz-init.service # StartLimitIntervalSec=0 # # [Service] # User=1000 # ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 # Restart=on-failure # RestartSec=30 # AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_KILL CAP_SYS_BOOT CAP_SYS_TIME # # [Install] # WantedBy=multi-user.targetsudo systemctl restart deconz
Failed to restart deconz.service: Unit deconz.service has a bad unit file setting.
See system logs and 'systemctl status deconz.service' for details.systemctl status deconz Warning: The unit file, source configuration file or drop-ins of deconz.service changed on disk. Run 'systemctl daemon-reload' to reload units. × deconz.service - deCONZ: ZigBee gateway -- REST API Loaded: bad-setting (Reason: Unit deconz.service has a bad unit file setting.) Drop-In: /etc/systemd/system/deconz.service.d └─override.conf Active: failed (Result: exit-code) since Thu 2026-07-23 13:51:20 CEST; 2min 50s ago Duration: 4ms Main PID: 25186 (code=exited, status=203/EXEC) CPU: 3ms Jul 23 13:51:02 evccpi systemd[1]: deconz.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing. Jul 23 13:51:20 evccpi systemd[1]: deconz.service: Failed to schedule restart job: Unit deconz.service has a bad unit file setting. Jul 23 13:51:20 evccpi systemd[1]: deconz.service: Failed with result 'exit-code'. Jul 23 13:52:49 evccpi systemd[1]: deconz.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing. Jul 23 13:53:44 evccpi systemd[1]: deconz.service: Service has more than one ExecStart= setting, which is only allowed for Type=oneshot services. Refusing.Run 'systemctl daemon-reload' to reload units.
-
ExecStart=/usr/bin/deCONZ -platform minimal --http-port=80 --https-port=0 --ws-port=441Vielleicht das --https-port=0 rausnehmen. Das hab ich bei mir mal eingetragen da es mit dem Https port 443 Probleme gab
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden