Open rolandvans opened 1 year ago
Ping maintainer @dwmw2 about this issue.
No response from the maintainer until now
Try make symlink for libpython3.11.so and libpython3.11.a to libpython3.9.so and libpython3.9.a This working for me ;-)
Try make symlink for libpython3.11.so and libpython3.11.a to libpython3.9.so and libpython3.9.a This working for me ;-)
That trick solves the libpython part, but in my setup, it still does not start on boot. Syslog shows this message:
Fri Nov 17 07:00:40 2023 daemon.notice procd: /etc/rc.d/S95done: Command failed: ubus call service delete { "name": "domoticz" } (Not found)
Starting it manually does work. Any idea what could be the problem here?
PIng @dwmw2.
Let's ping previous contributors, who was interested in it as well - @lucize, @stintel.
Apologies for the delayed response. I've updated to 2023.2 on the master branch, will look at backporting just the libpython3.11 fix to stable, once I've got local builds of 23.05 actually working on my hardware.
Not sure about @rolandvans's issue with it not starting though. That seems to be something different.
@rolandvans Could your other startup issue be caused by https://github.com/openwrt/openwrt/issues/9545 ?
@rolandvans Could your other startup issue be caused by openwrt/openwrt#9545 ?
If I am the only one affected, it must be something related to my setup. For you it all runs smoothly after the 'python' fix? Then I will check the link and see what I can do.
For me it ran smoothly anyway; I don't use python plugins. But yes, the update should fix python.
Sorry to be late to the party. I just upgraded openwrt on my Zyxel NSA325 (Kirkwood) to 23.05.3 and experience the very same behaviour. Only manual start is possible.
domoticz package does not work in 23.05.0
It will not start because the Python version 3.11 is not supported and this is the default Python version in 23.05.0.
Status: PluginSystem: Failed dynamic library load, install the latest libpython3.x library that is available for your platform.
Changing the file
990-python3.10_fix.patch
, replacing "python3.10" with "python3.11"Fixes the status message, but domoticz does not start properly on boot. Manually starting domoticz does work:
domoticz -sslwww 0 -approot /usr/share/domoticz/ -noupdates -userdata /var/lib/domoticz -syslog -daemon