suite à une coupure de courant de plusieurs heures hier, depuis le redémarrage j’ai ce message
Impossible de lancer un démon hikvision, vérifiez le port
pourtant, les flux de caméras fonctionnent et s’affichent bien.
dans les log j’ai ça :
[2022-06-24 08:26:06][DEBUG] : Lancement démon hikvision : nice -n 19 nodejs /var/www/html/plugins/hikvision/resources/hikvision.js --addr xx.xx.xx.xx --port 65002 --user xxxxxxxxx --pass "xxxxxxxxxxx" --debug debug --jeedom http://127.0.0.1:80/plugins/hikvision/core/api/jeeHikvision.php --key xxxxxxxxxxxxx
[2022-06-24 08:26:50][ERROR] : Impossible de lancer un démon hikvision, vérifiez le port
j’ai relancé l’installation des dépendances , et ça semble refonctionner mais dans les logs des dépendances j’ai ça. je mets le log entier , mais il y a des warnings à la fin :
Début de l'installation
--2022-06-24 06:27:13-- https://raw.githubusercontent.com/lunarok/jeedom_nodejs/master/nodejs.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1552 (1.5K) [text/plain]
Saving to: 'dependencies.sh'
0K . 100% 3.85M=0s
2022-06-24 06:27:13 (3.85 MB/s) - 'dependencies.sh' saved [1552/1552]
dependencies.sh: 3: [: /tmp/jeedom/hikvision/dependance: unexpected operator
Nodejs non installé
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Hit:2 http://httpredir.debian.org/debian buster InRelease
Get:3 http://httpredir.debian.org/debian buster-updates InRelease [51.9 kB]
Hit:5 https://deb.nodesource.com/node_14.x buster InRelease
Get:6 http://httpredir.debian.org/debian buster-backports InRelease [46.7 kB]
Get:4 http://armbian.systemonachip.net/apt buster InRelease [26.9 kB]
Get:7 http://security.debian.org buster/updates/main arm64 Packages [323 kB]
Get:8 http://security.debian.org buster/updates/main armhf Packages [327 kB]
Get:9 http://security.debian.org buster/updates/main Translation-en [178 kB]
Get:10 http://httpredir.debian.org/debian buster-updates/main armhf Packages.diff/Index [11.6 kB]
Get:11 http://httpredir.debian.org/debian buster-updates/main arm64 Packages.diff/Index [11.6 kB]
Get:12 http://httpredir.debian.org/debian buster-updates/main armhf Packages 2022-06-11-2007.01.pdiff [169 B]
Get:12 http://httpredir.debian.org/debian buster-updates/main armhf Packages 2022-06-11-2007.01.pdiff [169 B]
Get:13 http://httpredir.debian.org/debian buster-updates/main arm64 Packages 2022-06-11-2007.01.pdiff [169 B]
Get:13 http://httpredir.debian.org/debian buster-updates/main arm64 Packages 2022-06-11-2007.01.pdiff [169 B]
Get:14 http://httpredir.debian.org/debian buster-backports/main armhf Packages.diff/Index [27.8 kB]
Get:15 http://httpredir.debian.org/debian buster-backports/main arm64 Packages.diff/Index [27.8 kB]
Get:16 http://httpredir.debian.org/debian buster-backports/main Translation-en.diff/Index [27.8 kB]
Get:17 http://httpredir.debian.org/debian buster-backports/main armhf Contents (deb).diff/Index [27.9 kB]
Get:18 http://httpredir.debian.org/debian buster-backports/main arm64 Contents (deb).diff/Index [27.9 kB]
Get:19 http://httpredir.debian.org/debian buster-backports/non-free arm64 Packages.diff/Index [25.8 kB]
Get:20 http://httpredir.debian.org/debian buster-backports/non-free Translation-en.diff/Index [27.8 kB]
Get:21 http://httpredir.debian.org/debian buster-backports/non-free arm64 Contents (deb).diff/Index [22.9 kB]
Get:22 http://httpredir.debian.org/debian buster-backports/main armhf Packages 2022-06-07-1410.28.pdiff [408 B]
Get:23 http://httpredir.debian.org/debian buster-backports/main armhf Packages 2022-06-07-2014.25.pdiff [1064 B]
Get:24 http://httpredir.debian.org/debian buster-backports/main armhf Packages 2022-06-09-2008.52.pdiff [605 B]
Get:25 http://httpredir.debian.org/debian buster-backports/main armhf Packages 2022-06-10-0204.18.pdiff [489 B]
Get:26 http://httpredir.debian.org/debian buster-backports/main armhf Packages 2022-06-21-0212.36.pdiff [3773 B]
Get:26 http://httpredir.debian.org/debian buster-backports/main armhf Packages 2022-06-21-0212.36.pdiff [3773 B]
Get:27 http://httpredir.debian.org/debian buster-backports/main arm64 Packages 2022-06-07-1410.28.pdiff [408 B]
Get:28 http://httpredir.debian.org/debian buster-backports/main arm64 Packages 2022-06-07-2014.25.pdiff [1079 B]
Get:29 http://httpredir.debian.org/debian buster-backports/main arm64 Packages 2022-06-09-2008.52.pdiff [612 B]
Get:30 http://armbian.systemonachip.net/apt buster/main arm64 Packages [343 kB]
Get:31 http://httpredir.debian.org/debian buster-backports/main arm64 Packages 2022-06-10-0204.18.pdiff [490 B]
Get:32 http://httpredir.debian.org/debian buster-backports/main arm64 Packages 2022-06-21-0212.36.pdiff [3410 B]
Get:33 http://httpredir.debian.org/debian buster-backports/main Translation-en 2022-06-07-1410.28.pdiff [374 B]
Get:34 http://httpredir.debian.org/debian buster-backports/main Translation-en 2022-06-09-2008.52.pdiff [778 B]
Get:35 http://httpredir.debian.org/debian buster-backports/main Translation-en 2022-06-20-2009.00.pdiff [2023 B]
Get:32 http://httpredir.debian.org/debian buster-backports/main arm64 Packages 2022-06-21-0212.36.pdiff [3410 B]
Get:36 http://httpredir.debian.org/debian buster-backports/main Translation-en 2022-06-21-0212.36.pdiff [1573 B]
Get:37 http://httpredir.debian.org/debian buster-backports/main Translation-en 2022-06-21-0816.56.pdiff [904 B]
Get:37 http://httpredir.debian.org/debian buster-backports/main Translation-en 2022-06-21-0816.56.pdiff [904 B]
Get:38 http://httpredir.debian.org/debian buster-backports/main armhf Contents (deb) 2022-06-07-1410.28.pdiff [1553 B]
Get:39 http://armbian.systemonachip.net/apt buster/main armhf Packages [206 kB]
Get:40 http://armbian.systemonachip.net/apt buster/main armhf Contents (deb) [16.8 MB]
Get:41 http://httpredir.debian.org/debian buster-backports/main armhf Contents (deb) 2022-06-07-2014.25.pdiff [93 B]
Get:42 http://httpredir.debian.org/debian buster-backports/main armhf Contents (deb) 2022-06-09-2008.52.pdiff [500 B]
Get:43 http://httpredir.debian.org/debian buster-backports/main armhf Contents (deb) 2022-06-10-0204.18.pdiff [279 B]
Get:44 http://httpredir.debian.org/debian buster-backports/main armhf Contents (deb) 2022-06-20-2009.00.pdiff [98.0 kB]
Get:45 http://httpredir.debian.org/debian buster-backports/main armhf Contents (deb) 2022-06-21-0212.36.pdiff [270 kB]
Get:45 http://httpredir.debian.org/debian buster-backports/main armhf Contents (deb) 2022-06-21-0212.36.pdiff [270 kB]
Get:46 http://httpredir.debian.org/debian buster-backports/main arm64 Contents (deb) 2022-06-07-1410.28.pdiff [1548 B]
Get:47 http://httpredir.debian.org/debian buster-backports/main arm64 Contents (deb) 2022-06-07-2014.25.pdiff [93 B]
Get:48 http://httpredir.debian.org/debian buster-backports/main arm64 Contents (deb) 2022-06-09-2008.52.pdiff [519 B]
Get:49 http://httpredir.debian.org/debian buster-backports/main arm64 Contents (deb) 2022-06-10-0204.18.pdiff [280 B]
Get:50 http://httpredir.debian.org/debian buster-backports/main arm64 Contents (deb) 2022-06-20-2009.00.pdiff [98.0 kB]
Get:51 http://httpredir.debian.org/debian buster-backports/main arm64 Contents (deb) 2022-06-21-0212.36.pdiff [208 kB]
Get:51 http://httpredir.debian.org/debian buster-backports/main arm64 Contents (deb) 2022-06-21-0212.36.pdiff [208 kB]
Get:52 http://httpredir.debian.org/debian buster-backports/non-free arm64 Packages 2022-06-09-2008.52.pdiff [31 B]
Get:53 http://httpredir.debian.org/debian buster-backports/non-free Translation-en 2022-06-09-2008.52.pdiff [31 B]
Get:54 http://httpredir.debian.org/debian buster-backports/non-free arm64 Contents (deb) 2022-06-09-2008.52.pdiff [54 B]
Get:52 http://httpredir.debian.org/debian buster-backports/non-free arm64 Packages 2022-06-09-2008.52.pdiff [31 B]
Get:54 http://httpredir.debian.org/debian buster-backports/non-free arm64 Contents (deb) 2022-06-09-2008.52.pdiff [54 B]
Get:53 http://httpredir.debian.org/debian buster-backports/non-free Translation-en 2022-06-09-2008.52.pdiff [31 B]
Get:55 http://armbian.systemonachip.net/apt buster/main arm64 Contents (deb) [23.9 MB]
Get:56 http://armbian.systemonachip.net/apt buster/buster-utils arm64 Packages [22.0 kB]
Get:57 http://armbian.systemonachip.net/apt buster/buster-utils armhf Packages [21.2 kB]
Fetched 43.3 MB in 55s (781 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
lsb-release is already the newest version (10.2019051400).
0 upgraded, 0 newly installed, 0 to remove and 220 not upgraded.
dependencies.sh: 29: dependencies.sh: [[: not found
KO, version obsolète à upgrader
Suppression du Nodejs existant et installation du paquet recommandé
Reading package lists...
Building dependency tree...
Reading state information...
Package 'npm' is not installed, so not removed
The following packages will be REMOVED:
nodejs*
0 upgraded, 0 newly installed, 1 to remove and 220 not upgraded.
After this operation, 122 MB disk space will be freed.
(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 ... 59304 files and directories currently installed.)
Removing nodejs (14.19.3-deb-1nodesource1) ...
dpkg: warning: while removing nodejs, directory '/usr/lib/node_modules' not empty so not removed
Processing triggers for man-db (2.8.5-2) ...
dependencies.sh: 38: [: aarch64: unexpected operator
Utilisation du dépot officiel
## Installing the NodeSource Node.js 14.x repo...
## Populating apt-get cache...
+ apt-get update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://httpredir.debian.org/debian buster InRelease
Hit:3 http://httpredir.debian.org/debian buster-updates InRelease
Hit:4 http://httpredir.debian.org/debian buster-backports InRelease
Hit:5 https://deb.nodesource.com/node_14.x buster InRelease
Ign:6 https://es-mirror.bret.dk/armbian/apt buster InRelease
Err:7 https://armbian.site-meganet.com/apt buster Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 37.59.130.10 443]
Reading package lists...
E: The repository 'http://apt.armbian.com buster Release' no longer has a Release file.
Error executing command, exiting
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
nodejs
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:
0 upgraded, 1 newly installed, 0 to remove and 220 not upgraded.
Need to get 0 B/24.8 MB of archives.
After this operation, 122 MB of additional disk space will be used.
Selecting previously unselected package nodejs.
(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 ... 54342 files and directories currently installed.)
Preparing to unpack .../nodejs_14.19.3-deb-1nodesource1_arm64.deb ...
Unpacking nodejs (14.19.3-deb-1nodesource1) ...
Setting up nodejs (14.19.3-deb-1nodesource1) ...
Processing triggers for man-db (2.8.5-2) ...
Version actuelle : v14.19.3
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
added 69 packages from 201 contributors and audited 69 packages in 31.293s
2 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Fin de l'installation