What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.1.39
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 ?: No
Describe your issue
After a power outage, the system reboots but when it comes online the nginx service fails. I have to restart the nginx service to make everything work again.
I saw this Nginx failing at boot 100% of the time, fine after restarting service but there didn’t seem to be any resolution.
Share relevant logs or error messages
× nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Wed 2026-05-13 15:08:18 CST; 1min 28s ago
Docs: man:nginx(8)
Process: 1506 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
CPU: 72ms
May 13 15:08:17 arkadi.one systemd[1]: Starting nginx.service - A high performance web server and a reverse proxy server...
May 13 15:08:18 arkadi.one nginx[1506]: 2026/05/13 15:08:17 [warn] 1506#1506: duplicate extension "wasm", content type: "application/wasm", previous content type: "application/wasm" in /etc/nginx/conf.d/arkadi.one.d/nextcloud.conf:9
May 13 15:08:18 arkadi.one nginx[1506]: 2026/05/13 15:08:17 [emerg] 1506#1506: host not found in upstream "arkadi" in /etc/nginx/conf.d/linkding.arkadi.one.d/redirect__4.conf:4
May 13 15:08:18 arkadi.one nginx[1506]: nginx: configuration file /etc/nginx/nginx.conf test failed
May 13 15:08:18 arkadi.one systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
May 13 15:08:18 arkadi.one systemd[1]: nginx.service: Failed with result 'exit-code'.
May 13 15:08:18 arkadi.one systemd[1]: Failed to start nginx.service - A high performance web server and a reverse proxy server.
I haven’t done tweaking to nginx stuff. I don’t know much about nginx. I looked at that linkding file but I don’t know what is wrong with it. Redirect app made that file, not me.
#sub_path_only rewrite ^/$ / permanent;
location / {
proxy_pass http://arkadi:9090;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Forwarded-Port $server_port;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
more_clear_input_headers 'Accept-Encoding';
}
Linkding runs in docker, and works correctly after restarting Nginx with
sudo yunohost service restart nginx