Getting a bit frustrated Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Getting a bit frustrated

Post by EdwinK »

Since some time my system couldn't be found, and then I need to reinstall Raspbian and Domoticz again.

I used the beta branch for quite some time, but now, with the latest several releases the system doesn't work (first the appcache mention, then connection refused messages). So, installing everything again. Trying to restore a backup, but... since that is from a beta, it can't be used in a stable version, and after upgrading to beta we start again with the error-messages. Bought some new SD-cards, switched Pi's thinking it might be a problem there, but nope.

:frustrated:
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
krazny
Posts: 27
Joined: Saturday 01 November 2014 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: Getting a bit frustrated

Post by krazny »

Only thing I can think of then is; Which power supply are you using?
I'm using an official Raspberry UPS and never had any issues with the BETA build of Domoticz. (ok...once, but that was over 2 years ago)
Raspberry Pi, Aeon Z-Stick, Fibaro Motion Sensor, 4x Fibaro Wall Plug, 2x Fibaro Dimmer, Netatmo Weatherstation
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Getting a bit frustrated

Post by EdwinK »

using the official powerplug from Raspberry.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Getting a bit frustrated

Post by EdwinK »

Getting these error messages when restarting with BETA.
2018-11-02 09:48:26.474 Status: Domoticz V4.10159 (c)2012-2018 GizMoCuz
2018-11-02 09:48:26.474 Status: Build Hash: f037f769, Date: 2018-11-01 14:26:25
2018-11-02 09:48:26.474 Status: Startup Path: /home/pi/domoticz/
2018-11-02 09:48:26.475 Error: Error opening SQLite3 database: unable to open database file
terminate called without an active exception
2018-11-02 09:48:26.475 Error: Domoticz(pid:16064, tid:16064('domoticz')) received fatal signal 6 (Aborted)
2018-11-02 09:48:26.476 Error: siginfo address=0x3ec0, address=0xffffffff
2018-11-02 09:48:29.692 Error: Thread 1 (Thread 0x763d7000 (LWP 16064)):
2018-11-02 09:48:29.692 Error: #0 0x76ed94cc in __waitpid (pid=16066, stat_loc=0x7ec7f990, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
2018-11-02 09:48:29.692 Error: #1 0x002c6900 in dumpstack_gdb(bool) ()
2018-11-02 09:48:29.692 Error: #2 0x002c6eec in signal_handler(int, siginfo_t*, void*) ()
2018-11-02 09:48:29.692 Error: #3 <signal handler called>
2018-11-02 09:48:29.692 Error: #4 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
2018-11-02 09:48:29.692 Error: #5 0x76c82824 in __GI_abort () at abort.c:89
2018-11-02 09:48:29.692 Error: #6 0x009f8ecc in __gnu_cxx::__verbose_terminate_handler() ()
2018-11-02 09:48:29.692 Error: #7 0x0095974c in __cxxabiv1::__terminate(void (*)()) ()
2018-11-02 09:48:29.692 Error: #8 0x009597c0 in std::terminate() ()
2018-11-02 09:48:29.692 Error: #9 0x001e8084 in main ()
Aborted
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
bjacobse
Posts: 85
Joined: Tuesday 06 September 2016 9:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Sorø, DK
Contact:

Re: Getting a bit frustrated

Post by bjacobse »

It looks like your database isn't there, or domoticz can't get read/write access to it

Code: Select all

Startup Path: /home/pi/domoticz/
2018-11-02 09:48:26.475 Error: Error opening SQLite3 database: unable to open database file
terminate called without an active exception
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Getting a bit frustrated

Post by EdwinK »

Was wondering about that. It was a new installation, so you think the database would be created with the setup.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Getting a bit frustrated

Post by EdwinK »

Fixed this by applying

Code: Select all

chmod +0777 domoticz
Thanks for @bjacobse for pointing me in the right direction ")
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Getting a bit frustrated

Post by EdwinK »

Only worked for a couple of hours :(
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest