Page 1 of 1
Moving installation from WIndows to Linux on ARM device
Posted: Sunday 24 November 2019 14:31
by pdegeus
Im currently running my Domoticz installation on a Inte nuc.
I don't want to have this Nuc powered on for 24x7 anymore so i decided to move the installation to an ARM device running linux.
The device is an Pine64 with 1GByte of ram with Armbian on it.
I have installed docker on it so i can have also my Unifi netwerk controller running on it.
I have Domoticz running on docker and added my Aeotec Zwave Gen5 stick to it.
I see my Zwave nodes are visible.
I restore the database from my windows installarion to the domoticz installation on my Arm device.
But i don't see the configuration is being restored.
Al of my sensorts being used are now unused, the names i gave it are not restored, my variables used in blockly etc..
I did read somewhere here on the forum that scripts needs to be resoted manually.
Do i need to restore more configuration?
Is it even supported to restore complete configuration from windows to linux installation?
Any help is appreciated, thanks!
Update:
I checked the logs, the following entry gives an error regarding the restore process:
2019-11-24 13:47:56.989 Error: Restore Database: Could not open backup file for writing!
I checked the linux permissions, even with 777 the error occurs.
Version running windows device:
V4.10717
Build Hash: b38b49e5
Build Date: 2019-05-09 13:04:08
Version running linux device:
V4.10726
Build Hash: be79a17d8
Build Date: 2019-05-10 09:37:55
Re: Moving installation from WIndows to Linux on ARM device
Posted: Sunday 24 November 2019 15:10
by waaren
pdegeus wrote: ↑Sunday 24 November 2019 14:31
I restore the database from my windows installation to the domoticz installation on my Arm device.
Can you just try to copy your database from the windows system to your linux box. Domoticz should be able to open it without the need to backup / restore.
Re: Moving installation from WIndows to Linux on ARM device
Posted: Sunday 24 November 2019 17:38
by pdegeus
waaren wrote: ↑Sunday 24 November 2019 15:10
pdegeus wrote: ↑Sunday 24 November 2019 14:31
I restore the database from my windows installation to the domoticz installation on my Arm device.
Can you just try to copy your database from the windows system to your linux box. Domoticz should be able to open it without the need to backup / restore.
I copied the database over en restarted the container.
It does start but domoticz doesn show my devices and doesn't show my zwave stick.
ALso doesn't let me allow to add the zwave stick.
Maybe that the difference in version is scewing up my installation/trying to restore database?
I'll check if ik can find an docker container with the same domoticz version and try it again.
Re: Moving installation from WIndows to Linux on ARM device
Posted: Sunday 24 November 2019 18:19
by DewGew
pdegeus wrote: ↑Sunday 24 November 2019 17:38
waaren wrote: ↑Sunday 24 November 2019 15:10
pdegeus wrote: ↑Sunday 24 November 2019 14:31
I restore the database from my windows installation to the domoticz installation on my Arm device.
Can you just try to copy your database from the windows system to your linux box. Domoticz should be able to open it without the need to backup / restore.
I copied the database over en restarted the container.
It does start but domoticz doesn show my devices and doesn't show my zwave stick.
ALso doesn't let me allow to add the zwave stick.
Maybe that the difference in version is scewing up my installation/trying to restore database?
I'll check if ik can find an docker container with the same domoticz version and try it again.
Check the settings for your zwave in hardware. You probobly need to change usb serial port settings.
Re: Moving installation from WIndows to Linux on ARM device
Posted: Sunday 24 November 2019 18:25
by waaren
pdegeus wrote: ↑Sunday 24 November 2019 17:38
I copied the database over en restarted the container.
It does start but domoticz doesn show my devices and doesn't show my zwave stick.
If the domoticz version is higher then the one last used with this database you should be good to go.
Also make sure you modify the ports for your hardware in the hardware tab. Linux uses different port(name)s than Windows
Re: Moving installation from WIndows to Linux on ARM device
Posted: Monday 23 December 2019 19:48
by basmeyer
pdegeus wrote: ↑Sunday 24 November 2019 14:31
...
I have Domoticz running on docker and added my Aeotec Zwave Gen5 stick to it.
...
Could you please share how to so this. I also need this stick to "pass through".
I am pulling my last single hair out how... It seems like a mystery.
By default Domoticz on a Docker does not appear to work with Z-wave devices.
I had a look at Portainer as a tool but without some help I am still in the dark.
Thanks.
Re: Moving installation from WIndows to Linux on ARM device
Posted: Wednesday 25 December 2019 10:55
by pdegeus
basmeyer wrote: ↑Monday 23 December 2019 19:48
pdegeus wrote: ↑Sunday 24 November 2019 14:31
...
I have Domoticz running on docker and added my Aeotec Zwave Gen5 stick to it.
...
Could you please share how to so this. I also need this stick to "pass through".
I am pulling my last single hair out how... It seems like a mystery.
By default Domoticz on a Docker does not appear to work with Z-wave devices.
I had a look at Portainer as a tool but without some help I am still in the dark.
Thanks.
I've been using the image and followed the guide on the following page:
https://hub.docker.com/r/linuxserver/domoticz.
You need to check on which interface your stick appears. You need to add that interface to your container config.
At first I used the docker cli, now I also use the portainer tool.
But with the portainer tool you still need to know what you are doing
.
I hope the link get you further with getting your stick to work.