Certificate write fails

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.11
How are you able to access your server: The webadmin
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: no

Describe your issue

Certificate write fails during normal renewal
see logs here
https://paste.yunohost.org/raw/hugumupeya

Share relevant logs or error messages

https://paste.yunohost.org/raw/hugumupeya

Network is unreachable

=> There is a network issue, how do you access your webadmin exactly ? via the private ip ?

It could be:

a disconnected cable (rj45)

Check the cable between your box and your server

the dns resolution is broken

Check if you can ping an ip

ping 9.9.9.9

If yes, check if you can ping a domain

ping wikipedia.org

If this last doesn’t work, you have a dns resolution issue, try to regenerate dnsmasq:

yunohost tools regen-conf dnsmasq --force

The home router (box) is not connected to internet anymore

no dhcp anymore on your home router (box)

If your computer or your box has reboot, it could be possible that your box can’t distribute any ip via dhcp (too many computer on the network)

dhcp could fails due to a date issue on your server, check it with the date command

a network driver not supported

Could be possible if you just have installed your server. Sometime, the network was working during install, and next after reboot is not working anymore

a bios settings forbid the network

All cables are connected OK
ping
returns

9 packets transmitted, 9 received, 0% packet loss, time 8013ms
rtt min/avg/max/mdev = 16.322/17.604/18.518/0.689 ms

ping wikipedia returns

5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 34.060/34.591/35.151/0.394 ms

Date command returns
Tue 4 Mar 08:13:21 GMT 2025
Server has been working for several years now
BIOS has not been changed or modified recently
Rebooted the server same error message again. Will reboot the box (a FritzBox) has been working for three to four months.
Thanks for helping with this issue. it appeared suddenly…

I have uninstalled two apps Nextcloud and wikijs to test if it would renew certs. Run cert renew but got error again.
New log here https://paste.yunohost.org/raw/isujoqopub
The URL it sends to my server
http://maindomain.tld/.well-known/acme-challenge/T5dQLYuXTqbm_pO706q2biN383x2bZkB35sBsbXPNG

works when I enter it into my browser and lands on the User Portal of my server.

Would a restore from Backup help here ??
Any further ideas or suggestions,please? I run a community server with Mattermost and cannot reinstall…
Help please svp merci @ljf

Hello,

I’m quite in the same case than you …
Except my error is 110 not 101 but seems the same (network).
I run servals subdomains on my yunohost and only one don’t want to renew it’s certificate.
Logs: https://paste.yunohost.org/raw/edevinixey
It’s a Matrix server and i noticed that certificate was expired because i couldn’t connect with my client.

So, i’ve not found why it doesn’t renew via web interface but via SSH, i’ve renew it with this command:

yunohost domain cert renew --email --no-checks

Not a solution but i’ve now access to Matrix, maybe it will work for you ?

Perhaps you could check if you have some GeoIP blocking rules or DNS server that blocks your yunohost reaching some let’s encrypt server address.

What do you mean by GeoIP or DNS server blocking? Explaining how to do something helps , you know @ewilly ?

Thank you @gaston
I marked this as Solution since
this worked.
The web interface does not work and it may be a bug?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.