Problème installation dependance zwave après passage en V4

Bonjour,
Grosse galère, mais en préambule voici ma config :
Jeedon sur Raspberry P3 avec caret Zwave razberry ( avec désactivation du BT du RPi).
J’ai donc voulu faire le migration de 3.3.55 vers 4.1.19. Migration a fait fonctionner ( il a fallu que je fasse la mise a jour vers Debian Buster).
Je me suis rapidement trouvé avec des plantages de Jeedom ( plus de réponse) toutes les 20min environ, Jeedom redémarrant correctement après un OFF/ON. J’ai rapidement trouvé l’installation de dépendance du plugin wave provoqué ce blocage qui bloque toujours au même point.

Lancement de l'installation/mise à jour des dépendances openzwave
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian-security buster/updates InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Hit:4 http://archive.raspberrypi.org/debian buster InRelease
Hit:5 http://packages.microsoft.com/repos/code stable InRelease
Hit:6 https://deb.nodesource.com/node_12.x buster InRelease
Reading package lists...

Installation des dependances
Reading package lists...

Building dependency tree...

Reading state information...
build-essential is already the newest version (12.6).
g++ is already the newest version (4:8.3.0-1).
gcc is already the newest version (4:8.3.0-1).
git is already the newest version (1:2.20.1-2+deb10u3).
libjpeg-dev is already the newest version (1:1.5.2-2+deb10u1).
python-louie is already the newest version (1.1-4).
python-lxml is already the newest version (4.3.2-1+deb10u2).
make is already the newest version (4.2.1-1.2).
python-serial is already the newest version (3.4-4).
python-dev is already the newest version (2.7.16-1).
python-setuptools is already the newest version (40.8.0-1).
python-pyudev is already the newest version (0.21.0-1).
python-requests is already the newest version (2.21.0-1).
libudev-dev is already the newest version (241-7~deb10u6).
unzip is already the newest version (6.0-23+deb10u2).
python-pip is already the newest version (18.1-5+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Installation des dependances Python
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: urwid in /usr/local/lib/python2.7/dist-packages (2.1.2)
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: louie in /usr/lib/python2.7/dist-packages (1.1)
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (1.12.0)
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: tornado in /usr/local/lib/python2.7/dist-packages (5.1.1)
Requirement already satisfied: singledispatch in /usr/local/lib/python2.7/dist-packages (from tornado) (3.4.0.3)
Requirement already satisfied: futures in /usr/local/lib/python2.7/dist-packages (from tornado) (3.3.0)
Requirement already satisfied: backports-abc>=0.4 in /usr/local/lib/python2.7/dist-packages (from tornado) (0.5)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from singledispatch->tornado) (1.12.0)
mkdir: cannot create directory '/opt': File exists
Désinstallation de la version précédente
Installation de Python-OpenZwave
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Found existing installation: Cython 0.29.2
ERROR: Cannot uninstall 'Cython'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
apt-get install --force-yes -y cython
Reading package lists...
Building dependency tree...
Reading state information...
cython is already the newest version (0.29.2-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
Installing dependencies for python : 2 7 16
apt-get install --force-yes -y python-pip python-dev python-docutils python-setuptools python-louie
Reading package lists...
Building dependency tree...
Reading state information...
python-louie is already the newest version (1.1-4).
python-dev is already the newest version (2.7.16-1).
python-docutils is already the newest version (0.14+dfsg-4).
python-setuptools is already the newest version (40.8.0-1).
python-pip is already the newest version (18.1-5+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
apt-get install --force-yes -y build-essential libudev-dev g++
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.6).
g++ is already the newest version (4:8.3.0-1).
libudev-dev is already the newest version (241-7~deb10u6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
apt-get install --force-yes -y cython
Reading package lists...
Building dependency tree...
Reading state information...
cython is already the newest version (0.29.2-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
pip install nose-html
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: nose-html in /usr/local/lib/python2.7/dist-packages (1.1)
Requirement already satisfied: nose>=0.11.1 in /usr/lib/python2.7/dist-packages (from nose-html) (1.3.7)
pip install nose-progressive
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: nose-progressive in /usr/local/lib/python2.7/dist-packages (1.5.2)
Requirement already satisfied: blessings<2.0,>=1.3 in /usr/local/lib/python2.7/dist-packages (from nose-progressive) (1.7)
Requirement already satisfied: nose>=1.2.1 in /usr/lib/python2.7/dist-packages (from nose-progressive) (1.3.7)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from blessings<2.0,>=1.3->nose-progressive) (1.12.0)
pip install coverage
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: coverage in /usr/local/lib/python2.7/dist-packages (5.4)
pip install nose
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: nose in /usr/lib/python2.7/dist-packages (1.3.7)
pip install pylint
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: pylint in /usr/local/lib/python2.7/dist-packages (1.9.5)
Requirement already satisfied: singledispatch; python_version < "3.4" in /usr/local/lib/python2.7/dist-packages (from pylint) (3.4.0.3)
Requirement already satisfied: backports.functools-lru-cache; python_version == "2.7" in /usr/lib/python2.7/dist-packages (from pylint) (1.5)
Requirement already satisfied: configparser; python_version == "2.7" in /usr/lib/python2.7/dist-packages (from pylint) (3.5.0b2)
Requirement already satisfied: mccabe in /usr/local/lib/python2.7/dist-packages (from pylint) (0.6.1)
Requirement already satisfied: astroid<2.0,>=1.6 in /usr/local/lib/python2.7/dist-packages (from pylint) (1.6.6)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from pylint) (1.12.0)
Requirement already satisfied: isort>=4.2.5 in /usr/local/lib/python2.7/dist-packages (from pylint) (4.3.21)
Requirement already satisfied: wrapt in /usr/local/lib/python2.7/dist-packages (from astroid<2.0,>=1.6->pylint) (1.12.1)
Requirement already satisfied: enum34>=1.1.3; python_version < "3.4" in /usr/lib/python2.7/dist-packages (from astroid<2.0,>=1.6->pylint) (1.1.6)
Requirement already satisfied: lazy-object-proxy in /usr/local/lib/python2.7/dist-packages (from astroid<2.0,>=1.6->pylint) (1.5.2)
Requirement already satisfied: futures; python_version < "3.2" in /usr/local/lib/python2.7/dist-packages (from isort>=4.2.5->pylint) (3.3.0)
#pip install docutils
#pip install setuptools
#The following line crashes with a core dump
#pip install "Cython==0.22"

Dependencies for users installed (python 2 7 16)
sed -i -e '253s/.*//' openzwave/cpp/src/value_classes/ValueID.h
make[1]: Entering directory '/opt/python-openzwave/openzwave'
CPPFLAGS= make -C /opt/python-openzwave/openzwave/cpp/build/ -w 
make[2]: Entering directory '/opt/python-openzwave/openzwave/cpp/build'
Building OpenZWave Version 1.4.-1
Building tinystr.o
Building tinyxmlerror.o
Building tinyxml.o
Building tinyxmlparser.o
Building hid.o
Building aeskey.o
Building aescrypt.o
Building aestab.o
Building aes_modes.o
Building Security.o
Building SwitchToggleMultilevel.o
Building BarrierOperator.o
Building Clock.o
Building WakeUp.o
Building SwitchMultilevel.o
Building ZWavePlusInfo.o
Building SoundSwitch.o
Building CRC16Encap.o
Building MultiInstance.o
Building Language.o
Building DeviceResetLocally.o
Building DoorLock.o
Building ThermostatFanMode.o
Building MeterPulse.o
Building Configuration.o
Building SensorAlarm.o
Building SwitchToggleBinary.o
Building ThermostatMode.o
Building TimeParameters.o
Building UserCode.o
Building ManufacturerSpecific.o
Building Association.o
Building ClimateControlSchedule.o
Building Hail.o
Building ApplicationStatus.o
Building NodeNaming.o
Building DoorLockLogging.o
/opt/python-openzwave/openzwave/cpp/src/command_classes/DoorLockLogging.cpp: In member function 'virtual bool OpenZWave::DoorLockLogging::HandleMsg(const uint8*, uint32, uint32)':
/opt/python-openzwave/openzwave/cpp/src/command_classes/DoorLockLogging.cpp:312:15: warning: passing argument 1 to restrict-qualified parameter aliases with argument 4 [-Wrestrict]
      snprintf(usercode, sizeof(usercode), "%s %d", usercode, (int)_data[12+i]);
               ^~~~~~~~                             ~~~~~~~~
Building Protection.o
Building BasicWindowCovering.o
Building ManufacturerProprietary.o
Building Basic.o
Building SwitchAll.o
Building MultiCmd.o
Building MultiChannelAssociation.o
Building Lock.o
Building ThermostatFanState.o
Building SceneActivation.o
Building Powerlevel.o
Building Meter.o
Building AssociationCommandConfiguration.o
Building SensorMultilevel.o
Building ThermostatOperatingState.o
Building SwitchBinary.o
Building Battery.o
Building CentralScene.o
Building Indicator.o
Building SensorBinary.o
Building Proprietary.o
Building Version.o
Building Alarm.o
Building CommandClasses.o
Building ThermostatSetpoint.o
Building NoOperation.o
Building EnergyProduction.o
Building CommandClass.o
Building ControllerReplication.o
Building Color.o
Building Value.o
Building ValueList.o
Building ValueButton.o
Building ValueInt.o
Building ValueStore.o
Building ValueDecimal.o
Building ValueRaw.o
Building ValueString.o
Building ValueByte.o
Building ValueBool.o
Building ValueSchedule.o
Building ValueShort.o
Building Controller.o
Building Wait.o
Building Thread.o
Building Stream.o
Building Log.o
Building HidController.o
Building Mutex.o
Building SerialController.o
Building Event.o
Building FileOps.o
Building TimeStamp.o
Building FileOpsImpl.o
Building TimeStampImpl.o
Building WaitImpl.o
Building ThreadImpl.o
Building LogImpl.o
Building MutexImpl.o
Building SerialControllerImpl.o
Building EventImpl.o
Building Options.o
Building Scene.o
Building Utils.o
Building Driver.o
Building ZWSecurity.o
Building Group.o
Building Node.o
Building Manager.o
Building Msg.o
Building Notification.o
Creating vers.cpp
Building vers.o
Linking Static Library
Linking Shared Library
Making ozw_config file
make[2]: Leaving directory '/opt/python-openzwave/openzwave/cpp/build'
CPPFLAGS= make -C /opt/python-openzwave/openzwave/cpp/examples/MinOZW/ -w 
make[2]: Entering directory '/opt/python-openzwave/openzwave/cpp/examples/MinOZW'
Building Main.o
Linking /opt/python-openzwave/openzwave/.lib/MinOZW
g++   -o /opt/python-openzwave/openzwave/.lib/MinOZW /opt/python-openzwave/openzwave/.lib/Main.o /opt/python-openzwave/openzwave/libopenzwave.so -pthread
Creating Temporary Shell Launch Script
make[2]: Leaving directory '/opt/python-openzwave/openzwave/cpp/examples/MinOZW'
make[1]: Leaving directory '/opt/python-openzwave/openzwave'
python setup-lib.py build
running build
running build_ext
cythoning src-lib/libopenzwave/libopenzwave.pyx to src-lib/libopenzwave/libopenzwave.cpp
/usr/lib/python2.7/dist-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /opt/python-openzwave/src-lib/libopenzwave/libopenzwave.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
building 'libopenzwave' extension
creating build
creating build/temp.linux-aarch64-2.7
creating build/temp.linux-aarch64-2.7/src-lib
creating build/temp.linux-aarch64-2.7/src-lib/libopenzwave
aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-QCkEc0/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPY_SSIZE_T_CLEAN=1 -Iopenzwave/cpp/src/ -Iopenzwave/cpp/src/value_classes/ -Iopenzwave/cpp/src/platform/ -Iopenzwave/cpp/build/linux/ -I/usr/include/python2.7 -c src-lib/libopenzwave/libopenzwave.cpp -o build/temp.linux-aarch64-2.7/src-lib/libopenzwave/libopenzwave.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
src-lib/libopenzwave/libopenzwave.cpp:3: warning: "PY_SSIZE_T_CLEAN" redefined
 #define PY_SSIZE_T_CLEAN
 
<command-line>: note: this is the location of the previous definition
In file included from openzwave/cpp/src/aes/aescpp.h:26,
                 from openzwave/cpp/src/Driver.h:42,
                 from src-lib/libopenzwave/libopenzwave.cpp:638:
openzwave/cpp/src/aes/aes.h:75: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning( disable : 4324 )
 
openzwave/cpp/src/aes/aes.h:93: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning( default : 4324 )
 
src-lib/libopenzwave/libopenzwave.cpp: In function 'PyObject* __pyx_pf_12libopenzwave_9PyManager_268beginControllerCommand(__pyx_obj_12libopenzwave_PyManager*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*, PyObject*)':
src-lib/libopenzwave/libopenzwave.cpp:30325:204: warning: 'bool OpenZWave::Manager::BeginControllerCommand(uint32, OpenZWave::Driver::ControllerCommand, OpenZWave::Driver::pfnControllerCallback_t, void*, bool, uint8, uint8)' is deprecated [-Wdeprecated-declarations]
   __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_self->manager->BeginControllerCommand(__pyx_t_1, __pyx_t_2, __pyx_f_12libopenzwave_ctrl_callback, ((void *)__pyx_v_pythonfunc), __pyx_t_3, __pyx_t_4, __pyx_t_5)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 4120, __pyx_L1_error)
                                                                                                                                                                                                            ^
In file included from src-lib/libopenzwave/libopenzwave.cpp:643:
openzwave/cpp/src/Manager.h:1731:19: note: declared here
   DEPRECATED bool BeginControllerCommand( uint32 const _homeId, Driver::ControllerCommand _command, Driver::pfnControllerCallback_t _callback = NULL, void* _context = NULL, bool _highPower = false, uint8 _nodeId = 0xff, uint8 _arg = 0 );
                   ^~~~~~~~~~~~~~~~~~~~~~

Donc rétropédalage et restauration de ma sauvegarde en 3.3.55, et là c’est le drame j’ai le même problème de plantage lié à l’installation de dépendance de zwave, au même niveau.
Je suis preneur de toutes les solutions…
Merci

Bonjour,

Comment êtes vous passe de votre ancienne version de Raspberry Pi OS à Buster ?

Si vous avez suivit un tutoriel, lequel ?

J’ai dans un premier temps fait la migration vers V4 sur Stretch mais comme il y avait un avertissement dans le centre de mise a jour ( de migrer vers buster), j’ai fait comme suivant :

  • J’ai fait une sauvegarde de ma config migré en V4
  • J’ai ensuite fait une install propre de Jeedom avec l’image 64 bit dispo dans le tuto « installation automatique » https://doc.jeedom.com/fr_FR/installation/rpi
  • J’ai ensuite restauré ma sauvegarde V4

Arf,
je crois voir que vous avez installé une version 64 bits de Raspberry Pi OS ?

Si c’est bien la cas, externalisez votre sauvegarde de Jeedom et refaite une installation 32 bits.
- Vous n’aurez plus vos plantages de Jeedom.

Vous pouvez utiliser l’image 32 bits de Jeedom, ou suivre ce tutoriel :
Installation de Raspberry Pi OS et Jeedom sur Pi 3B+ sur un disque SSD mSata - Matériel Jeedom - Hardware / Raspberry Pi ou autre carte DIY (Faire soi-même) - Communauté Jeedom

Je tente ça, merci .
le truc bizarre c’est que si je désactive zwave ça roule, c’est juste l’installation des dépendances Zwave qui plate le système (et RPi 3 est bien 64 bits ?)

J’ai eu des problèmes similaire en 64 bits (plantage de Jeedom) le retour en 32 bits a été salvateur pour moi.

Nouveau plantage ( en lançant un backup) :exploding_head:
Je relance une install en 32 bits

Retour en 32 bits et les dependances zwave sont passées du premier coup … je croise les doigts

Revenez dire comment cela se passe sur CE sujet.
- Afin de signaler ce qui change pour vous et clôturer ce sujet.

Pour le moment ça roule, je viens de terminer, je laisse passer la nuit . Merci pour votre aide :+1:

Je confirme que tout est rentré dans l’ordre, encore merci :pray:.
Par contre une remarque, c’est le tuto officiel jeedom qui recommande le passage en 64 bits qui est je cite “bien plus performant”, y a t’il des investigations sur les plantages de cette version ?

Je ne sais pas vous dire, mais je vois cela sous un autre angle.

Ceux qui ont des Raspberry Pi4 ne rencontrent pas ce problème, donc cela va devoir encore être l’objet d’une image supplémentaire.

Le problème n’est pas le 64 bits, mais le 64 bits sur Raspberry Pi3 et dans certaines conditions seulement !
J’ai 2 Raspberry Pi3B+ qui ont eux ce problème, un sur SSD un sur carte MicroSD.
- d’autres utilisateurs, qui semblent avoir des configurations similaires, n’ont pas ce problème ou d’autres l’on eu et après une mise à jour du Kernel le problème a disparue…

Bref, tant que le problème n’est pas isolé, il est difficile d’en faire un modèle.

De plus, que cela soit clair pour tous, le problème ce n’est pas Jeedom, mais bien Raspberry Pi OS 64 bits (qui n’est pas encore en stade final).

Un message a été scindé en un nouveau sujet : Problème install dépendances après migration matérielle