Open n3wbiOs opened 3 years ago
I'm having a similar issue, what do you get when you issue: sudo service nginx status
This is my output:
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2021-05-02 19:18:33 PDT; 17min ago
May 02 19:18:33 thyme nginx[4635]: nginx: [crit] pread() "/etc/nginx/sites-enabled/odoo" failed (21: Is a directory)
May 02 19:18:33 thyme nginx[4635]: nginx: configuration file /etc/nginx/nginx.conf test failed
May 02 19:18:33 thyme systemd[1]: nginx.service: Control process exited, code=exited status=1
May 02 19:18:33 thyme systemd[1]: Failed to start A high performance web server and a reverse proxy server.
May 02 19:18:33 thyme systemd[1]: nginx.service: Unit entered failed state.
May 02 19:18:33 thyme systemd[1]: nginx.service: Failed with result 'exit-code'.
May 02 19:21:23 thyme systemd[1]: nginx.service: Unit cannot be reloaded because it is inactive.
May 02 19:29:48 thyme systemd[1]: nginx.service: Unit cannot be reloaded because it is inactive.
May 02 19:30:32 thyme systemd[1]: nginx.service: Unit cannot be reloaded because it is inactive.
May 02 19:35:58 thyme systemd[1]: nginx.service: Unit cannot be reloaded because it is inactive.
And I'm getting a few errors at the end of the install script that are related:
ln: failed to create symbolic link '/etc/nginx/sites-enabled/odoo': No such file or directory
rm: cannot remove '/etc/nginx/sites-enabled/default': No such file or directory
nginx.service is not active, cannot reload.
I'm also trying this on Ubuntu 16.04 which may be an issue.
hello. I am getting the same problem on a fresh install on digitalocean:
no nginx installed.
Any ideas?
Hello there, first thing first thank you for the script. after running the script I checked on the status and im having the following: odoo-server.service - Active: active postgresql.service - Active: active nginx.service - Active: failed when accessing the localhost page I get sent to apache2 welcome page, page wont load after adding port 8069. tried to disable apache2 but doesn't help. nginx service is disable for the time being. Any tip how to work this throw.