Page 1 of 1

Getting a bit frustrated

Posted: Friday 19 October 2018 11:23
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:

Re: Getting a bit frustrated

Posted: Monday 22 October 2018 20:17
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)

Re: Getting a bit frustrated

Posted: Tuesday 23 October 2018 8:48
by EdwinK
using the official powerplug from Raspberry.

Re: Getting a bit frustrated

Posted: Friday 02 November 2018 9:51
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

Re: Getting a bit frustrated

Posted: Friday 02 November 2018 19:40
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

Re: Getting a bit frustrated

Posted: Saturday 03 November 2018 9:26
by EdwinK
Was wondering about that. It was a new installation, so you think the database would be created with the setup.

Re: Getting a bit frustrated

Posted: Sunday 04 November 2018 16:21
by EdwinK
Fixed this by applying

Code: Select all

chmod +0777 domoticz
Thanks for @bjacobse for pointing me in the right direction ")

Re: Getting a bit frustrated

Posted: Sunday 04 November 2018 19:39
by EdwinK
Only worked for a couple of hours :(