I’m encountering a strange error while attempting to set up a multi-site installation with ERPNext v15 on Ubuntu 22.04. Initially, the first site is working fine, but upon setting up a new site on the same server and running specific commands
bench config dns_multitenant on
bench setup nginx
sudo service nginx restart
the Nginx server crashes with the following error: “Job for nginx.service failed because the control process exited with error code.
See “systemctl status nginx.service” and “journalctl -xeu nginx.service” for details.”
Error details
× nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enable>
Active: failed (Result: exit-code) since Mon 2024-05-27 22:55:46 UTC; 3min 17s ago
Docs: man:nginx(8)
Process: 18893 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on;>
CPU: 12ms
i cannot access both site now.
same thing happen withupgrade from v14 to v15, when I add new site its not working.
Please anyone can help me ?