InstallScript icon indicating copy to clipboard operation
InstallScript copied to clipboard

cant access localhost:8069

Open n3wbiOs opened this issue 4 years ago • 2 comments

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.

n3wbiOs avatar Apr 03 '21 09:04 n3wbiOs

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.

JacobChrist avatar May 03 '21 02:05 JacobChrist

hello. I am getting the same problem on a fresh install on digitalocean:

  • odoo 11, but same pb with 13
  • ubuntu 18.04, but same pb with 20.04
  • tried to increase CPU and RAM, same problem

no nginx installed.

Any ideas?

xmasbogdan avatar Dec 29 '21 23:12 xmasbogdan