I have recently updated my OMV installation to version 3.16.0-5-amd64. After update I can still log in via SSH, can access my ftp-shares, yet the web-interface gives the message "502 Bad Gateway" and in the next line "Nginx". I have already cleared my browser cache and tested this from various devices, the result is always the same. The output of service nginx status is as follows:
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
Active: active (running) since Mon 2018-01-22 08:53:12 CET; 6s ago
Process: 1051 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
Process: 1059 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 1055 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 1064 (nginx)
CGroup: /system.slice/nginx.service
├─1064 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
├─1066 nginx: worker process
├─1067 nginx: worker process
├─1069 nginx: worker process
└─1070 nginx: worker process
Jän 22 08:53:12 openmediavault systemd[1]: Started A high performance web server and a reverse proxy server.
From a different thread I have seen that there might be an issue with omv service itself, and service openmediavault status gives the following:
● openmediavault.service - LSB: Basic initialization of the OpenMediaVault system
Loaded: loaded (/etc/init.d/openmediavault)
Active: active (exited) since Mon 2018-01-22 08:29:27 CET; 25min ago
Process: 32546 ExecStop=/etc/init.d/openmediavault stop (code=exited, status=0/SUCCESS)
Process: 32549 ExecStart=/etc/init.d/openmediavault start (code=exited, status=0/SUCCESS)
Jän 22 08:29:27 openmediavault openmediavault[32549]: Cleaning up...rm: das Entfernen von „/var/lib/php5/modules“ ist nicht möglich: Ist ein Verzeichnis
Jän 22 08:29:27 openmediavault openmediavault[32549]: rm: das Entfernen von „/var/lib/php5/sessions“ ist nicht möglich: Ist ein Verzeichnis
Jän 22 08:29:27 openmediavault openmediavault[32549]: failed.
Jän 22 08:29:27 openmediavault systemd[1]: Started LSB: Basic initialization of the OpenMediaVault system.
I have also seen a hint to include the line "OMV_DATAMODELS_DIR="/usr/share/openmediavault/datamodels" in /etc/defaults/openmediavault, this was already there. Does someone have an idea what to try next?
Many thanks
Roland