Manual OpenMediaVault install Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
cotarelo
Posts: 12
Joined: Mon May 11, 2020 10:39 pm

Manual OpenMediaVault install

Post by cotarelo »

Hello forum! :)

First of all thank you for this magnificent distro! What took hours to configure some years ago now takes minutes!

I discovered OpenMediaVault and I would like to try it for a while, while I know that you aren't supporting the automated install since some years, I want to install it manually. I read that some of the functionality of DietPi will break and I would like to know what to expect if I decide to ship OMV in my "production" dietpi.

Thank you! ;)
User avatar
Joulinar
Posts: 2059
Joined: Sat Nov 16, 2019 12:49 am

Re: Manual OpenMediaVault install

Post by Joulinar »

Hi,

many thanks for your report. Based on your message I was giving it a try on my RPi3B+ and I used following install script

Code: Select all

wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash
At the end I was able to setup OMV but faced some issues in between.
  1. SSH Server
    • OMV will install OpenSSH even if Dropbear is already installed. This will lead to a conflict as just one SSH server can be started and installation will fail at this step
    • Solution would be to switch SSH server preference to OpenSSH before
  2. TimeSync
    • Network Time Synchronization service systemd-timesyncd.service will not work anymore after installation of OMV
    • Solution would be to disable the service. Looks like OMV has it's own Time Sync process.
    • Downside, there will be no time sync during reboot/restart. Time sync will happen after OMV has been started only
  3. DHCP
    • on one of my restarts, DHCP was not working correctly and there was no IP address assigned leading to some services failing and no access possible to the system. I guess it was due to issues with time sync and system time not set correctly
    • solution would be to set STATIC IP instead of DHCP
  4. Watchdog service
    • I noticed watchdog service was not working correctly on my RPI due to missing kernel dependencies.
    • Solution would be to disable watchdog service
  5. Nginx web server
    • OMV will install Nginx web server. It will lead to some conflicts if you already have a different type of web server running
    • Solution would be to switch web server preference to Nginx before
I did not continue at this point, even if OMV was running and I was able to login to website. From my point of view, there are to many conflicts and dependencies. Next to this, OMV is exactly the opposite of DietPi. Because DietPi is an extremely small and lean version of Debian, were OMV install quite a large amount of packages (even if not needed or used). So might be better to go with OMV image directly instead of trying to set it up in DietPi.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
cotarelo
Posts: 12
Joined: Mon May 11, 2020 10:39 pm

Re: Manual OpenMediaVault install

Post by cotarelo »

Thank you for the reply.

I am using a RPI3B+ as a testbed while my "production" Dietpi server is installed in a regular PC x86/64

I used the exact same script to install OpenMediaVault and I discovered that on a clean Dietpi installation by just changing the default dropbear ssh server by openssh the installation of OMV works out of the box.

Its true that timesynced didn't work, but DHCP worked normally on the WiFi

Now, I also planned to have on my DietPI the following software together with OMV, this is what I currently run on my dietpi pc.

*Deluge
*Pi-Hole
*Plex

Doing it right now so I'll post what are the conflicts of installing these afterwards.
cotarelo
Posts: 12
Joined: Mon May 11, 2020 10:39 pm

Re: Manual OpenMediaVault install

Post by cotarelo »

Also, while I agree that the DietPi is focused on lightweight Debian distribution, I would still like to have the choice of installing a chunky software if I need it, OMV has good plugins for backups that it would be hard to configure manually in Debian. I installed DietPi not for the lightweight but for the simplicity in having ready to use software.
User avatar
Joulinar
Posts: 2059
Joined: Sat Nov 16, 2019 12:49 am

Re: Manual OpenMediaVault install

Post by Joulinar »

You are already running a couple of web applications. Keep in mind that OMV is expecting Nginx web server.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
cotarelo
Posts: 12
Joined: Mon May 11, 2020 10:39 pm

Re: Manual OpenMediaVault install

Post by cotarelo »

Joulinar wrote: Thu May 14, 2020 10:35 pm You are already running a couple of web applications. Keep in mind that OMV is expecting Nginx web server.
I don't follow you. Can't this be fixed by using a different port or a virtual host?
User avatar
Joulinar
Posts: 2059
Joined: Sat Nov 16, 2019 12:49 am

Re: Manual OpenMediaVault install

Post by Joulinar »

the problematic one is PiHole as Deluge and Plex using their own web server. Basically you would have 2 options. Change the http port from 80 or reinstall PiHole using Nginx
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
cotarelo
Posts: 12
Joined: Mon May 11, 2020 10:39 pm

Re: Manual OpenMediaVault install

Post by cotarelo »

Is there a way to change the port via dietpi configuration file?
User avatar
Joulinar
Posts: 2059
Joined: Sat Nov 16, 2019 12:49 am

Re: Manual OpenMediaVault install

Post by Joulinar »

no you need to use web server config file directly. In case of lighttpd, it would be /etc/lighttpd/lighttpd.conf
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
cotarelo
Posts: 12
Joined: Mon May 11, 2020 10:39 pm

Re: Manual OpenMediaVault install

Post by cotarelo »

Would it be possible to set a virtual machine inside dietpi to host openmediavault?
Post Reply