Hi all,
In the past I was perfectly able to login to OMV via the WebGUI. It runned on port 81. However, since today I am not able to load the login page from my web-browser. The error message is: ERR_CONNECTION_REFUSED
I've searched and read a lot to fix the problem. Unfortunately without any result, although it seems more people have faced the same problem..
I think most interesting is the log that I get after trying to "Configure web control panel" using the omv-firstaid kit. See part of it below (the attachment contains the full log).
ERROR: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color nginx 2>&1' with exit code '1': debian:
...
ID: test_nginx_service_config
Function: cmd.run
Name: nginx -t
Result: False
Comment: Command "nginx -t" run
Started: 20:30:07.390637
Duration: 9.98 ms
Changes:
----------
pid:
9445
retcode:
1
stderr:
nginx: [emerg] "server" directive is not allowed here in /etc/nginx/nginx.conf:66
nginx: configuration file /etc/nginx/nginx.conf test failed
stdout:
----------
ID: restart_nginx_service
Function: service.running
Name: nginx
Result: False
Comment: One or more requisite failed: omv.deploy.nginx.default.test_nginx_service_config
Started: 20:30:07.407052
Duration: 0.004 ms
Changes:
----------
ID: monitor_nginx_service
Function: module.run
Result: False
Comment: One or more requisite failed: omv.deploy.nginx.default.restart_nginx_service
Started: 20:30:07.407616
Duration: 0.002 ms
Changes:
Summary for debian
------------
Succeeded: 5 (changed=4)
Failed: 3
------------
Total states run: 8
Total run time: 2.202 s
Alles anzeigen
From this log it seems that there is a issue that has to do with nginx.
I've no background in IT. Nevertheless, I learned a lot already after setting up my OMV server a year ago.. However, this problem is to complex for me to solve, so could you please help me. Thanks in advance!