OpenMediaVault

From Indie IT Wiki

Introduction

openmediavault is the next generation network attached storage (NAS) solution based on Debian Linux. It contains services like SSH, (S)FTP, SMB/CIFS, DAAP media server, RSync, BitTorrent client and many more. Thanks to the modular design of the framework it can be enhanced via plugins, like Docker.

https://www.openmediavault.org/

Installation

Default Username & Password Via GUI

admin
openmediavault

Alter WebGUI Session Timeout

System -> General Settings -> Web Administration -> Session Timeout

Updating

sudo omv-update

OMV Extras

wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash

If the installation fails, see Cannot Install omv-extras

ZFS Support

To install and enable ZFS support, OMV Extras must be installed.

omv-installproxmox

After installation, reboot the system.

Upon rebooting, you can remove unnecessary kernels and install ZFS:

omv-removekernels
omv-update

In the OMVGUI go to OMV-Extras and enable "Testing repo", click "Save" then "Apply".

Go back to the Terminal:

apt install openmediavault-zfs
reboot

Now in the OMVGUI under the "Plugins" menu should be an entry for ZFS (use the search box to locate if necessary) which should be shown as active (green dot).

Troubleshooting

Cannot run System Update

This is because the repo list is a bit screwed up.

Copy the existing repo list file somewhere safe ...

cp -av /etc/apt/sources.list /root/

... then edit the file and paste these lines instead ...

# Stable
deb http://http.us.debian.org/debian/ buster main contrib non-free
# Stable Sources
deb-src http://http.us.debian.org/debian/ buster main contrib non-free
# Security Updates Stable
deb http://security.debian.org/ buster/updates main contrib non-free

... then you should be able to update the system ...

apt update
apt upgrade
omv-upgrade
reboot && logout

Cannot Install omv-extras

The omv-extras package is needed if you want to install Docker and Portainer.

The error is because it is missing the package gpg.

To fix it, ssh in to the OMV as root and run ...

apt-cache policy gnupg gpgv
apt-get install gnupg=2.2.12-1+deb10u1 gpgv=2.2.12-1+deb10u1
shutdown -r now

... then try again.

https://forum.openmediavault.org/index.php?thread/30398-can-t-install-omv-extras-unmet-dependencies-on-omv5/