Trying to set up Pydio on my server using nginx, but I can't start nginx.
When I run:
sudo s6-rc -u change nginx
the command just hangs. When I press Ctrl-C the following message shows:
s6-rc: warning: unable to start service nginx-log: command crashed with signal 2
So that leads me to believe for some reason nginx-log cannot start?
I checked the directory:
/var/log/nginx/
but the folder only has one file called "access.log" which is empty. I suppose this is expected since s6 isnt able to start the error logging at all.
I also tried:
sudo nginx -t
which gave the following output:
2020/09/12 16:23:25 [warn] 2262#2262: could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
so that all seems fine
I also just tried running nginx manually and that does work. I was able to access the nginx default page, so it seems like its just some kind of wierd issue with s6 and nginx logging.
No idea where to go from here to fix this.
Tried using nginx and nginx-mainline but both have the same issue.