Hi,
First I want to say my English is not very good. If there is something wrong, please let me know.
For test,I installed the OMV5 and OMV-EXTRAS (for OMV5) on my test VM that OS is debian 10. But in my production environment, I still use debian9+omv4+docker+NextCloud
First,install the debian10 in VM.
Then ,add the openmediavault.list file to the sources.list.d directory. And the openmediavault.list content is
Then,run the command to install environment variables and keys
export LANG=C
export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none
apt-get update
apt-get --allow-unauthenticated install openmediavault-keyring
Install the OMV5
Now, you can access OMV5 .
For OMV-EXTRAS ,there is no version for OMV5 in his webpage. I tried to access the address (http://omv-extras.org/install) in his installation command . On his webpage I see the following command:
#!/bin/bash
declare -i version
url="https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/"
version=$(dpkg -l openmediavault | awk '$2 == "openmediavault" { print substr($3,1,1) }')
echo ${version}
if [ ${version} -eq 5 ]; then
echo "Downloading omv-extras.org plugin for openmediavault 5.x ..."
file="openmediavault-omvextrasorg_latest_all5.deb"
elif [ ${version} -eq 4 ]; then
echo "Downloading omv-extras.org plugin for openmediavault 4.x ..."
file="openmediavault-omvextrasorg_latest_all4.deb"
elif [ ${version} -eq 3 ]; then
echo "Downloading omv-extras.org plugin for openmediavault 3.x ..."
file="openmediavault-omvextrasorg_latest_all3.deb"
elif [ ${version} -eq 2 ]; then
echo "Downloading omv-extras.org plugin for openmediavault 2.x ..."
file="openmediavault-omvextrasorg_latest_all.deb"
else
echo "Unsupported version of openmediavault"
exit 0
fi
if [ -f "${file}" ]; then
rm ${file}
fi
wget --no-check-certificate ${url}/${file}
if [ -f "${file}" ]; then
dpkg -i ${file}
if [ $? -gt 0 ]; then
echo "Installing other dependencies ..."
apt-get -f install
fi
echo "Updating repos ..."
apt-get update
else
echo "There was a problem downloading the package."
fi
exit 0
Alles anzeigen
This is very fortunate, the version of OMV can be recognized in the installation code, and OMV5 is supported. So you can use the normal way to install OMV-EXTRAS.