arkOScloud / genesis

Graphical server management app for arkOS

Home Page:https://arkos.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed nginx restart

heinzK1X opened this issue · comments

I tried to install two webapps with my own domains on my rpi with Genesis 0.6.2. The webserver, nginx, would not restart as soon as the second webapp was added. With journalctl I checked the nginx log:

Oct 29 22:54:35 arkos systemd[1]: nginx.service: control process exited, code=exited status=1
Oct 29 22:54:35 arkos systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Oct 29 22:54:35 arkos systemd[1]: Unit nginx.service entered failed state.
Oct 29 22:55:11 arkos systemd[1]: Starting A high performance web server and a reverse proxy server...
Oct 29 22:55:11 arkos nginx[1154]: 2014/10/29 22:55:11 [emerg] 1154#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32

Then it could be fixed by putting server_names_hash_bucket_size 64; into the beginning of the http{...} block. So maybe that could be put there by default?

Cheers, -H

Good idea, will have to take a look at the default nginx setup for future images. For now, this option is editable in the Settings section of the Websites pane.

Yes, thanks. That would be nice, as it is quite a technical detail.