Hi. I just upgraded to OMV7 and I cannot login. When trying to submit the login form, it gave 502 error code right away.
I guess it is PHP problem. I see that OMV is using php7.4 in the nginx config, but php7.4 does not exist in OMV7.
Is it just me with this problem?
ZitatAlles anzeigen# systemctl status php7.4-fpm.service
○ php7.4-fpm.service
Loaded: masked (Reason: Unit php7.4-fpm.service is masked.)
Active: inactive (dead)
# systemctl start php7.4-fpm.service
Failed to start php7.4-fpm.service: Unit php7.4-fpm.service is masked.
# apt install php7.4-fpm
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package php7.4-fpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php7.4-fpm' has no installation candidate
$ cat /etc/nginx/sites-enabled/openmediavault-webgui
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
server {
server_name openmediavault-webgui;
root /var/www/openmediavault;
index index.html;
autoindex off;
server_tokens off;
sendfile on;
large_client_header_buffers 4 32k;
client_max_body_size 25M;
error_log /var/log/nginx/openmediavault-webgui_error.log error;
access_log /var/log/nginx/openmediavault-webgui_access.log combined;
error_page 404 = $scheme://$host:$server_port/#/404;
location / {
try_files $uri $uri/ =404;
}
location ~* /index.html|\.json$ {
add_header Cache-Control "no-cache, must-revalidate";
add_header Pragma "no-cache";
expires 0;
}
location ~* \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php7.4-fpm-openmediavault-webgui.sock;
fastcgi_index index.php;
fastcgi_read_timeout 60s;
include fastcgi.conf;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
listen *:80 default_server;
listen [::]:80 default_server;
include /etc/nginx/openmediavault-webgui.d/*.conf;
}
Alles anzeigen