Matériel: Raspberry Pi à la maison Version de YunoHost: 3.7 J’ai accès à mon serveur : En SSH Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : oui Restaurationn du système:
Description du problème
Bonjour à tous,
Le renouvellement du certificat letsencrypt ne s’est pas fait automatiquement, j’ai donc procédé manuellement yunohost domain cert-renew mondomain.tld --debug
ImportError: ,ib3sl.so.1.1: cannot open shared object file: No such file or directory
Quelle est donc cette library ? ou fait-elle bien partie de libpython2.7 ?
Salut @Aleks merci pour ta réponse,
il y a bien une virgule, ça m’a surpris aussi.
Voici le log
Traceback (most recent call last):
File "/usr/bin/yunohost", line 214, in <module>
timeout=opts.timeout,
File "/usr/lib/python2.7/dist-packages/moulinette/__init__.py", line 135, in cli
moulinette.run(args, output_as=output_as, password=password, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py", line 425, in run
ret = self.actionsmap.process(args, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 527, in process
return func(**arguments)
File "/usr/lib/moulinette/yunohost/domain.py", line 248, in domain_cert_renew
return yunohost.certificate.certificate_renew(domain_list, force, no_checks, email, staging)
File "/usr/lib/moulinette/yunohost/certificate.py", line 350, in certificate_renew
status = _get_status(domain)
File "/usr/lib/moulinette/yunohost/certificate.py", line 666, in _get_status
from OpenSSL import crypto # lazy loading this module for performance reasons
File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/lib/python2.7/dist-packages/OpenSSL/rand.py", line 12, in <module>
from OpenSSL._util import (
File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 6, in <module>
from cryptography.hazmat.bindings.openssl.binding import Binding
File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/openssl/binding.py", line 14, in <module>
from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: ,ib3sl.so.1.1: cannot open shared object file: No such file or directory
ii python-openssl 16.2.0-1 all Python 2 wrapper around the OpenSSL library
ii python3-openssl 16.2.0-1 all Python 3 wrapper around the OpenSSL library
ii openssl 1.1.0l-1~deb9u1 armhf Secure Sockets Layer toolkit - cryptographic utility
ii perl-openssl-defaults:armhf 3 armhf version compatibility baseline for Perl OpenSSL packages
ii python-openssl 16.2.0-1 all Python 2 wrapper around the OpenSSL library
ii python3-openssl 16.2.0-1 all Python 3 wrapper around the OpenSSL library
Est-ce que tu peux aussi regarder la version de python-crypto[graphy] avec :
dpkg --list |grep python-crypto
Aussi j’imagine que si manuellement tu tape “python” pour lancer un shell python2 puis dedans "from cryptography.hazmat.bindings._openssl import ffi, lib" tu obtiens la même erreur ? (Tu peux ensuite faire Ctrl+D pour quitter)
ii python-crypto 2.6.1-7 armhf cryptographic algorithms and protocols for Python
ii python-cryptography 1.7.1-3+deb9u2 armhf Python library exposing cryptographic recipes and primitives (Python 2)
Et en lançant un shell j’obitens bien évidement la même erreur