I got the latest updates for my OMV and rebooted it and everything was working fine. All my plugins seems to be on the approved list. Just using, luks, unionbackend, and snapraid,
I typed the omv-release-upgrade and it failed. Here is what i could capture from my terminal.
It fails when the collectd service fails to restart due to filename being too long. and then all the other packages after start to fail.
Failed to restart collectd.service: Unit srv-ae0f5928\x2d3495\x2d4ef8\x2d9e08\x2d3cfa3665428d.mount failed to load properly: File name too long.
Any ideas how to recover?
Full code at the bottom.
Code
Creating config file /etc/php/7.4/cgi/php.ini with new version
Setting up python3-colorama (0.4.4-1) ...
Setting up python3-talloc:amd64 (2.3.1-2+b1) ...
Setting up python3-apt (2.2.1) ...
Setting up python3-polib (1.1.0-7) ...
Setting up collectd (5.12.0-7.1) ...
Failed to restart collectd.service: Unit srv-ae0f5928\x2d3495\x2d4ef8\x2d9e08\x2d3cfa3665428d.mount failed to load properly: File name too long.
See system logs and 'systemctl status collectd.service' for details.
invoke-rc.d: initscript collectd, action "restart" failed.
* collectd.service - Statistics collection and monitoring daemon
Loaded: loaded (/lib/systemd/system/collectd.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/collectd.service.d
`-openmediavault.conf
Active: active (running) since Sun 2022-04-03 17:20:24 PDT; 41s ago
Docs: man:collectd(1)
man:collectd.conf(5)
https://collectd.org
Main PID: 7805 (collectd)
Tasks: 12 (limit: 4915)
Memory: 6.3M
CGroup: /system.slice/collectd.service
`-7805 /usr/sbin/collectd
Apr 03 17:20:24 vault101.local collectd[7805]: plugin_load: plugin "interface" successfully loaded.
Apr 03 17:20:24 vault101.local collectd[7805]: plugin_load: plugin "load" successfully loaded.
Apr 03 17:20:24 vault101.local collectd[7805]: plugin_load: plugin "memory" successfully loaded.
Apr 03 17:20:24 vault101.local collectd[7805]: plugin_load: plugin "rrdcached" successfully loaded.
Apr 03 17:20:24 vault101.local collectd[7805]: plugin_load: plugin "syslog" successfully loaded.
Apr 03 17:20:24 vault101.local collectd[7805]: plugin_load: plugin "unixsock" successfully loaded.
Apr 03 17:20:24 vault101.local collectd[7805]: plugin_load: plugin "uptime" successfully loaded.
Apr 03 17:20:24 vault101.local collectd[7805]: Systemd detected, trying to signal readiness.
Apr 03 17:20:24 vault101.local systemd[1]: Started Statistics collection and monitoring daemon.
Apr 03 17:20:24 vault101.local collectd[7805]: Initialization complete, entering read-loop.
dpkg: error processing package collectd (--configure):
installed collectd package post-installation script subprocess returned error exit status 1
Setting up python3-pycryptodome (3.9.7+dfsg1-1+b2) ...
dpkg: dependency problems prevent configuration of openmediavault:
openmediavault depends on collectd; however:
Package collectd is not configured yet.
dpkg: error processing package openmediavault (--configure):
dependency problems - leaving unconfigured
Setting up rrdcached (1.7.2-3+b7) ...
Setting up libnginx-mod-http-image-filter (1.18.0-6.1) ...
Setting up samba-libs:amd64 (2:4.13.13+dfsg-1~deb11u3) ...
Setting up php-yaml (2.2.1+2.1.0+2.0.4+1.3.2-2) ...
Removing obsolete conffile /etc/php/7.3/mods-available/yaml.ini ...
Setting up python3-yaml (5.3.1-5) ...
Setting up python3-click (7.1.2-1) ...
Setting up netplan.io (0.101-4) ...
Setting up python3-chardet (4.0.0-1) ...
dpkg: dependency problems prevent configuration of openmediavault-omvextrasorg:
openmediavault-omvextrasorg depends on openmediavault (>= 6.0); however:
Package openmediavault is not configured yet.
dpkg: error processing package openmediavault-omvextrasorg (--configure):
dependency problems - leaving unconfigured
Setting up python3-requests (2.25.1+dfsg-2) ...
Setting up php-fpm (2:7.4+76) ...
Setting up open-vm-tools (2:11.2.5-2) ...
Installing new version of config file /etc/vmware-tools/vgauth.conf ...
dpkg: dependency problems prevent configuration of openmediavault-snapraid:
openmediavault-snapraid depends on openmediavault (>= 6.0); however:
Package openmediavault is not configured yet.
dpkg: error processing package openmediavault-snapraid (--configure):
dependency problems - leaving unconfigured
Setting up rrdtool (1.7.2-3+b7) ...
Setting up python3-samba (2:4.13.13+dfsg-1~deb11u3) ...
Setting up php-cgi (2:7.4+76) ...
update-alternatives: using /usr/bin/php-cgi.default to provide /usr/bin/php-cgi (php-cgi) in auto mode
update-alternatives: using /usr/lib/cgi-bin/php.default to provide /usr/lib/cgi-bin/php (php-cgi-bin) in auto mode
Setting up nginx-core (1.18.0-6.1) ...
Upgrading binary: nginx.
dpkg: dependency problems prevent configuration of openmediavault-luksencryption:
openmediavault-luksencryption depends on openmediavault (>= 6.0.10); however:
Package openmediavault is not configured yet.
dpkg: error processing package openmediavault-luksencryption (--configure):
dependency problems - leaving unconfigured
Setting up nginx (1.18.0-6.1) ...
Setting up samba-vfs-modules:amd64 (2:4.13.13+dfsg-1~deb11u3) ...
Setting up nginx-full (1.18.0-6.1) ...
Setting up samba-common-bin (2:4.13.13+dfsg-1~deb11u3) ...
Checking smb.conf with testparm
Load smb config files from /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "encrypt passwords" option is deprecated
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE
Done
Setting up samba (2:4.13.13+dfsg-1~deb11u3) ...
Installing new version of config file /etc/init.d/nmbd ...
Installing new version of config file /etc/init.d/samba-ad-dc ...
Installing new version of config file /etc/init.d/smbd ...
Installing new version of config file /etc/logrotate.d/samba ...
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 already masked)
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
samba-ad-dc.service is a disabled or a static unit not running, not starting it.
Setting up wsdd (0.7+gitc87819b) ...
Setting up liblvm2cmd2.03:amd64 (2.03.11-2.1) ...
Setting up libdevmapper1.02.1:amd64 (2:1.02.175-2.1) ...
Setting up libparted2:amd64 (3.4-1) ...
Setting up tasksel-data (3.68+deb11u1) ...
Setting up dmsetup (2:1.02.175-2.1) ...
update-initramfs: deferring update (trigger activated)
Setting up libdevmapper-event1.02.1:amd64 (2:1.02.175-2.1) ...
Setting up cryptsetup (2:2.3.7-1+deb11u1) ...
Setting up tasksel (3.68+deb11u1) ...
Setting up parted (3.4-1) ...
Setting up nfs-common (1:1.3.4-6) ...
nfs-utils.service is a disabled or a static unit not running, not starting it.
Setting up grub-common (2.04-20) ...
Installing new version of config file /etc/grub.d/00_header ...
Installing new version of config file /etc/grub.d/05_debian_theme ...
Installing new version of config file /etc/grub.d/10_linux ...
Installing new version of config file /etc/grub.d/20_linux_xen ...
Installing new version of config file /etc/grub.d/30_uefi-firmware ...
Setting up cryptsetup-run (2:2.3.7-1+deb11u1) ...
Setting up xfsprogs (5.10.0-4) ...
update-initramfs: deferring update (trigger activated)
Setting up dmeventd (2:1.02.175-2.1) ...
dm-event.service is a disabled or a static unit not running, not starting it.
Setting up cryptsetup-initramfs (2:2.3.7-1+deb11u1) ...
Installing new version of config file /etc/cryptsetup-initramfs/conf-hook ...
update-initramfs: deferring update (trigger activated)
Setting up nfs-kernel-server (1:1.3.4-6) ...
Setting up grub2-common (2.04-20) ...
Setting up grub-pc-bin (2.04-20) ...
Setting up lvm2 (2.03.11-2.1) ...
Configuration file '/etc/lvm/lvm.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
==> Keeping old config file as default.
Installing new version of config file /etc/lvm/profile/vdo-small.profile ...
update-initramfs: deferring update (trigger activated)
Setting up grub-pc (2.04-20) ...
Installing for i386-pc platform.
Installation finished. No error reported.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.10.0-13-amd64
Found initrd image: /boot/initrd.img-5.10.0-13-amd64
Found linux image: /boot/vmlinuz-5.10.0-0.bpo.12-amd64
Found initrd image: /boot/initrd.img-5.10.0-0.bpo.12-amd64
Found linux image: /boot/vmlinuz-5.10.0-0.bpo.3-amd64
Found initrd image: /boot/initrd.img-5.10.0-0.bpo.3-amd64
done
Processing triggers for libc-bin (2.31-13+deb11u3) ...
Processing triggers for ca-certificates (20210119) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-13-amd64
Processing triggers for dbus (1.12.20-2) ...
Processing triggers for php7.4-cli (7.4.28-1+deb11u1) ...
Processing triggers for php7.4-fpm (7.4.28-1+deb11u1) ...
Processing triggers for php7.4-cgi (7.4.28-1+deb11u1) ...
Errors were encountered while processing:
collectd
openmediavault
openmediavault-omvextrasorg
openmediavault-snapraid
openmediavault-luksencryption
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Sub-process /usr/bin/dpkg returned an error code (1)
Alles anzeigen