Edit: I removed all files installed by Domoticz and re-installed - cleaned up by hand what was left over after unmerge. Apparently there were some files from my previous installation attempts which caused this misbehavior. It is all good now.

Moderator: leecollings
first
Code: Select all
server ~ # ls -l /var/lib/domoticz/
total 1192
-rw-r--r-- 1 root root 136 Jun 22 05:00 domocookie.txt
-rw-r----- 1 root root 774144 Jun 22 06:50 domoticz.db
-rw-r----- 1 root root 32768 Jun 22 06:50 domoticz.db-shm
-rw-r----- 1 root root 160712 Jun 22 06:50 domoticz.db-wal
-rw-r--r-- 1 root root 114869 Jun 22 06:41 ozwcache_0x0184c472.xml
-rw-r--r-- 1 root root 31899 Jun 22 06:52 OZW_Log.txt
drwxr-xr-x 2 root root 4096 Jan 2 10:57 plugins
drwxr-xr-x 6 root root 4096 Jun 21 19:04 scripts
-rw-r--r-- 1 root root 63256 Mar 11 17:29 zwcfg_0x0184c472.xml
-rw-r--r-- 1 root root 108 Jun 22 06:38 zwscene.xml
How did you do the upgrade ? Do you compile locally ?
So the domoticz executable is locally compiled and domoticz database is copied. How did you update the other domoticz subdirectories like Config, dzVents, scripts, plugins, www ?Segfault wrote: ↑Sunday 23 June 2019 13:30 1. My trusty RPi which was running Domoticz died. So I compiled/installed Dometicz in my server (version V4.10925). I figured one computer less is good and server has plenty of resources. I took the database from dead Pi and copied it over, then started Domoticz.
Code: Select all
server ~ # cat /etc/conf.d/domoticz
# /etc/conf.d/domoticz
WWWROOT="/opt/domoticz/www/"
LOGFILE="/var/log/domoticz.log"
DBASE="/var/lib/domoticz/domoticz.db"
APPROOT="/opt/domoticz/"
EXTRAPARMS="-www 8000 -nowwwpwd -sslwww 443 -loglevel normal,status,error -userdata /var/lib/domoticz/ -wwwcompress static"
That's quite a number of changes in one pass. Other hardware + other OS + other domoticz version (with also a new Open Z-Wave version)Segfault wrote: ↑Sunday 23 June 2019 13:30 1. My trusty RPi which was running Domoticz died. So I compiled/installed Domoticz in my server (version V4.10925). I figured one computer less is good and server has plenty of resources. I took the database from dead Pi and copied it over, then started Domoticz. Took the same USB Zwave controller dongle and plugged it into server of course. Bingo, everything was in place. My hardware (switches, sensors, everything) was all there, scenarios, whatnot. I had temperatures in Celsius in RPi.
Just do a normal install withSegfault wrote: ↑Sunday 23 June 2019 22:54 I have a RPi3 running Kodi in master bedroom. I will try and see if it comes up with my Domoticz backup from March, I created a USB stick image then. My Pi was running off USB, not SD card. Is there a place where I can download the Domoticz-4.x for Pi? I don't feel like compiling it.![]()
Code: Select all
curl -L https://install.domoticz.com | bash
Code: Select all
cd <domoticzdir>
sudo ./updatebeta
Sorry to hear it is not working out for you. I am not aware of any such magic flag in the database other then TempUnit which is holding your preference for Celsius or Fahrenheit. This setting will influence how values are presented but it does not change how temperatures are stored in the database and you tried to change that preference already.
On my system the setting F/C is controlled by the value in table preferences in record with key TempUnit.Segfault wrote: ↑Sunday 30 June 2019 20:51 Sorry for delay, I'm ready to spend a little more time on this issue. I dumped the database into a text file and found nothing relevant. Then I changed the C to F and dumped the database again, ran diff. Well, I think I've learned the hard way the F/C setting is not stored in the database.
Code: Select all
select * from preferences where key = 'TempUnit';
Users browsing this forum: No registered users and 1 guest