Hi,
I just want to report my challenges during upgrade if it helps someone. Challenges mainly are due to custom modifications I did to the system (as always).
After executing the upgrade it told me to restart but to keep an eye on installing openmediavault-md. That failed because package "openmediavault" is still 6.x. That got my attention and it looks like a problem is the wsdd package:
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
openmediavault : Hängt ab von: wsdd (>= 0.7.0) aber 0.7+gitc87819b soll installiert werden
Hängt ab von: systemd-resolved soll aber nicht installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
I then downloaded openmediavault-md and installed it without dependencies which was stupid and should not be done that way
# apt show openmediavault -a
Package: openmediavault
Version: 7.0-12
Priority: optional
Section: admin
Maintainer: Volker Theile <volker.theile@openmediavault.org>
Installed-Size: 13,4 MB
Depends: php-fpm, libpam-modules, php-json, dpkg, patch, dash, mawk | gawk, php-cgi, php-cli, php-mbstring, php-pam, sudo, ethtool, python3-dialog, acl, iproute2, xfsprogs, jfsutils, ntfs-3g, hdparm, wsdd (>= 0.7.0), sdparm, mdadm, postfix, libsasl2-modules, bsd-mailx, python3-dbus, cpufrequtils, rsyslog, logrotate, smartmontools, openssl, openssh-server, uuid, tzdata, nfs-kernel-server, lsb-release, sshpass, grep, zstd, wget, util-linux, samba, samba-common-bin, rsync, apt-utils, netplan.io, avahi-daemon, libnss-mdns, iptables, monit, beep, php-bcmath, sed, gdisk, rrdtool, collectd, cron, anacron, cron-apt, quota, php-xml, quotatool, whiptail, lvm2, ca-certificates, libc-bin, findutils, coreutils, xmlstarlet, mount, parted, bash, diffutils, lsof, rrdcached, locales, nginx, bash-completion, python3, f2fs-tools, python3-apt, wpasupplicant, systemd, systemd-sysv, btrfs-progs, samba-vfs-modules, pciutils, python3-pyudev, python3-natsort, jq, chrony, python3-netifaces, udev, python3-lxml, salt-minion (>= 3006.0), libnss-myhostname, php-yaml, python3-click, python3-cached-property, python3-polib, libnss-systemd, libnss-resolve, debian-archive-keyring, openmediavault-keyring, systemd-resolved, python3-packaging, debconf (>= 0.5) | debconf-2.0
Conflicts: gdm3, lightdm, lxdm, sddm, slim, wdm, xdm
Homepage: http://www.openmediavault.org
Download-Size: 3.001 kB
APT-Sources: http://packages.openmediavault.org/public sandworm/main amd64 Packages
Description: openmediavault - The open network attached storage solution
openmediavault is a small and simple to use network attached storage system
with a smart WebGUI.
Package: openmediavault
Version: 6.9.10-1
Status: install ok installed
Priority: optional
Section: admin
Maintainer: Volker Theile <volker.theile@openmediavault.org>
Installed-Size: 12,9 MB
Depends: php-fpm, libpam-modules, php-json, dpkg, patch, dash, mawk | gawk, php-cgi, php-cli, php-mbstring, php-pam, sudo, ethtool, python3-dialog, acl, iproute2, xfsprogs, jfsutils, ntfs-3g, hdparm, wsdd (>= 0.6.2), sdparm, mdadm, postfix, libsasl2-modules, bsd-mailx, python3-dbus, cpufrequtils, rsyslog, logrotate, smartmontools, openssl, openssh-server, uuid, tzdata, nfs-kernel-server, lsb-release, sshpass, grep, wget, util-linux, samba, samba-common-bin, rsync, apt-utils, netplan.io, avahi-daemon, libnss-mdns, iptables, monit, beep, php-bcmath, sed, gdisk, rrdtool, collectd, cron, anacron, cron-apt, quota, php-xml, quotatool, whiptail, lvm2, ca-certificates, libc-bin, findutils, coreutils, xmlstarlet, mount, parted, bash, diffutils, lsof, rrdcached, locales, nginx, bash-completion, python3, f2fs-tools, python3-apt, wpasupplicant, systemd, systemd-sysv, btrfs-progs, samba-vfs-modules, pciutils, python3-pyudev, python3-natsort, jq, chrony, python3-netifaces, udev, python3-lxml, salt-minion (>= 3006.0), libnss-myhostname, php-yaml, python3-click, python3-cached-property, python3-polib, libnss-systemd, libnss-resolve, debian-archive-keyring, openmediavault-keyring, debconf (>= 0.5) | debconf-2.0
Conflicts: gdm3, lightdm, lxdm, sddm, slim, wdm, xdm
Homepage: http://www.openmediavault.org
Download-Size: unbekannt
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: openmediavault - The open network attached storage solution
openmediavault is a small and simple to use network attached storage system
with a smart WebGUI.
# apt show wsdd -a
Package: wsdd
Version: 2:0.7.0-2.1
Priority: optional
Section: net
Maintainer: Matthew Grant <matt@mattgrant.net.nz>
Installed-Size: 114 kB
Depends: python3 (>= 3.7)
Homepage: https://github.com/christgau/wsdd
Download-Size: 33,6 kB
APT-Sources: http://deb.debian.org/debian bookworm/main amd64 Packages
Description: Python Web Services Discovery Daemon, Windows Net Browsing
This daemon is used to announce Linux Hosts to Windows 7+ computers for
use in their File Manager network browsing, by using the Windows
Services Discovery Protocol.
.
This protocol is a local network segment procotol, which is multicasted
on udp/3072, and incoming on tcp/5357 on the 239.255.255.250/ff02::c
multicast addresses. It DOES have security issues, but it is designed
for use in a trusted environment inside a firewall.
.
Its quite useful for Samba, taking over from WINS and the Samba nmbd
daemon. Installing this restores the Network browsing functionality to
Windows 7+ Samba clients.
Package: wsdd
Version: 0.7+gitc87819b
Priority: optional
Section: net
Maintainer: Volker Theile <volker.theile@openmediavault.org>
Installed-Size: 93,2 kB
Depends: python3, samba-common-bin
Download-Size: 19,2 kB
APT-Manual-Installed: no
APT-Sources: http://packages.openmediavault.org/public sandworm/main amd64 Packages
Description: Web Services on Devices (WSD) daemon
Web Services on Devices (WSD) is a Microsoft API to simplify programming
connections to web service enabled devices, such as Printers, Scanners
and File Shares.
.
This daemon advertises and responds to probe requests from Windows
clients looking for File Shares.
Display More
The solution was to force the installation of wsdd=2:0.7.0-2.1 over wsdd=0.7+gitc87819b (apt install wsdd=2:0.7.0-2.1). I don't know the cause the upgrade failed, but it might have been one of my apt preferences setup.
Login to the webinterface did not work (probably because the omv package failed during the upgrade and the wrong config files were deployed), error was:
2023/12/10 21:45:32 [crit] 6046#6046: *18 connect() to unix:/run/php/php7.4-fpm-openmediavault-webgui.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.10.57, server: openmediavault-webgui, request: "POST /rpc.php HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm-openmediavault-webgui.sock:", host: "my.domain", referrer: "my.domain/"
I thought a reboot might fix it, however, the system did not come up again but I don't know why. It is headless and did respond to ping but all ports were closed. A hard reset brought it up then. But web still not worked. The thing it probably fixed was omv-salt deploy run phpfpm, but before I also made also deploy run nginx and webgui.
Now I am wondering if there are many other salt deploys missing from the upgrade because the upgrade of the openmediavault main package failed in the first place. FOr example, my VMs are coming up fine but the are not listed by the kvm plugin:
Invalid RPC response. Please check the syslog for more information.
OMV\Rpc\Exception: Invalid RPC response. Please check the syslog for more information. in /usr/share/php/openmediavault/rpc/rpc.inc:187
Stack trace:
#0 /usr/share/php/openmediavault/rpc/proxy/json.inc(95): OMV\Rpc\Rpc::call()
#1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
#2 {main}
For now everything essential works and I will have a look at the remaining stuff in the next days.
Cheers