My YunoHost server
Hardware: Internet Cube without VPN
YunoHost version: 11.2.4
I have access to my server : Through SSH
Description of my issue
Hello,
I’m installing a new yunohost instance on my ARM board (Olimex Lime 2).
Since you don’t maintain official images for ARM boards anymore (according to this post : Installation neuve sur la brique internet non fonctionnelle - #23 by jef), I’ve installed an “Bullseye” armbian image for my board (links).
I flashed the SD card via Balena, installed Armbian, then I followed I used:
curl https://install.yunohost.org | bash
as root on armbian.
Yunohost then get installed smoothly and I can access the webadmin for the post-install. Great!
But then I tried to reboot it, after finishing the post install, and the I can no longer access the webadmin. I can connect via SSH, but nothing else.
I think the nginx config is broken, but I’m a little out of my depth here and don’t know what to do next. Seems something similar to : Interface Web inaccessible - #6 by Aleks but i’m not sure it was resolved.
Here is what nginx -t
gives:
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory)
2023/10/05 18:15:48 [info] 3991#3991: Using 131072KiB of shared memory for nchan in /etc/nginx/nginx.conf:61
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
2023/10/05 18:15:48 [emerg] 3991#3991: open() "/var/log/nginx/access.log" failed (2: No such file or directory)
nginx: configuration file /etc/nginx/nginx.conf test failed
and journalctl -u nginx -n 50 --no-pager --no-hostname
:
-- Journal begins at Thu 2023-10-05 13:05:23 CEST, ends at Thu 2023-10-05 18:17:01 CEST. --
Oct 05 13:17:21 systemd[1]: Starting A high performance web server and a reverse proxy server...
Oct 05 13:17:21 nginx[1002]: nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory)
Oct 05 13:17:24 nginx[1002]: 2023/10/05 13:17:21 [warn] 1002#1002: "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/yunohost/certs/tolula.fr/crt.pem"
Oct 05 13:17:24 nginx[1002]: 2023/10/05 13:17:21 [warn] 1002#1002: "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/yunohost/certs/tolula.fr/crt.pem"
Oct 05 13:17:26 nginx[1002]: 2023/10/05 13:17:21 [info] 1002#1002: Using 131072KiB of shared memory for nchan in /etc/nginx/nginx.conf:61
Oct 05 13:17:27 nginx[1002]: 2023/10/05 13:17:21 [emerg] 1002#1002: open() "/var/log/nginx/access.log" failed (2: No such file or directory)
Oct 05 13:17:27 nginx[1002]: nginx: configuration file /etc/nginx/nginx.conf test failed
Oct 05 13:17:27 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Oct 05 13:17:27 systemd[1]: nginx.service: Failed with result 'exit-code'.
Oct 05 13:17:27 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
-- Boot 4a3ca23ea6e74185b522693173cde44b --
Oct 05 14:18:44 systemd[1]: Starting A high performance web server and a reverse proxy server...
Oct 05 14:18:44 nginx[1023]: nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory)
Oct 05 14:18:47 nginx[1023]: 2023/10/05 14:18:44 [warn] 1023#1023: "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/yunohost/certs/tolula.fr/crt.pem"
Oct 05 14:18:47 nginx[1023]: 2023/10/05 14:18:44 [warn] 1023#1023: "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/yunohost/certs/tolula.fr/crt.pem"
Oct 05 14:18:49 nginx[1023]: 2023/10/05 14:18:44 [info] 1023#1023: Using 131072KiB of shared memory for nchan in /etc/nginx/nginx.conf:61
Oct 05 14:18:49 nginx[1023]: 2023/10/05 14:18:44 [emerg] 1023#1023: open() "/var/log/nginx/access.log" failed (2: No such file or directory)
Oct 05 14:18:49 nginx[1023]: nginx: configuration file /etc/nginx/nginx.conf test failed
Oct 05 14:18:49 systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Oct 05 14:18:49 systemd[1]: nginx.service: Failed with result 'exit-code'.
Oct 05 14:18:49 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
I didn’t touch anything regarding nginx, but i guess the armbian installation can be responsible ?
Thank you for your help!