Domoticz crash after database restore

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
Rik60
Posts: 141
Joined: Sunday 25 June 2023 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: The Netherlands
Contact:

Domoticz crash after database restore

Post by Rik60 »

After a database restore Domoticz doesn't come online, no devices found or no communication...
Did a service restart, after that domoticz was running normal. Tried this with a database backup and restore (no database changes) and after a powercycle of the Rpi3B+. Seen this also on earlier versions of the beta (2025.2 17057, 2025.2 17099 and 2502.2 17189).
Attached is a crash log after a database restore.
Attachments
domoticz_crash.log
(41.66 KiB) Downloaded 6 times
Kedi
Posts: 595
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Domoticz crash after database restore

Post by Kedi »

From the crashlog I can only see that you have a problem with libpython3.13.so and the Somfy plugin.
Logic will get you from A to B. Imagination will take you everywhere.
Rik60
Posts: 141
Joined: Sunday 25 June 2023 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: The Netherlands
Contact:

Re: Domoticz crash after database restore

Post by Rik60 »

Thanks.
Removed Somfy to test, problem still exist. I am on Trixie and Domoticz beta 2025.2 17198, going to test with an older os (Bullseye, Bookworm) and older Domoticz.
Am i the only one with this problem?
Rik60
Posts: 141
Joined: Sunday 25 June 2023 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: The Netherlands
Contact:

Re: Domoticz crash after database restore

Post by Rik60 »

Did some tests with another os (Bookworm) and Domoticz versions.
Trixie + Stable 2025.2 restore database Domoticz crash, restart domoticz service
Bookworm + Stable 2025.2 restore database Domoticz online Ok
Bookworm + beta 2025.2 17163 restore database Domoticz online Ok
Bookworm + beta 2025.2 17163 restore database from Trixie 2025.2 17163 Domoticz online Ok

Bookworm has Python 3.11
So, there is a problem with Trixie with python version 3.13?
Rik60
Posts: 141
Joined: Sunday 25 June 2023 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.2
Location: The Netherlands
Contact:

Re: Domoticz crash after database restore

Post by Rik60 »

Saw that Gizmocus is working on it....#6577
Edit: Updated to last beta 17163, same problem. On trixie domoticz is crashing after database restore, on Bookworm not
Post Reply

Who is online

Users browsing this forum: heggink and 1 guest