Hardware: Raspberry Pi 3 at home
YunoHost version: 11.1.15
I have access to my server : Through SSH and through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:
My server is periodically shutting down. I’m looking into whether it’s the power supply on board, the power cord, the outlet, the fuses, or whatever. Any suggestions for troubleshooting or discovering other possible causes are welcome, but that’s not why I’m here.
Whenever I do get it to come back online,
nginx fails. I can’t see my server’s login page and I can’t get to the webadmin. I can SSH and run
sudo yunohost service restart nginx to get it up and running again, but I’d like to figure out why it’s failing on boot-up every time.
I couldn’t get the
yunopaste command to work at all so I saved the logs before restarting it the last time as a text file. I looked under
/var/log/nginx/error.log: and found mostly these two statements repeating:
[warn] 1925#1925: "ssl_stapling" ignored, host not found in OCSP responder "r3.o.lencr.org" in the certificate "/etc/yunohost/certs/[myserver]/crt.pem"
[warn] 1925#1925: could not build optimal variables_hash, you should increase either variables_hash_max_size: 1024 or variables_hash_bucket_size: 64; ignoring variables_hash_bucket_size
but I don’t know what either of these mean or how to fix them. Or if these are even the causes of my problem.
# /usr/sbin/nginx -t nginx: [warn] could not build optimal variables_hash, you should increase either variables_hash_max_size: 1024 or variables_hash_bucket_size: 64; ignoring variables_hash_bucket_size nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful
How can I figure out what is causing my
nginx to fail at boot every time but be totally fine if I restart it?