Bonjour à tous
cela fait quelques jours que je cherche dans la doc, les sujets du forum… mais je 'narrive pas à me débrouiller.
Je souhaite rendre opérationnel le plugin eufy (sécurité) depuis l’achat d’une caméra. Malheureusement, l’installation de l’image Docker en local ne fonctionne pas (je ne la trouve pas dans Docker Management malgré que le plugin me dit qu’elle es tinstallée).
En distant c’est pareil, j’ai un container fonctionnel sur mon Synology, mais pas moyen de remplir correctement IP et port pour que le test fonctionne dans le plugin.
Du coup qui serait assez gentil / patient pour m’aider ? J’ai épuisé toute ma science
Je vous envoie les logs du plugin et la santé, si besoin d’autres choses n’hésitez pas.
Le log « Eufy_packages »
+ echo '*******************Begin of package installation******************'
*******************Begin of package installation******************
+ touch /tmp/jeedom_install_in_progress_eufy
+ echo 1
+ echo 2
+ sudo killall apt apt-get unattended-upgr
apt: no process found
apt-get: no process found
+ sudo rm /var/lib/apt/lists/lock
+ sudo rm /var/cache/apt/archives/lock
+ sudo rm /var/lib/dpkg/lock /var/lib/dpkg/lock-frontend
+ sudo sudo dpkg --configure -a --force-confdef
+ sudo apt update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://security.debian.org buster/updates InRelease [34.8 kB]
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Ign:4 http://deb.debian.org/debian buster-backports InRelease
Err:5 http://deb.debian.org/debian buster-backports Release
404 Not Found [IP: 2a04:4e42:1d::644 80]
Hit:6 https://deb.nodesource.com/node_18.x nodistro InRelease
Get:7 http://armbian.tnahosting.net/apt buster InRelease [52.7 kB]
Get:8 http://armbian.tnahosting.net/apt buster/main armhf Packages [199 kB]
Get:9 http://armbian.tnahosting.net/apt buster/main all Packages [8408 B]
Get:10 http://armbian.tnahosting.net/apt buster/main arm64 Packages [520 kB]
Get:11 http://armbian.tnahosting.net/apt buster/main all Contents (deb) [32.5 kB]
Get:12 http://armbian.tnahosting.net/apt buster/main arm64 Contents (deb) [10.3 MB]
Get:13 http://armbian.tnahosting.net/apt buster/main armhf Contents (deb) [4047 kB]
Reading package lists...
E: The repository 'http://deb.debian.org/debian buster-backports Release' no longer has a Release file.
+ echo 3
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3 is already the newest version (3.7.3-1).
0 upgraded, 0 newly installed, 0 to remove and 251 not upgraded.
+ echo 4
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-pip
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-pip is already the newest version (18.1-5).
0 upgraded, 0 newly installed, 0 to remove and 251 not upgraded.
+ echo 5
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-pyudev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-pyudev is already the newest version (0.21.0-1).
0 upgraded, 0 newly installed, 0 to remove and 251 not upgraded.
+ echo 6
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-requests
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
python3-cryptography python3-openssl python3-socks
The following packages will be upgraded:
python3-requests
1 upgraded, 0 newly installed, 0 to remove and 250 not upgraded.
Need to get 67.4 kB of archives.
After this operation, 1024 B of additional disk space will be used.
Get:1 http://security.debian.org buster/updates/main arm64 python3-requests all 2.21.0-1+deb10u1 [67.4 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 67.4 kB in 0s (956 kB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 62530 files and directories currently installed.)
Preparing to unpack .../python3-requests_2.21.0-1+deb10u1_all.deb ...
Unpacking python3-requests (2.21.0-1+deb10u1) over (2.21.0-1) ...
Setting up python3-requests (2.21.0-1+deb10u1) ...
+ echo 7
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-setuptools
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-setuptools is already the newest version (40.8.0-1).
0 upgraded, 0 newly installed, 0 to remove and 250 not upgraded.
+ echo 8
+ sudo apt install -o Dpkg::Options::=--force-confdef -y python3-dev
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
python3-dev is already the newest version (3.7.3-1).
0 upgraded, 0 newly installed, 0 to remove and 250 not upgraded.
+ echo 9
++ find /usr/local/lib/python2.7/dist-packages/ /usr/local/lib/python3.7/dist-packages/ -mindepth 1 -maxdepth 1 -type d -exec du -ks '{}' +
++ awk '$1 <= 4'
++ cut -f 2-
+ RESULTTODELETE=
++ echo ''
++ sed 's, ,\ ,g'
+ RESULTTODELETE2=
+ echo ''
+ xargs rm -rf
+ echo 10
+ sudo pip3 cache purge
Files removed: 12
+ echo 11
+ sudo pip3 install --upgrade pip
Requirement already satisfied: pip in /usr/local/lib/python3.7/dist-packages (24.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 12
+ sudo python3 -m pip install --force-reinstall --upgrade wheel
Collecting wheel
Downloading wheel-0.42.0-py3-none-any.whl.metadata (2.2 kB)
Downloading wheel-0.42.0-py3-none-any.whl (65 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.4/65.4 kB 3.3 MB/s eta 0:00:00
Installing collected packages: wheel
Attempting uninstall: wheel
Found existing installation: wheel 0.40.0
Uninstalling wheel-0.40.0:
Successfully uninstalled wheel-0.40.0
Successfully installed wheel-0.42.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 13
+ sudo python3 -m pip install --force-reinstall --upgrade requests
Collecting requests
Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting charset-normalizer<4,>=2 (from requests)
Downloading charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests)
Downloading idna-3.7-py3-none-any.whl.metadata (9.9 kB)
Collecting urllib3<3,>=1.21.1 (from requests)
Downloading urllib3-2.0.7-py3-none-any.whl.metadata (6.6 kB)
Collecting certifi>=2017.4.17 (from requests)
Downloading certifi-2024.7.4-py3-none-any.whl.metadata (2.2 kB)
Downloading requests-2.31.0-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 4.7 MB/s eta 0:00:00
Downloading certifi-2024.7.4-py3-none-any.whl (162 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.0/163.0 kB 6.7 MB/s eta 0:00:00
Downloading charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.7/133.7 kB 4.6 MB/s eta 0:00:00
Downloading idna-3.7-py3-none-any.whl (66 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 2.7 MB/s eta 0:00:00
Downloading urllib3-2.0.7-py3-none-any.whl (124 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 5.4 MB/s eta 0:00:00
Installing collected packages: urllib3, idna, charset-normalizer, certifi, requests
Attempting uninstall: urllib3
Found existing installation: urllib3 2.0.7
Uninstalling urllib3-2.0.7:
Successfully uninstalled urllib3-2.0.7
Attempting uninstall: idna
Found existing installation: idna 3.6
Uninstalling idna-3.6:
Successfully uninstalled idna-3.6
Attempting uninstall: charset-normalizer
Found existing installation: charset-normalizer 3.3.2
Uninstalling charset-normalizer-3.3.2:
Successfully uninstalled charset-normalizer-3.3.2
Attempting uninstall: certifi
Found existing installation: certifi 2023.11.17
Uninstalling certifi-2023.11.17:
Successfully uninstalled certifi-2023.11.17
Attempting uninstall: requests
Found existing installation: requests 2.31.0
Uninstalling requests-2.31.0:
Successfully uninstalled requests-2.31.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
zigpy-zigate 0.9.2 requires pyserial>=3.5, but you have pyserial 3.4 which is incompatible.
Successfully installed certifi-2024.7.4 charset-normalizer-3.3.2 idna-3.7 requests-2.31.0 urllib3-2.0.7
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 14
+ sudo python3 -m pip install --force-reinstall --upgrade pyudev
Collecting pyudev
Downloading pyudev-0.24.3-py3-none-any.whl.metadata (4.6 kB)
Downloading pyudev-0.24.3-py3-none-any.whl (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 3.2 MB/s eta 0:00:00
Installing collected packages: pyudev
Attempting uninstall: pyudev
Found existing installation: pyudev 0.24.1
Uninstalling pyudev-0.24.1:
Successfully uninstalled pyudev-0.24.1
Successfully installed pyudev-0.24.3
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 15
+ sudo python3 -m pip install --force-reinstall --upgrade six
Collecting six
Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six
Attempting uninstall: six
Found existing installation: six 1.16.0
Uninstalling six-1.16.0:
Successfully uninstalled six-1.16.0
Successfully installed six-1.16.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 16
+ sudo python3 -m pip install --force-reinstall --upgrade pyserial
Collecting pyserial
Downloading pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB)
Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 kB 3.6 MB/s eta 0:00:00
Installing collected packages: pyserial
Attempting uninstall: pyserial
Found existing installation: pyserial 3.4
Uninstalling pyserial-3.4:
Successfully uninstalled pyserial-3.4
Successfully installed pyserial-3.5
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 17
+ sudo python3 -m pip install --force-reinstall --upgrade websocket-client
Collecting websocket-client
Downloading websocket_client-1.6.1-py3-none-any.whl.metadata (7.6 kB)
Downloading websocket_client-1.6.1-py3-none-any.whl (56 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.9/56.9 kB 2.3 MB/s eta 0:00:00
Installing collected packages: websocket-client
Attempting uninstall: websocket-client
Found existing installation: websocket-client 1.6.1
Uninstalling websocket-client-1.6.1:
Successfully uninstalled websocket-client-1.6.1
Successfully installed websocket-client-1.6.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
+ echo 18
+ sudo chmod +x /var/www/html/core/class/../../plugins/eufy/resources/setup_eufy.sh
+ sudo /var/www/html/core/class/../../plugins/eufy/resources/setup_eufy.sh
+ echo 19
+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end eufy
+ echo 20
+ rm /tmp/jeedom_install_in_progress_eufy
+ echo '*******************End of package installation******************'
*******************End of package installation******************
Le log Eufy
[2024-07-22 00:00:10] ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2024-07-22 00:00:11] ERROR : Container Eufy non démarré
[2024-07-22 00:03:27] ERROR : Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2024-07-22 00:03:29] ERROR : Container Eufy non démarré