Hey folks, I'm trying to see if I can salvage an OMV installation without throwing in the towel and rebuilding the entire thing.
I can identify a few errors but I'm curious if they are part of a greater permissions issue or something that one of you can identify for me. I've been poking around but my brain is breaking.
I got this running on a Raspberry Pi 4B, pretty standard setup.
Here's the story:
- Due to an ID10T error when swapping out a case, I physically broke the USB ports and had to get a replacement Pi 4B.
- I took the SD card from the old Pi (containing OMV) and put it into the new one, hoping most of it would translate over with little reconfiguration needed
- I initially had to drop in via the console with a monitor connected and run omv-firstaid to take care of the network interface remapping (new NIC and all considering it's a different Pi), but after that I could get into the web UI.
- This is where I discovered the gauntlet of problems: I couldn't mount my two USB BTRFS disks (exit code '32': mount: /srv/dev-disk-by-label-datadisk: unknown filesystem type 'btrfs'). After going down a Google rabbit hole, it seems that apparently the BTRFS kernel module didn't load in correctly or something. I was looking at a GitHub issue about udev rules and replacing them, but I wasn't sure if this was the case.
- The OpenVPN plugin also died. The service will not start, the OpenVPN log just states ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
- Lastly (maybe not leastly), the Docker service is unable to start. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; echo "Restarting docker ..." && systemctl restart docker.service ': Restarting docker ...
I feel there is a chance all of these might be related, but I'm not entirely certain. It's a bit overwhelming and I'm tempted to just blow it away and reinstall (not the end of the world honestly), but I was curious if anyone had any suggestions or ideas before I do that. I almost feel it's something with file permissions on the SD card but I'm not sure, it's just a guess.
Thanks!
Here's a sample detailed error for a disk not mounting (I couldn't put it in a bulleted list without it getting mangled):
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; mount -v --source '/dev/disk/by-label/datadisk' 2>&1' with exit code '32': mount: /srv/dev-disk-by-label-datadisk: unknown filesystem type 'btrfs'. in /usr/share/php/openmediavault/system/process.inc:182
#0 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(742): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(931): OMV\System\Filesystem\Filesystem->mount()
And here is a detailed OpenVPN error when I try to get the service configured/reinstalled:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color openvpn 2>&1' with exit code '1': raspberrypi:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusVp...', '/tmp/bgoutputn3...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)