I now followed the method described by ryecoaaron for Jedge starting with this post: RE: WebUi login failed
Successfully installed omv5 this way, ssh is working, but I still can't access the web interface ("502 Bad Gateway nginx")
and the command omv-salt deploy run nginx doesn't work, see terminal output, but nginx and php can be started anyway:
Code
Setting up php-fpm (2:7.3+69) ...
Setting up php-cgi (2:7.3+69) ...
Setting up salt-minion (3003+ds-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/salt-minion.service → /lib/systemd/system/salt-minion.service.
Setting up liblvm2cmd2.03:armhf (2.03.02-3) ...
Setting up dmeventd (2:1.02.155-3) ...
dm-event.service is a disabled or a static unit not running, not starting it.
Setting up lvm2 (2.03.02-3) ...
update-initramfs: deferring update (trigger activated)
Failed to restart lvm2-lvmpolld.service: Unit lvm2-lvmpolld.socket is masked.
invoke-rc.d: initscript lvm2-lvmpolld, action "restart" failed.
● lvm2-lvmpolld.service - LVM2 poll daemon
Loaded: loaded (/lib/systemd/system/lvm2-lvmpolld.service; static; vendor preset: enabled)
Active: inactive (dead)
Docs: man:lvmpolld(8)
Aug 04 14:38:03 raspberrypi systemd[1]: Started LVM2 poll daemon.
dpkg: error processing package lvm2 (--configure):
installed lvm2 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of openmediavault:
openmediavault depends on lvm2; however:
Package lvm2 is not configured yet.
dpkg: error processing package openmediavault (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for rsyslog (8.1901.0-1) ...
Processing triggers for systemd (241-7~deb10u8) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for dbus (1.12.20-0+deb10u1) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for initramfs-tools (0.133+deb10u1) ...
Processing triggers for libglib2.0-0:armhf (2.58.3-2+deb10u3) ...
No schema files found: removed existing output file.
Errors were encountered while processing:
lvm2
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@raspberrypi:~# apt-cache policy openmediavault
openmediavault:
Installed: 5.6.13-1
Candidate: 5.6.13-1
Version table:
*** 5.6.13-1 500
500 http://packages.openmediavault.org/public usul/main armhf Packages
100 /var/lib/dpkg/status
root@raspberrypi:~# omv-salt deploy run nginx
WARNING: Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds
WARNING: Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds
WARNING: Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds
WARNING: Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds
WARNING: Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds
WARNING: Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds
WARNING: Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds
WARNING: Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds
^C
Aborted!
root@raspberrypi:~# sudo systemctl restart nginx
root@raspberrypi:~# sudo systemctl restart php7.3-fpm
root@raspberrypi:~# systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2021-08-06 20:44:19 CEST; 1min 41s ago
Docs: man:nginx(8)
Process: 26312 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 26314 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 26316 (nginx)
Tasks: 5 (limit: 2319)
Memory: 2.2M
CGroup: /system.slice/nginx.service
├─26316 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
├─26317 nginx: worker process
├─26318 nginx: worker process
├─26319 nginx: worker process
└─26320 nginx: worker process
Aug 06 20:44:19 raspberrypi systemd[1]: Starting A high performance web server and a reverse proxy server...
Aug 06 20:44:19 raspberrypi systemd[1]: Started A high performance web server and a reverse proxy server.
root@raspberrypi:~#
Alles anzeigen
Strange.
Edit: I am still able to access the stored files on the NAS via SFTP over internet. It's just the web interface that doesn't work.