Today we are going to be showing you how to install Openmediavault 5 on Raspberry Pi 4. This is episode 5 of our Raspberry Pi Series. If you haven’t followed our other episodes please do this first to catch up with where we are today (Optional).
Please note Openmediavault 5 is now End Of Life (EOL) which means it will no longer receive any updates or security patches. Please follow our new guide to install Openmediavault 6 instead. The guide can be found here https://www.addictedtotech.net/how-to-install-openmediavault-6-on-raspberry-pi-4/
What is Openmediavault 5?
OpenMediaVault is a Network Attached Storage solution (NAS). It can be installed onto a Raspberry Pi 4 which will turn the Raspberry Pi into a fully-fledged networked server. Allowing a graphical user interface (GUI) to administrate the server.
Openmediavault (OMV) is great for creating network folders (Shares) and serving media files. It is also excellent for installing services and applications that can be accessed across the network. It allows docker installation and management through Portainer or Yacht. All without having to interact with the command line.
Please follow our other Episodes to bring you up to date with this Episode. If you would like to just get on with installing OMV then below are the prerequisites.
Difficulty = Easy
- Raspberry Pi 4 with external USB hard drive storage.
- Raspberry Pi OS Lite (Legacy) installed. You will need to have the Raspberry Pi OS Lite (Legacy) version installed if you would like to use Openmediavault version 5. This is because OMV5 is not supported in the latest version of Raspberry Pi OS Bullseye. If you would like to use Openmediavault 6 then follow our guide here.
- SSH access over the network
How to Install Openmediavault 5 on Raspberry Pi 4
Step1: Connect to your Raspberry Pi using SSH and update it.
Open a terminal window and connect to your Raspberry Pi 4 over SSH. If you’re on the latest version of Windows 10 you can use the cmd terminal or Powershell. If not you will need PuTTY. Follow our installation guide here.
Connect to your Raspberry Pi over SSH on Linux type.
ssh -p PORT [email protected]
Connect to your Raspberry Pi over SSH on Windows using PuTTY. Replace the IP and Port number with your setup: (How to find your Raspberry Pi’s IP address)
Now we have connected.
The first thing we need to do is to update and upgrade the Raspberry Pi OS to ensure it has all the latest package updates installed.
sudo apt update -y && sudo apt upgrade -y
Finally, we will run the following command.
sudo rm -f /etc/systemd/network/99-default.link
Now we will need to reboot the Raspberry Pi.
Step 2: Install Openmediavault by running the bash Install script
Once rebooted we will need to reconnect to the Raspberry Pi via SSH and log in. From there type the following to execute the OMV bash install script from Github (Note the installation can take up to 30 minutes to complete).
sudo wget -O - https://raw.githubusercontent.com/OpenMediaVault-Plugin-Developers/installScript/master/install | sudo bash
Please note: if you have made any SSH port or username changes installing OMV using this script will reset them. If you can’t get back into SSH please go to the Users section in Openmediavault and go to your custom user account. Add that user to the SSH group and re-enter your password twice and save and apply the changes. This will give you back SSH access for your custom user account. Please watch our YouTube video above for more information.
Once the install script finishes. The Raspberry Pi 4 will reboot.
Step 3: Connect and log into the Openmediavault dashboard.
Navigate to your chosen browser and connect to the Openmediavault interface by putting the following into the address bar:
If you get a warning page please accept the security warning and proceed. (This warning is due to the way the browser handles websites and SSL/TLS certificates. As this is not a website on the internet it perfectly safe to accept this warning and proceed to the log in page.)
You have now successfully installed Openmediavault on your Raspberry Pi 4.
To log in the default Username and Password is:
Username: admin Password: openmediavault
Configure Openmediavault 5.
If you would like to know how to configure Openmediavault then please watch our YouTube video at the top of this page.
It goes into every great detail about each setting and shows you how to configure drives, file shares, users and how to install Docker & Portainer.
How did you get on with the installation and configuration of OMV?. Let us know in the comments. If you have any questions we like to help so feel free to ask.
We need your support.
We hope you enjoyed this episode and that it was helpful and you got benefit out of it.
If you did, please consider supporting our channel by Subscribing to our YouTube channel, and liking and sharing our content.
If you have any questions or any requests please ask in the comments below or on YouTube.