AtoMiC-ToolKit icon indicating copy to clipboard operation
AtoMiC-ToolKit copied to clipboard

Nginx just displaying "Welcome to nginx!" or errors.

Open element465 opened this issue 7 years ago • 14 comments

Trying to get maximux working and I have installed it but I can't get much farther than that. I am using an external VPS and after I have installed Maximux with everything else it needs, I can't get to Maximux, by either the domain name or by typing the IP (with /maximux applied to both) and I get a 404. When I type in just the domain or IP, I get the "Welcome to nginx!" page,.

Is there anything else I need to set up? I have tried adjusting sites-available and enabled options, but no luck with that (though I thought perhaps I shouldn't have to as the script is automated to do that stuff).

Is there something wrong, or something I need to do?

element465 avatar Apr 18 '18 10:04 element465

I believe I had a similar issue with mux. Can you try installing Organizr? It does basically the same thing as mux.

nemchik avatar Apr 18 '18 12:04 nemchik

Unfortunately it does it with both, just had a crack then.

element465 avatar Apr 18 '18 12:04 element465

Could you try running ls -lah /var/www/ and posting the output here? stabbing in the dark, but if this isn't what I'm thinking we might want to see if you can jump on gitter with us and we can try to help a little more

nemchik avatar Apr 18 '18 20:04 nemchik

Here it is here:

total 20K
drwxr-xr-x  5 www-data www-data 4.0K Apr 18 08:47 .
drwxr-xr-x 12 root     root     4.0K Nov 26  2016 ..
drwxr-xr-x  2 www-data www-data 4.0K Nov 26  2016 html
drwxr-sr-x 11 www-data www-data 4.0K Apr 18 05:57 muximux
drwxr-sr-x 14 www-data www-data 4.0K Apr 18 08:47 organizr

If you need, the VPS is only still being setup so I can do a fresh reinstall with toolkit and hand it over to you guys to have a look if the issue is of interest. I'm not bad with linux and that, but also not amazing. More an amateur enthusiast. The VPS is OpenVZ, but I don't think the outdated kernal is responsible?

element465 avatar Apr 19 '18 04:04 element465

Got the same issue with maximux or Organizr.

marintap avatar Jun 13 '18 13:06 marintap

Sounds like a Nginx config problem.

drakus72 avatar Jun 13 '18 13:06 drakus72

Sorry for the silence on this, can anyone having this issue post the output from ls -lah /etc/nginx/locations-enabled/

nemchik avatar Jun 13 '18 15:06 nemchik

Same issue, i've tried on :

  • Ubuntu Server 18.04
  • Debian 9.4

Here's the output from ls -lah /etc/nginx/locations-enabled/ :

total 8.0K
drwxr-xr-x 2 root root 4.0K Jun 28 19:21 . 
drwxr-xr-x 8 root root 4.0K Jun 28 19:21 ..

I guess it's linked to #287

h-wb avatar Jun 28 '18 19:06 h-wb

Ubuntu 18.04.1 LTS (Bionic Beaver)

So after much flidling i managed to get Ngnix active, it was listening for an SSL port. So now my nginx is active and if i 0.0.0.0:80 i get the welcome page successfully installed and working.

though if i http://0.0.0.0/muximux or http://0.0.0.0/organizr

i get

404 Not Found nginx

Help please i really want to get organizr up and running

Some info here:

sudo` nginx -t nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful

Thank in advance

danleitch avatar Aug 04 '18 17:08 danleitch

Still broken.

user01010111 avatar Nov 19 '18 03:11 user01010111

Have a look at https://dockstarter.com/ It's basically ATK in docker.

nemchik avatar Nov 19 '18 04:11 nemchik

Did not this project quit and went to docker starter ?

postmanpaul avatar Nov 19 '18 04:11 postmanpaul

Yes.

nemchik avatar Nov 19 '18 04:11 nemchik

Have a look at https://dockstarter.com/ It's basically ATK in docker.

Ah, I had missed that on the main page.

Thanks - will give that a go.

user01010111 avatar Nov 19 '18 04:11 user01010111