Matériel: Installation de YNH sur un RPi 3B+ à la maison Version de YunoHost: 4.0.8 (stable) - Debian 10.4 J’ai accès à mon serveur : En SSH et par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : je boot sur un DD et non sur carte SD, sinon rien de particulier
Description du problème
Plusieurs fois, il m’est arrivé en lisant les informations Diagnosis proposées par YNH de constater que des fichiers étaient manquants : /usr/share/yunohost/yunohost-config/ssl/yunoCA/openssl.cnf par exemple, en suivant les conseils du Diagnosis je l’ai recréé.
Maintenant c’est au tour de /etc/yunohost/certs/mondomaine.fr/crt.pem
Une idée pour le restaurer ?
(J’ai regardé sur une vielle sauvegarde c’était déjà le cas…)
Est-ce que cela peut empecher le renouvellement des certificats ?
J’ai eu plusieurs problèmes du même type, ne faudrait-il pas que je réinstalle tout depuis zéro ?
Pour crt.pem, je reçois chaque jour un e-mail qui doit être le resultat de la commande :
test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
/etc/cron.daily/yunohost-certificate-renew:
Could not read the certificate file for the domain truc.ynh.fr (file: /etc/yunohost/certs/truc.ynh.fr/crt.pem)
run-parts: /etc/cron.daily/yunohost-certificate-renew exited with return code 1
Dovecot ne démarre plus, pour la même raison : Can’t open file /etc/yunohost/certs/truc.ynh.fr/crt.pem
> – Logs begin at Wed 2020-09-30 21:41:24 BST, end at Thu 2020-10-01 07:22:43 BST. –
> Oct 01 07:22:42 systemd[1]: Started Dovecot IMAP/POP3 email server.
> – Subject: A start job for unit dovecot.service has finished successfully
> – Defined-By: systemd
> – Support: https://www.debian.org/support
> –
> – A start job for unit dovecot.service has finished successfully.
> –
> – The job identifier is 54851.
> Oct 01 07:22:42 dovecot[30691]: doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 22: ssl_cert: Can’t open file /etc/yunohost/certs/truc.ynh.fr/crt.pem: Not a directory
> Oct 01 07:22:42 systemd[1]: dovecot.service: Main process exited, code=exited, status=89/n/a
> – Subject: Unit process exited
> – Defined-By: systemd
> – Support: https://www.debian.org/support
> –
> – An ExecStart= process belonging to unit dovecot.service has exited.
> –
> – The process’ exit code is ‘exited’ and its exit status is 89.
> Oct 01 07:22:42 systemd[1]: dovecot.service: Failed with result ‘exit-code’.
> – Subject: Unit failed
> – Defined-By: systemd
> – Support: https://www.debian.org/support
> –
> – The unit dovecot.service has entered the ‘failed’ state with result ‘exit-code’.