Hi,
today I upgraded my omv6 to omv7.
It went the firt moment as expected but after a while I got
Setting up polkitd (122-3) ...
Failed to check if group polkitd already exists: Connection refused
id: ‘polkitd’: no such user
chown: invalid user: ‘polkitd:root’
dpkg: error processing package polkitd (--configure):
when you see this error: DON'T REBOOT
I have no idea while installation of polkitd doesn't create the user (may be because the usual user-id was already used), before moving on you can simply create the user:
addgroup --gid 901 polkitd
adduser --uid 901 --ingroup polkitd polkitd --no-create-home --shell /sbin/nologin --home /nonexistent --disabled-password
(of course take uid/gid not used on your system but should less than 1000)
then run
omv-upgrade
omv-salt stage run deploy
and everything should be fine and you can reboot safely hope this helps somebody