Impossible de relancer les dépendances openVPN

Bonjour,

suite a un changement de eMMC, et à une restauration d’image (qui s’est très bien déroulée d’ailleurs), j’ai un problème avec l’openVPN. Je n’arrive pas à relancer les dépendances. J’ai désinstallé et réinstallé le plugin, mais ca ne semble pas aider.

Voici ce qu’indique le log
image

Et voici le rapport de santé.

Que puis-je faire d’autre?

Merci!

Slt tu es sur que c’est le log des dépendance que tu as posté ?

Salut,

bin c’est le log d’openVPN. Ou est-ce que je trouve le log des dépendances?

1 « J'aime »

voici l’autre log OpenVPN.

Bonjour,

Concernant le partage de log, veuillez le le point 11: Comment nous aider à vous aider - ou Comment poser une bonne question?
Il faut copier / coller le contenu dans une balise Texte préformaté

Concernant votre problème, il y a des lignes en erreurs dans votre log, vous dépôts sont trop vieux.
essayez de relancer la mise à jour du core et montrez-nous le log

1 « J'aime »

Bonjour Mips,

Merci pour le conseil!. J’ai essayé de copier le texte, mais je n’arrivais pas à avoir tout le log pour une raison ou pour une autre. J’avais juste la moitié. Maintenant j’y suis arrivé. Donc revoilà le log.

0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_openvpn
0003|+ echo 1
0004|+ echo 2
0005|+ sudo apt update
0006|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0007|Get:1 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
0008|Get:3 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
0009|Get:4 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
0010|Err:2 https://repo.jeedom.com/odroid stable InRelease
0011|502  Bad Gateway [IP: 51.178.69.128 443]
0012|Ign:5 https://oph.mdrjr.net/meveric all InRelease
0013|Ign:6 https://oph.mdrjr.net/meveric buster InRelease
0014|Err:7 https://oph.mdrjr.net/meveric all Release
0015|Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
0016|Get:8 http://www.deb-multimedia.org buster InRelease [17.8 kB]
0017|Err:9 https://oph.mdrjr.net/meveric buster Release
0018|Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
0019|Reading package lists...
0020|E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
0021|E: Repository 'http://ftp.uk.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
0022|E: Repository 'http://ftp.uk.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
0023|E: The repository 'https://oph.mdrjr.net/meveric all Release' no longer has a Release file.
0024|E: The repository 'https://oph.mdrjr.net/meveric buster Release' no longer has a Release file.
0025|E: Repository 'http://www.deb-multimedia.org buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
0026|+ echo 3
0027|+ sudo apt install -o Dpkg::Options::=--force-confdef -y openvpn
0028|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0029|Reading package lists...
0030|Building dependency tree...
0031|Reading state information...
0032|The following additional packages will be installed:
0033|libpkcs11-helper1
0034|Suggested packages:
0035|resolvconf openvpn-systemd-resolved
0036|Recommended packages:
0037|easy-rsa
0038|The following NEW packages will be installed:
0039|libpkcs11-helper1 openvpn
0040|0 upgraded, 2 newly installed, 0 to remove and 62 not upgraded.
0041|Need to get 464 kB/509 kB of archives.
0042|After this operation, 1,299 kB of additional disk space will be used.
0043|Err:1 http://ftp.uk.debian.org/debian buster/main arm64 openvpn arm64 2.4.7-1
0044|404  Not Found [IP: 78.129.164.123 80]
0045|E: Failed to fetch http://ftp.uk.debian.org/debian/pool/main/o/openvpn/openvpn_2.4.7-1_arm64.deb  404  Not Found [IP: 78.129.164.123 80]
0046|E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
0047|+ echo 4
0048|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end openvpn
0049|+ rm /tmp/jeedom_install_in_progress_openvpn
0050|+ echo '*******************End of package installation******************'
0051|*******************End of package installation******************

J’avais déja essayé une mise à jour du core suivant un commentaire dans une autre thread. Ca n’a pas aidé.

voici le log de la mise a jour Jeedom.

0000|[START UPDATE]
0001|[PROGRESS][1]
0002|****Update from 4.2.20 (2022-08-13 08:07:02)****
0003|Parameters : {"preUpdate":"0","backup::before":"1","plugins":"1","core":"1","force":"0","update::reapply":""}
0004|Send begin of update event...OK
0005|Check update...OK
0006|[PROGRESS][5]
0007|Check rights...
0008|OK
0009|[START BACKUP]
0010|***************Start of Jeedom backup at 2022-08-13 08:07:05***************
0011|Envoi l'évènement de début de sauvegarde...OK
0012|Vérification des droits sur les fichiers...
0013|OK
0014|Vérification de la base de données...OK
0015|Sauvegarde la base de données...
0016|OK
0017|Persistance du cache :
0018|OK
0019|Création de  l'archive...
0020|OK
0021|Nettoyage de l'ancienne sauvegarde...OK
0022|Limitation de la taille des sauvegardes à 100 Mo...
0023|Supprime : /var/www/html/core/php/../../backup/backup-salon_jeedom-4.2.20-2022-08-13-00h20.tar.gz
0024|OK
0025|Nom de la sauvegarde : /var/www/html/core/php/../../backup/backup-salon_jeedom-4.2.20-2022-08-13-08h07.tar.gz
0026|Vérification des droits sur les fichiers...
0027|OK
0028|Envoi l'évènement de fin de sauvegarde...OK
0029|Durée de la sauvegarde : 38s
0030|***************Fin de la sauvegarde de Jeedom***************
0031|[END BACKUP SUCCESS]
0032|[PROGRESS][10]
0033|[PROGRESS][15]
0034|Download url : https://github.com/jeedom/core/archive/V4-stable.zip
0035|Download in progress...--2022-08-13 06:07:44--  https://github.com/jeedom/core/archive/V4-stable.zip
0036|Resolving github.com (github.com)... 140.82.121.3
0037|Connecting to github.com (github.com)|140.82.121.3|:443... connected.
0038|HTTP request sent, awaiting response... 302 Found
0039|Location: https://codeload.github.com/jeedom/core/zip/refs/heads/V4-stable [following]
0040|--2022-08-13 06:07:44--  https://codeload.github.com/jeedom/core/zip/refs/heads/V4-stable
0041|Resolving codeload.github.com (codeload.github.com)... 140.82.121.10
0042|Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected.
0043|HTTP request sent, awaiting response... 200 OK
0044|Length: unspecified [application/zip]
0045|Saving to: '/tmp/jeedom/install/jeedom_update.zip'
0046|0K ........
0047|........ ........ ........ ........ ........ 5.56M
0048|3072K ........ ........ ........ ........ ........ ........ 6.10M
0049|6144K ........ ........ ........
0050|........ ........ ........ 5.57M
0051|9216K ........ ........ ........ ........ ........ ........ 4.86M
0052|12288K ........ .......
0053|. ........ ........ ........ ........ 5.34M
0054|15360K ........ ........ ........ ........ ........ ........ 5.50M
0055|18432K ........ ........
0056|........ ........ ........ ........ 6.05M
0057|21504K ........ ........ ........ ........ ........ ........ 6.18M
0058|24576K ........ ........ ........ ....
0059|.... ........ ........ 6.58M
0060|27648K ........ ........ ........ ........ ........ ........ 6.95M
0061|30720K ........ ........ ........ ........ ........ ........ 7.08M
0062|33792K ......
0063|.. ........ ........ ........ ........ ........ 7.30M
0064|36864K ........ ........ ........ ........ ........ ........ 7.71M
0065|39936K ........ ........ ........ ........ ........ ....
0066|.... 8.07M
0067|43008K ........ ........ ........ ........ ........ ........ 8.04M
0068|46080K ........ ........ ........ ........ ........ ........ 8.39M
0069|49152K ........ ........ ........ ........ ........ .......
0070|. 8.80M
0071|52224K ........ ........ ........ ........ ........ ........ 8.79M
0072|55296K ........ ........ ........ ........ ........ ........ 9.13M
0073|58368K ........ ........ ........ ........ ........ ........ 9.27M
0074|61440K ........ ......
0075|.. ........ ........ ........ ........ 9.62M
0076|64512K ........ ........ ........ ........ ........ ........ 9.67M
0077|67584K ........ ........ ........ ........ ........ ........ 9.89M
0078|70656K ........ ........ ........ ........ ........ ........ 10.2M
0079|73728K .
0080|....... ........ ........ ........ ........ ........ 10.3M
0081|76800K ........ ........ ........ ........ ........ ........ 10.5M
0082|79872K .....                                                 11.2M=11s
0083|2022-08-13 06:07:55 (7.36 MB/s) - '/tmp/jeedom/install/jeedom_update.zip' saved [82120484]
0084|[PROGRESS][25]
0085|OK
0086|Cleaning folders...OK
0087|[PROGRESS][30]
0088|Create temporary folder...OK
0089|[PROGRESS][35]
0090|Unzip in progress...
0091|OK
0092|[PROGRESS][40]
0093|Clean temporary files (tmp)...OK
0094|Disable all task
0095|.
0096|kill: (939): No such process
0097|. OK
0098|Disable all scenario
0099|.............. OK
0100|[PROGRESS][45]
0101|Moving files...
0102|Ignore file /tmp/jeedom_unzip/core-4-stable///docs/de_DE/noteVersion.md because size is 0
0103|Ignore file /tmp/jeedom_unzip/core-4-stable///docs/en_US/noteVersion.md because size is 0
0104|Ignore file /tmp/jeedom_unzip/core-4-stable///docs/es_ES/noteVersion.md because size is 0
0105|Ignore file /tmp/jeedom_unzip/core-4-stable///docs/fr_FR/noteVersion.md because size is 0
0106|Ignore file /tmp/jeedom_unzip/core-4-stable///docs/pt_PT/noteVersion.md because size is 0
0107|OK
0108|[PROGRESS][50]
0109|Remove temporary files...OK
0110|[PROGRESS][52]
0111|Remove useless files...
0112|Cleaning 3rdparty
0113|Cleaning desktop
0114|Cleaning mobile
0115|Cleaning core
0116|Cleaning docs
0117|Cleaning install
0118|Cleaning script
0119|Cleaning vendor
0120|[PROGRESS][55]
0121|Check jeedom consistency...
0122|[START CONSISTENCY]
0123|[START CHECK AND FIX DB]
0124|[END CHECK AND FIX DB]
0125|Check jeedom package...
0126|OK
0127|Check jeedom database...OK
0128|Check filesystem right...
0129|OK
0130|Update remoteip config file, you need to restart jeedom[END CONSISTENCY]
0131|OK
0132|Check update...OK
0133|***************Jeedom is up to date in 4.2.20***************
0134|[PROGRESS][75]
0135|***************Update plugins***************
0136|***************Update plugin successfully***************
0137|[PROGRESS][90]
0138|Check update
0139|OK
0140|[PROGRESS][95]
0141|Enable scenario : OK
0142|Enable task : OK
0143|[PROGRESS][100]
0144|Launch cron dependancy plugins...OK
0145|Send end of update event...OK

En fait votre problème est celui-ci: Dépendances OpernVPN NOK après migration d'une Smart de strech (4.1.25) à buster (4.1.28) et la solution si trouve aussi.

Comme vous avez une smart, j’avais supposé que l’install du core fix ce problème mais je n’en suis pas certain.
À priori la commande du post ci dessus est sans risque et ensuite les dépendances s’installeront, si vous voulez confirmation vous pouvez toujours faire un ticket au support.

1 « J'aime »

Voici ce que j’obtiens lorsque j’essaie la commande.

Reading package lists...
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)

et le lancement des dépendances ne marche toujours pas. :frowning:

0000|+ echo '*******************Begin of package installation******************'
0001|*******************Begin of package installation******************
0002|+ touch /tmp/jeedom_install_in_progress_openvpn
0003|+ echo 1
0004|+ echo 2
0005|+ sudo apt update
0006|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0007|Get:2 http://security.debian.org/debian-security buster/updates InRelease [34.8 kB]
0008|Get:3 http://www.deb-multimedia.org buster InRelease [17.8 kB]
0009|Get:4 http://ftp.uk.debian.org/debian buster InRelease [122 kB]
0010|Get:5 http://ftp.uk.debian.org/debian buster-updates InRelease [56.6 kB]
0011|Ign:6 https://oph.mdrjr.net/meveric all InRelease
0012|Ign:7 https://oph.mdrjr.net/meveric buster InRelease
0013|Err:8 https://oph.mdrjr.net/meveric all Release
0014|Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
0015|Err:9 https://oph.mdrjr.net/meveric buster Release
0016|Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 216.155.132.189 443]
0017|Err:1 https://repo.jeedom.com/odroid stable InRelease
0018|502  Bad Gateway [IP: 51.178.69.128 443]
0019|Reading package lists...
0020|E: Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
0021|E: Repository 'http://www.deb-multimedia.org buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
0022|E: The repository 'https://oph.mdrjr.net/meveric all Release' no longer has a Release file.
0023|E: Repository 'http://ftp.uk.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
0024|E: The repository 'https://oph.mdrjr.net/meveric buster Release' no longer has a Release file.
0025|E: Repository 'http://ftp.uk.debian.org/debian buster-updates InRelease' changed its 'Suite' value from 'stable-updates' to 'oldstable-updates'
0026|+ echo 3
0027|+ sudo apt install -o Dpkg::Options::=--force-confdef -y openvpn
0028|WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0029|Reading package lists...
0030|Building dependency tree...
0031|Reading state information...
0032|The following additional packages will be installed:
0033|libpkcs11-helper1
0034|Suggested packages:
0035|resolvconf openvpn-systemd-resolved
0036|Recommended packages:
0037|easy-rsa
0038|The following NEW packages will be installed:
0039|libpkcs11-helper1 openvpn
0040|0 upgraded, 2 newly installed, 0 to remove and 62 not upgraded.
0041|Need to get 464 kB/509 kB of archives.
0042|After this operation, 1,299 kB of additional disk space will be used.
0043|Err:1 http://ftp.uk.debian.org/debian buster/main arm64 openvpn arm64 2.4.7-1
0044|404  Not Found [IP: 78.129.164.123 80]
0045|E: Failed to fetch http://ftp.uk.debian.org/debian/pool/main/o/openvpn/openvpn_2.4.7-1_arm64.deb  404  Not Found [IP: 78.129.164.123 80]
0046|E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
0047|+ echo 4
0048|+ php /var/www/html/core/class/../php/jeecli.php plugin dependancy_end openvpn
0049|+ rm /tmp/jeedom_install_in_progress_openvpn
0050|+ echo '*******************End of package installation******************'
0051|*******************End of package installation******************

Bonjour,

Mettez sudo devant la ligne de commande.

sudo apt-get update --allow-releaseinfo-change

3 « J'aime »

Désolé je ne suis pas tres doué avec les commandes…

Merci @cddu33 ,@Mips et @Fabrice pour votre aide précieuse!

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.