Debian and Raspbian packages now available

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Debian and Raspbian packages now available

Post 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 ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pocock
Posts: 66
Joined: Monday 17 September 2018 9:39
Target OS: Linux
Domoticz version:

Re: Debian and Raspbian packages now available

Post 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?
Daniel Pocock, Debian Developer
https://danielpocock.com
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Debian and Raspbian packages now available

Post 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.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
djdem1664
Posts: 5
Joined: Tuesday 20 August 2019 11:43
Target OS: Linux
Domoticz version:
Contact:

Re: Debian and Raspbian packages now available

Post 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
djdem1664
Posts: 5
Joined: Tuesday 20 August 2019 11:43
Target OS: Linux
Domoticz version:
Contact:

Re: Debian and Raspbian packages now available

Post 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?
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Debian and Raspbian packages now available

Post 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 ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
pocock
Posts: 66
Joined: Monday 17 September 2018 9:39
Target OS: Linux
Domoticz version:

Re: Debian and Raspbian packages now available

Post 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.
Daniel Pocock, Debian Developer
https://danielpocock.com
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest