Page 2 of 2

Re: Debian and Raspbian packages now available

Posted: Wednesday 21 August 2019 11:21
by pipiche
pocock wrote: Wednesday 21 August 2019 0:06
pipiche wrote: Tuesday 20 August 2019 16:00
For me, after installing the Domoticz and Zigate packages, we must have to migrate Databases and Config file. This has to go through a manual steps as it will be hard to detect if there is already a pre-existing installation.
We can use a domoticz.preinst script or domoticz-zigate-plugin.preinst script to detect which files and directories already exist. If the preinst scripts detect the wrong version or wrong file locations they can stop the package install process before any changes are made to the system.

Example for domoticz-zigate-plugin.preinst

Code: Select all

if [ -d /usr/lib/domoticz/plugins/Domoticz-Zigate/.git ];
then
  echo "You already installed the plugin from Git, please manually move the existing plugin directory aside"
  echo "and backup your configuration before installing this package"
  exit 1
fi
I like much that approach, but this should also be the case for Domoticz package as well, no ?

Re: Debian and Raspbian packages now available

Posted: Thursday 22 August 2019 21:24
by pocock
pipiche wrote: Wednesday 21 August 2019 11:21
I like much that approach, but this should also be the case for Domoticz package as well, no ?

Could you suggest exactly which file or directory I should check for an existing Domoticz installation?

Re: Debian and Raspbian packages now available

Posted: Wednesday 28 August 2019 17:49
by pipiche
pocock wrote: Thursday 22 August 2019 21:24
pipiche wrote: Wednesday 21 August 2019 11:21
I like much that approach, but this should also be the case for Domoticz package as well, no ?

Could you suggest exactly which file or directory I should check for an existing Domoticz installation?
I'm sorry, I'm not the best to tell you that, as most of the installation are home made.

You might check what the domoticz installer (script) is doing. I think that would be the most used environment.

Re: Debian and Raspbian packages now available

Posted: Tuesday 01 October 2019 10:10
by djdem1664
pocock wrote: Tuesday 20 August 2019 23:56 Thanks for the detailed log, this line shows us the problem:
djdem1664 wrote: Tuesday 20 August 2019 18:55
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'http://apt.debify.org/debify debify-buster-backports InRelease' doesn't support architecture 'arm64'
You have an arm64 architecture and I only built for amd64, i386 and armhf so far.

I'd be happy to build for arm64 as well but it might be a few days before I do another build, is that OK for you?

Is this your device?

http://www.orangepi.org/Orange%20Pi%203/
Hi Daniel,

could you advance on the package for my orange pi?

Thanks a lot

Re: Debian and Raspbian packages now available

Posted: Wednesday 30 October 2019 13:01
by djdem1664
djdem1664 wrote: Tuesday 01 October 2019 10:10
pocock wrote: Tuesday 20 August 2019 23:56 Thanks for the detailed log, this line shows us the problem:
djdem1664 wrote: Tuesday 20 August 2019 18:55
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'http://apt.debify.org/debify debify-buster-backports InRelease' doesn't support architecture 'arm64'
You have an arm64 architecture and I only built for amd64, i386 and armhf so far.

I'd be happy to build for arm64 as well but it might be a few days before I do another build, is that OK for you?

Is this your device?

http://www.orangepi.org/Orange%20Pi%203/
Hi Daniel,

could you advance on the package for my orange pi?

Thanks a lot
Do you have some news?

Re: Debian and Raspbian packages now available

Posted: Thursday 28 November 2019 12:30
by pipiche
Hello,

Would you mind to use the latest stable version of the plugin as the beta-4.4 is quiet out-dated.

Would it be possible to be able to enable file log ? /tmp/domoticz.txt for exemple ?

Re: Debian and Raspbian packages now available

Posted: Sunday 27 December 2020 16:58
by pocock
djdem1664 wrote: Wednesday 30 October 2019 13:01
djdem1664 wrote: Tuesday 01 October 2019 10:10
pocock wrote: Tuesday 20 August 2019 23:56 Thanks for the detailed log, this line shows us the problem:



You have an arm64 architecture and I only built for amd64, i386 and armhf so far.

I'd be happy to build for arm64 as well but it might be a few days before I do another build, is that OK for you?

Is this your device?

http://www.orangepi.org/Orange%20Pi%203/
Hi Daniel,

could you advance on the package for my orange pi?

Thanks a lot
Do you have some news?
The latest version, 2020.2-1 has now been packaged for Debian, please see this thread for details about the latest package. As part of this update, I also made builds for additional CPU architectures, including the arm64 (Orange Pi) build.

Please provide feedback if this works or not using the thread for the 2020.2-1 packages.