I started with a a fresh new image of the latest version of the Raspberry PI OS Buster, and have followed the online guide "Installing OMV", next to firing the OS packages repository updates also the commands:
Code
sudo rm -f /etc/systemd/network/99-default.link
wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
However, the installation fails with an error message when processing the package "nginx-full" .
Here the installation transcript with the relevant parts as displayed on my terminal:
Code
[...]
Setting up nginx-full (1.14.2-2+deb10u4) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
? nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2021-11-07 12:19:21 CET; 53ms ago
Docs: man:nginx(8)
Process: 14763 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Nov 07 12:19:21 raspberrypi systemd[1]: Starting A high performance web server and a reverse proxy server...
Nov 07 12:19:21 raspberrypi nginx[14763]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Nov 07 12:19:21 raspberrypi nginx[14763]: nginx: configuration file /etc/nginx/nginx.conf test failed
Nov 07 12:19:21 raspberrypi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Nov 07 12:19:21 raspberrypi systemd[1]: nginx.service: Failed with result 'exit-code'.
Nov 07 12:19:21 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: error processing package nginx-full (--configure):
installed nginx-full package post-installation script subprocess returned error exit status 1
Setting up netplan.io (0.95-2) ...
Setting up salt-common (3003+ds-1) ...
Setting up bsd-mailx (8.1.2-0.20180807cvs-1) ...
update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode
Setting up cpufrequtils (008-1.1) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up proftpd-basic (1.3.6-4+deb10u6) ...
Adding system user `proftpd' (UID 117) ...
Adding new user `proftpd' (UID 117) with group `nogroup' ...
Not creating home directory `/run/proftpd'.
Adding system user `ftp' (UID 118) ...
Adding new user `ftp' (UID 118) with group `nogroup' ...
Creating home directory `/srv/ftp' ...
'/usr/share/proftpd/templates/welcome.msg' -> '/srv/ftp/welcome.msg.proftpd-new'
Setting up samba-common-bin (2:4.9.5+dfsg-5+deb10u1+rpi1) ...
Checking smb.conf with testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE
Done
Setting up php7.3-cli (7.3.31-1~deb10u1) ...
update-alternatives: using /usr/bin/php7.3 to provide /usr/bin/php (php) in auto mode
update-alternatives: using /usr/bin/phar7.3 to provide /usr/bin/phar (phar) in auto mode
update-alternatives: using /usr/bin/phar.phar7.3 to provide /usr/bin/phar.phar (phar.phar) in auto mode
Creating config file /etc/php/7.3/cli/php.ini with new version
Setting up jq (1.5+dfsg-2+b1) ...
Setting up rrdtool (1.7.1-2) ...
Setting up samba (2:4.9.5+dfsg-5+deb10u1+rpi1) ...
Adding group `sambashare' (GID 127) ...
Done.
Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service
Please ignore the following error about deb-systemd-helper not finding those services.
(samba-ad-dc.service masked)
Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service ? /lib/systemd/system/nmbd.service.
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service ? /lib/systemd/system/smbd.service.
Setting up php7.3-cgi (7.3.31-1~deb10u1) ...
update-alternatives: using /usr/bin/php-cgi7.3 to provide /usr/bin/php-cgi (php-cgi) in auto mode
update-alternatives: using /usr/lib/cgi-bin/php7.3 to provide /usr/lib/cgi-bin/php (php-cgi-bin) in auto mode
Creating config file /etc/php/7.3/cgi/php.ini with new version
Setting up php7.3-fpm (7.3.31-1~deb10u1) ...
Creating config file /etc/php/7.3/fpm/php.ini with new version
Created symlink /etc/systemd/system/multi-user.target.wants/php7.3-fpm.service ? /lib/systemd/system/php7.3-fpm.service.
Setting up php-pam (1.0.3-1+deb10u1) ...
Setting up proftpd-mod-vroot (0.9.4-2) ...
dpkg: dependency problems prevent configuration of nginx:
nginx depends on nginx-full (<< 1.14.2-2+deb10u4.1~) | nginx-light (<< 1.14.2-2+deb10u4.1~) | nginx-extras (<< 1.14.2-2+deb10u4.1~); however:
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
nginx depends on nginx-full (>= 1.14.2-2+deb10u4) | nginx-light (>= 1.14.2-2+deb10u4) | nginx-extras (>= 1.14.2-2+deb10u4); however:
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
dpkg: error processing package nginx (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openmediavault:
openmediavault depends on nginx; however:
Package nginx is not configured yet.
Package nginx-full which provides nginx is not configured yet.
dpkg: error processing package openmediavault (--configure):
dependency problems - leaving unconfigured
Setting up php-yaml (2.0.2+1.3.1-4+b1) ...
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 wsdd (0.6.4+git6d5922e2-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/wsdd.service ? /lib/systemd/system/wsdd.service.
Setting up php-fpm (2:7.3+69) ...
Setting up php-cgi (2:7.3+69) ...
Setting up liblvm2cmd2.03:armhf (2.03.02-3) ...
Setting up dmeventd (2:1.02.155-3) ...
Created symlink /etc/systemd/system/sockets.target.wants/dm-event.socket ? /lib/systemd/system/dm-event.socket.
dm-event.service is a disabled or a static unit, not starting it.
Setting up lvm2 (2.03.02-3) ...
update-initramfs: deferring update (trigger activated)
Created symlink /etc/systemd/system/sysinit.target.wants/blk-availability.service ? /lib/systemd/system/blk-availability.service.
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-monitor.service ? /lib/systemd/system/lvm2-monitor.service.
Created symlink /etc/systemd/system/sysinit.target.wants/lvm2-lvmpolld.socket ? /lib/systemd/system/lvm2-lvmpolld.socket.
Processing triggers for initramfs-tools (0.133+deb10u1) ...
Processing triggers for libc-bin (2.28-10+rpt2+rpi1) ...
Processing triggers for rsyslog (8.1901.0-1) ...
Processing triggers for systemd (241-7~deb10u8+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Errors were encountered while processing:
nginx-full
nginx
openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
failed to install openmediavault package.
[...]
Alles anzeigen
Double-checking with the "journalctl -xe" command for further error messages, I am getting the following output:
Code
Nov 07 12:22:54 raspberrypi systemd[1]: Starting A high performance web server and a reverse proxy server...
-- Subject: A start job for unit nginx.service has begun execution
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit nginx.service has begun execution.
--
-- The job identifier is 7906.
Nov 07 12:22:54 raspberrypi nginx[20715]: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
Nov 07 12:22:54 raspberrypi nginx[20715]: nginx: configuration file /etc/nginx/nginx.conf test failed
Nov 07 12:22:54 raspberrypi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStartPre= process belonging to unit nginx.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Nov 07 12:22:54 raspberrypi systemd[1]: nginx.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit nginx.service has entered the 'failed' state with result 'exit-code'.
Nov 07 12:22:54 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.
-- Subject: A start job for unit nginx.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit nginx.service has finished with a failure.
--
-- The job identifier is 7906 and the job result is failed.
Alles anzeigen
Thus, not sure if or whether any latest potential OS updates may break the installation. Do welcome any pointer(s) that may allow me troubleshoot further on above observed issues .