Possible to install a baremetal PiHole on an Armbian OMV system?

  • Is it possible to use/install PiHole on an OMV system? I’m having various complications running in Docker but am worried about making OMV unstable.


    If not possible to reliably install on top of an OMV system, would it change the equasion to install PiHole on a fresh Armbian install before installing OMV or is docker really the only reliable approach?


    TIA

    OMV 6 | 64 bit | 6.6.32 Armbian kernel | Libre Renegade 2GB

  • please see my signature of how to install pihole on OMV, works fine and is not difficult.


    You can install adguadHome too if consider too dificult pihole.

    • Official Post

    The question is as to whether it’ll destabilise OMV to install it onto the bare metal system.

    It will probably only have issues with systemd-resolved. But why do you want to move it to bare metal from a container?

    omv 7.4.0-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • why do you want to move it to bare metal

    I’ve had config issues that I’m not really sure are resolvable by following a guide. There are variables that seem as though I’ll need to do a deep dive on networking to get a grasp of and I wont have the mental capacity to focus and absorb that kind of material at least until the end of the year.


    From what I’ve read, it looks as though the cli installs walk through the config steps and create whatever directories and config files are necessary to get started. I don’t expect it to solve all my problems but I’m hoping it’ll solve a few.


    It also seems as though a DHCP server might be one of those things that justifies a bare metal install.

    OMV 6 | 64 bit | 6.6.32 Armbian kernel | Libre Renegade 2GB

    • Official Post

    It also seems as though a DHCP server might be one of those things that justifies a bare metal install.

    Problems you have in the container will be replaced with problems created by conflicts with the host's services. If you run a dhcp server, it shouldn't matter if it is in a container or native as long as the host is using a static ip.

    omv 7.4.0-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Problems you have in the container will be replaced with problems created by conflicts with the host's services

    This is certainly a concern and if you say it’s likely to be a substantial problem then I’ll have to reconsider. Having said that I’ve been under the impression that services like systemd-resolved have conflicts with containerised DHCP servers too

    OMV 6 | 64 bit | 6.6.32 Armbian kernel | Libre Renegade 2GB

    • Official Post

    This is certainly a concern and if you say it’s likely to be a substantial problem then I’ll have to reconsider. Having said that I’ve been under the impression that services like systemd-resolved have conflicts with containerised DHCP servers too

    They can if configure to listen on all network interfaces. You could run pihole in a VM using the kvm plugin to avoid all of this. Just follow the kvm guide to create a bridge adapter and set the VM to autostart.

    omv 7.4.0-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    That sounds really interesting, I’ll look into it.

    I just realized you are on armbian. Your board might be limited on resources making this a little tougher to do but luckily pi-hole runs with very little. I think you could have a 1 vcpu, 256MB VM.

    omv 7.4.0-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Your board might be limited on resources making this a little tougher to do but luckily pi-hole runs with very little. I think you could have a 1 vcpu, 256MB VM

    I have 2GB and nothing stressing the system at all so I’ll give it a try with the specs you describe and hope for the best.


    Thanks for your input, I get that this is probably the beginning of another steep learning curve but this seems like the kind of approach that is worth the investment.


    I appreciate your time.

    OMV 6 | 64 bit | 6.6.32 Armbian kernel | Libre Renegade 2GB

  • So following the network config guide here, I deleted the main network device (eth0) and before saving, setup a new bridge network with the same device (eth0) along with the ip of the sbc and the netmask, gateway and dns details as indicated in the guide.


    On saving I lost connection to the sbc and it’s now not responding. I guess this was predictable but it did say to apply changes in the guide.


    Have I missed something obvious? Do I now need to do a fresh install and config from scratch or is there some way to salvage this system?


    TIA

    OMV 6 | 64 bit | 6.6.32 Armbian kernel | Libre Renegade 2GB

    • Official Post

    On saving I lost connection to the sbc and it’s now not responding. I guess this was predictable but it did say to apply changes in the guide.


    Have I missed something obvious? Do I now need to do a fresh install and config from scratch or is there some way to salvage this system?

    Are you using a static ip? There is definitely no need to reinstall. You might need to plug a keyboard and monitor into it.

    omv 7.4.0-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    Unfortunately I have neither keyboard nor monitor.

    I guess you reinstall then. It is impossible to help without more info and you can't get that info without a monitor. You don't even have a tv?

    omv 7.4.0-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    I do have a tv.

    If it has an hdmi port then you have a monitor that the board can be plugged into. Keyboards are cheap...

    I have inputs for the laptop but they're bluetooth.

    The laptop won't help unless you have a usb to serial adapter.

    omv 7.4.0-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.1 | k8s 7.2.0-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.8


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Keyboards are cheap...

    I can plug into the tv but as you've observed it's not much good without a keyboard.


    Can I ask what's up with the guide that following instructions causes this result? I had a feeling this was a risk but checked the steps three times before applying the changes.


    I realise user error is always a likelihood when addressing questions like this, I can only tell you it was a basically stock setup and I followed the guide very carefully

    OMV 6 | 64 bit | 6.6.32 Armbian kernel | Libre Renegade 2GB

    • Official Post

    Can I ask what's up with the guide that following instructions causes this result? I had a feeling this was a risk but checked the steps three times before applying the changes.


    I realise user error is always a likelihood when addressing questions like this, I can only tell you it was a basically stock setup and I followed the guide very carefully

    I have personally followed this procedure many times without any problem, and I am convinced that many, many users do as well. That particular procedure has long been published without modification. This is the first time I read that someone has had this problem.

    So, I'm sorry, but I can only think that you have made some mistake in the values entered in the configuration of the bridge interface.

    Perhaps through your router you can see if an IP has been assigned to that machine.

    I'm assuming you don't have a backup of your operating system either. I recommend you consider this point as a habitual habit, it saves you from situations like this.

  • I'm sorry

    No need for that, I appreciate the time you all take to contribute to a community.


    Yes it's an Armbian system on a Libre Renegade board. I do think that as somewhat intricate as those instructions are in some ways (the abstraction of the interface complicates things imo), it is ultimately a fairly simple process. I don't think I made any mistakes.

    OMV 6 | 64 bit | 6.6.32 Armbian kernel | Libre Renegade 2GB

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!