This guide is only for Debian Buster (10) as of 2019-01-07. It was tested on a mipsel system (GnuBee PC2).
- Enable buster-backports (needed for monit)
echo "deb http://httpredir.debian.org/debian buster-backports main" >> /etc/apt/sources.list
apt-get update
- Install prerequisites
apt-get update
apt-get install debhelper fakeroot gettext python3-pip unzip sudo git make python3-setuptools python3-dev quilt
pip3 install --upgrade wheel
pip3 install --upgrade black pylint
- Clone wsdd from openmediavault, build and install
git clone https://github.com/openmediavault/wsdd.git
cd wsdd
fakeroot debian/rules binary
cd ..
dpkg -i wsdd_*.deb
- Clone openmediavault repo
git clone https://github.com/openmediavault/openmediavault.git
cd openmediavault/deb
- Download ext-6.2.0-gpl.zip into deb/sources
cd sources
wget -c http://cdn.sencha.com/ext/gpl/ext-6.2.0-gpl.zip
cd ..
- Build non-openmediavault packages libjs-extjs6, php-pam
cd libjs-extjs6 && fakeroot debian/rules binary
cd ../php-pam
fakeroot debian/rules binary
cd ..
- Build all openmediavault packages
make binary
- Install all deb packages (NOT udeb)
dpkg -i ./*.deb
- Install dependencies and configure
apt-get --auto-remove \
--no-install-recommends \
--option Dpkg::Options::="--force-confdef" \
--option DPkg::Options::="--force-confold" \
-f install
- If the above step fails due to masked openmediavault-beep-up.service, unmask all of them:
systemctl unmask openmediavault-beep-up.service
systemctl unmask openmediavault-beep-down.service
systemctl unmask openmediavault-cleanup-monit.service
systemctl unmask openmediavault-cleanup-php.service
systemctl unmask openmediavault-engined.service
systemctl unmask openmediavault-issue.service
and run apt-get -f install
again.
- If you get an error
dpkg: error processing package openmediavault-diskstats (--configure):
installed openmediavault-diskstats package post-installation script subprocess returned error exit status 1
rerun apt-get -f install
and it should install correctly this time. (This may be due to the order in which packages are installed, e.g. if all openmediavault packages are installed at the same time instead of the base package first.)
- If the above dpkg/apt-get steps don't work (want to remove openmediavault packages instead of installing dependencies) try apt (answer with the default choice for all questions):
apt install ./*.deb
apt -f install
- A possible way to improve the above installation process to fix some errors would be to do:
dpkg -i libjs-extjs6_*.deb php-pam_*.deb
dpkg -i openmediavault_*.deb
apt-get -f install
dpkg -i openmediavault-*.deb
apt-get -f install
- After the installation is finished without errors, populate the database:
omv-confdbadm populate
- Make the web GUI work:
omv-salt deploy run nginx
omv-salt deploy run phpfpm
You should now be able to log in to the web GUI at port 80.
-
failed to start chrony (Fatal error : Failed to load seccomp rules) This means that your kernel is compiled without seccomp (f.e. many embedded ARM/MIPS kernels).
- Disable network time in openmediavault GUI, apply
- check that chrony.service is disabled
- Create /etc/systemd/system/systemd-timesyncd.service.d/x-disable-condition-disable-with-time-daemon.conf with contents:
[Unit] # override conditions set in /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf ConditionFileIsExecutable=
- systemctl daemon-reload
- Configure systemd-timesyncd.conf and restart systemd-timesyncd, check status with timedatectl.
git clone https://github.com/openmediavault/openmediavault.git
git checkout 3be91eccabe8b7afd735241d787b962697d3124e
is the openmediavault version 5 download the git clone command will clone OMV6