Open Antori91 opened 2 years ago
Domoticz 2020.2-10
Synology NAS
x86_64
DSM version: 6.2.3-25426 // model name: DS3615xs
Domoticz seems to be installed but failed to start. When I look the Domoticz install log file, I can see the following:
2022/02/16 15:28:07 ===> Step postinst. USER=domoticz GROUP= SHARE_PATH= 2022/02/16 15:28:07 Begin service_postinst 2022/02/16 15:28:07 End service_postinst 2022/02/16 15:28:07 Granting 'sc-domoticz' unix ownership on /volume1/@appstore/domoticz/var 2022/02/16 15:28:07 chown: invalid group: 'sc-domoticz:domoticz' 2022/02/16 15:28:07 install domoticz 2020.2-10 End postinst ret=[0] 2022/02/16 15:28:07 install domoticz 2020.2-10 Begin start-stop-status start /var/packages/domoticz/scripts/start-stop-status: line 138: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied
1. 2. 3. ...
2022/02/16 15:28:06 install domoticz 2020.2-10 Begin preinst 2022/02/16 15:28:06 ===> Step preinst. USER=domoticz GROUP= SHARE_PATH= 2022/02/16 15:28:06 install domoticz 2020.2-10 End preinst ret=[0] 2022/02/16 15:28:06 install domoticz 2020.2-10 Begin /bin/rm -rf /volume1/@appstore/domoticz 2022/02/16 15:28:06 install domoticz 2020.2-10 End /bin/rm -rf /volume1/@appstore/domoticz ret=[0] 2022/02/16 15:28:06 install domoticz 2020.2-10 Begin /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/domoticz 2022/02/16 15:28:06 install domoticz 2020.2-10 End /bin/mv -f /volume1/@tmp/pkginstall/package /volume1/@appstore/domoticz ret=[0] 2022/02/16 15:28:06 install domoticz 2020.2-10 Begin /bin/rm -rf /var/packages/domoticz 2022/02/16 15:28:06 install domoticz 2020.2-10 End /bin/rm -rf /var/packages/domoticz ret=[0] 2022/02/16 15:28:06 install domoticz 2020.2-10 Begin /bin/mkdir -p /var/packages/domoticz 2022/02/16 15:28:06 install domoticz 2020.2-10 End /bin/mkdir -p /var/packages/domoticz ret=[0] 2022/02/16 15:28:06 install domoticz 2020.2-10 Begin /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/domoticz/INFO 2022/02/16 15:28:06 install domoticz 2020.2-10 End /bin/mv -f /volume1/@tmp/pkginstall/INFO /var/packages/domoticz/INFO ret=[0] 2022/02/16 15:28:06 install domoticz 2020.2-10 Begin /bin/rm -rf /var/packages/domoticz/scripts 2022/02/16 15:28:06 install domoticz 2020.2-10 End /bin/rm -rf /var/packages/domoticz/scripts ret=[0] 2022/02/16 15:28:06 install domoticz 2020.2-10 Begin /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/domoticz/scripts 2022/02/16 15:28:06 install domoticz 2020.2-10 End /bin/mv -f /volume1/@tmp/pkginstall/scripts /var/packages/domoticz/scripts ret=[0] 2022/02/16 15:28:06 install domoticz 2020.2-10 Begin /bin/rm -rf /var/packages/domoticz/conf 2022/02/16 15:28:06 install domoticz 2020.2-10 End /bin/rm -rf /var/packages/domoticz/conf ret=[0] 2022/02/16 15:28:06 install domoticz 2020.2-10 Begin /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/domoticz/conf 2022/02/16 15:28:06 install domoticz 2020.2-10 End /bin/mv -f /volume1/@tmp/pkginstall/conf /var/packages/domoticz/conf ret=[0] 2022/02/16 15:28:07 install domoticz 2020.2-10 Begin postinst 2022/02/16 15:28:07 ===> Step postinst. USER=domoticz GROUP= SHARE_PATH= 2022/02/16 15:28:07 Begin service_postinst 2022/02/16 15:28:07 End service_postinst 2022/02/16 15:28:07 Granting 'sc-domoticz' unix ownership on /volume1/@appstore/domoticz/var 2022/02/16 15:28:07 chown: invalid group: 'sc-domoticz:domoticz' 2022/02/16 15:28:07 install domoticz 2020.2-10 End postinst ret=[0] 2022/02/16 15:28:07 install domoticz 2020.2-10 Begin start-stop-status start /var/packages/domoticz/scripts/start-stop-status: line 138: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied /var/packages/domoticz/scripts/start-stop-status: line 34: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied /var/packages/domoticz/scripts/start-stop-status: line 41: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied /var/packages/domoticz/scripts/start-stop-status: line 75: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied 2022/02/16 15:28:27 install domoticz 2020.2-10 End start-stop-status start ret=[1] 2022/02/16 15:28:27 (system) trigger domoticz 2020.2-10 Begin start-stop-status stop /var/packages/domoticz/scripts/start-stop-status: line 149: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied 2022/02/16 15:28:27 (system) trigger domoticz 2020.2-10 End start-stop-status stop ret=[0] 2022/02/16 15:28:28 install domoticz 2020.2-10 Begin /bin/rm -rf /volume1/@tmp/pkginstall 2022/02/16 15:28:28 install domoticz 2020.2-10 End /bin/rm -rf /volume1/@tmp/pkginstall ret=[0] 2022/02/16 15:28:42 start domoticz 2020.2-10 Begin start-stop-status start /var/packages/domoticz/scripts/start-stop-status: line 138: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied /var/packages/domoticz/scripts/start-stop-status: line 34: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied /var/packages/domoticz/scripts/start-stop-status: line 41: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied /var/packages/domoticz/scripts/start-stop-status: line 75: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied 2022/02/16 15:29:02 start domoticz 2020.2-10 End start-stop-status start ret=[1] 2022/02/16 15:29:02 (system) trigger domoticz 2020.2-10 Begin start-stop-status stop /var/packages/domoticz/scripts/start-stop-status: line 149: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied 2022/02/16 15:29:02 (system) trigger domoticz 2020.2-10 End start-stop-status stop ret=[0] 2022/02/16 15:30:03 start domoticz 2020.2-10 Begin start-stop-status start /var/packages/domoticz/scripts/start-stop-status: line 138: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied /var/packages/domoticz/scripts/start-stop-status: line 34: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied /var/packages/domoticz/scripts/start-stop-status: line 41: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied /var/packages/domoticz/scripts/start-stop-status: line 75: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied 2022/02/16 15:30:23 start domoticz 2020.2-10 End start-stop-status start ret=[1] 2022/02/16 15:30:23 (system) trigger domoticz 2020.2-10 Begin start-stop-status stop /var/packages/domoticz/scripts/start-stop-status: line 149: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied 2022/02/16 15:30:23 (system) trigger domoticz 2020.2-10 End start-stop-status stop ret=[0]
No response
You have to "sudo chown sc-domoticz /volume1/@appstore/domoticz/var/domoticz.log" then Domoticz starts.
Is this a new Bug?
Package Name
Domoticz 2020.2-10
Package Version
Domoticz 2020.2-10
Device Model
Synology NAS
Device Architecture
x86_64
Firmware Version
DSM version: 6.2.3-25426 // model name: DS3615xs
What happened?
Domoticz seems to be installed but failed to start. When I look the Domoticz install log file, I can see the following:
2022/02/16 15:28:07 ===> Step postinst. USER=domoticz GROUP= SHARE_PATH= 2022/02/16 15:28:07 Begin service_postinst 2022/02/16 15:28:07 End service_postinst 2022/02/16 15:28:07 Granting 'sc-domoticz' unix ownership on /volume1/@appstore/domoticz/var 2022/02/16 15:28:07 chown: invalid group: 'sc-domoticz:domoticz' 2022/02/16 15:28:07 install domoticz 2020.2-10 End postinst ret=[0] 2022/02/16 15:28:07 install domoticz 2020.2-10 Begin start-stop-status start /var/packages/domoticz/scripts/start-stop-status: line 138: /volume1/@appstore/domoticz/var/domoticz.log: Permission denied
Reproduction steps
Install Log
Service Log
No response
Other Logs
No response