You can not instoll nor update, as your DNS is borked.
Post the output of the commands I posted before.
Code
root@openmediavault:~# ls -l /run/systemd/resolve/resolv.conf
ls: cannot access '/run/systemd/resolve/resolv.conf': No such file or directory
root@openmediavault:~# cat /run/systemd/resolve/resolv.conf
cat: /run/systemd/resolve/resolv.conf: No such file or directory
root@openmediavault:~#
I had OMV4 for quite a while and tried installing Nextcloud but couldn't get it working and gave up. Then I got back into it and updated to OMV5. That wasn't fun. I followed Techno Dad Life's videos and got it updated. I messed OMV up a few times trying to get external access but was able to restore it. Or so I thought...
All of this has happened over time, so it's hard to remember exact steps that I've taken.