Unreachable server after power outage

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.17
How are you able to access your server: Direct access via physical keyboard/screen
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: I use custom DSN resolver

Describe your issue

Recently, I had a short power outage at home. My server restarted, but some services (mastodon if I remember correctly) stopped working. I checked the web admin, managed to connect, not through the domain, but with the local ip, but after a few minutes on the web admin, it froze, so I tried ssh. Same thing, would not connect to the domain, but worked through ssh. I figured something was wrong with the DNS resolver, and I remembered that I use the FDN resolver that recently ended. So I changed to dnsforge.de’s DNS. I thought I would solve the issue, but when I run the diagnosis, first of all, it stalls, but it still report an issue for internet connectivity about DNS still being broken “for some reason”. Also, nginx won’t start, and I can’t connect through ssh even via the local IP address. When I look at the nginx logs after trying to restart it, I get warnings about ingnoring “ssl_stapling”, then a “start-pre opperation timed out. Terminating”

Any ideas ? I cannot copy paste the logs because I cannot connect through ssh. Thank you very much for your help <3

Share relevant logs or error messages

Cannot copy paste them :confused:

Anyone have any idea ? I am very afraid of doing a whole new reinstall with the backups and everything… :sob: :sob: :sob:

Hello @pp44t,

You can generate logs:

  • from the web admin: Tools > Services > relevant service(s) > Share with yunopaste

  • from the command line using this syntax as an example:

less /var/log/nginx/error.log | yunopaste

How did you change the DNS?
Have you tried running sudo yunohost tools regen-conf dnsmasq nginx ssh or sudo yunohost tools regen-conf?