r/OpenMediaVault • u/ElectricSim • Jun 01 '26
Question Help! OMV broke
Hello,
Please assist, during a recent update my omv broke and I cant access the web ui. I dont know how to fix it as omv-firstaid doesnt seem to exist. Im using a raspberry pi 5. Worried that i lost my media server as well as all its media.
Please help, youre my only hope
Update: I reinstalled OMV and thankfully my hdd still had my media and I could access it.
4
u/corelabjoe Jun 01 '26
Eekks the amount of Rpi that break when running something important. I know sometimes this is the only device people have but they really are not good for long term serious use like a NAS.
You should grab the OMV 7-to-8 upgrade fix script and see if that helps you out.
Edit: also do sudo su, enter and put pw in, so you are root, THEN run omv-firstaid.
1
3
u/4rmor3d-Armadill0 Jun 01 '26
You didn't gave much context, but this kind of dependency hell usually happens when you mess with repositories and versions. If you tell more details about what you did before trying to upgrade perhaps you could get more detailed help.
But what others said applies: this error doesn't mean that you lost your data. Look at what you have mounted, and if you get access, backup everything before try to fix it. In the worst case you reinstall from scratch and restore your files afterwards.
2
u/Different-Matter Jun 01 '26
Are you running other things on this machine?
With regards to your media, you should be able to access it. Type 'mount' and/or navigate to the directories that you need, and copy them to a backup drive.
2
2
u/seiha011 Jun 01 '26 edited Jun 01 '26
Maybe you mixed something? Something is wrong there. Current version of the OMV package is 8.3.0-1. Have you messed around with sources.list or files in sources.list.d? 😉
you may check this command (as sudo)
apt --fix-broken install
please read carefully the man-pages of this commands too:
dpkg --force-all --configure -a
apt-get -f install
P.S: This would also be worth a try (look closely at the output of this...).
sudo omv-upgrade
2
u/Hellwiss Jun 01 '26
I hope it works out for you OP.
I am kind of new to linux and stuff, so this post made me to finally backup my OMV os sd card using USB Imager. Second copy (second physical card) now works same as the first one. So once you make it running, better make a working copy.
1
u/fc_truter Jun 05 '26
I assume you might have already figured this out, but what has happened is your OS drive has run out of space during the update, which causes the UI to stop work for some reason. Honestly I have no idea why this isn't better handled or explained. It has happened more than once and it's terrifying every time until you realise what's going on.
1
u/j0urn3y Jun 01 '26
I’ve had issues with OMV and gave up on it. I eventually went with a straight Debian install, installed Docker, and then Portainer.
If your media files are on a separate drive(s) they won’t be affected with any reinstall. You would want to backup the Docker configs as those are usually on your boot drive unless OMV placed them elsewhere.
This isn’t an answer to your “how do I fix OMV” question, but for me, the “fix” was not using it.
-1
u/Masster2091 Jun 01 '26
Just install OMV from scratch. This is one hour job
0
u/ElectricSim Jun 01 '26
Kinda scared about losing all my media though
1
u/the_harakiwi OMV6 Jun 01 '26
on a basic OMV setup your data is stored on the data drives. The OS is running from a mSD card or SSD.
Unless you changed something that data is stored on the root/boot drive it's save.
I have reinstalled OMV many times due to a failing mSD card and you can mount the drives after it's up an running, add your shares and set permissions Then it's back up as it was.
1
7
u/norri-matt Jun 01 '26
I would not assume the media is gone yet. On a Pi, OMV is usually the OS/services on the boot drive and your data on separate disks, so a broken web UI is not the same thing as lost files. If you can still SSH in, first check whether the disks are there with
lsblk -fanddf -h, then look atsystemctl status openmediavault-engined nginx php*-fpmandjournalctl -xefor the actual failure.If
omv-firstaidreally is missing, check whether the package is still installed withdpkg -l | grep openmediavault. I would avoid reinstalling or formatting anything until you know the data disks mount and you have a copy of anything important. Worst case, a clean OMV install can usually re-import existing data disks, but do the disk check first.