I install pi hole with [HOWTO] Install Pi-Hole
Try login on ip-addres/admin but this open ip-addres/#/404
ip-addres/pihole/admin not work
Not have a directory /usr/share/openmediavault/mkconf/
How fix this?
I install pi hole with [HOWTO] Install Pi-Hole
Try login on ip-addres/admin but this open ip-addres/#/404
ip-addres/pihole/admin not work
Not have a directory /usr/share/openmediavault/mkconf/
How fix this?
I install pi hole with [HOWTO] Install Pi-Hole
Try login on ip-addres/admin but this open ip-addres/#/404
ip-addres/pihole/admin not work
Not have a directory /usr/share/openmediavault/mkconf/
How fix this?
That guide is old and is installing pihole on the host. This is probably going to cause several problems in OMV6. You should install pihole in docker.
yes, it's really old, and I delete it (2023.12.23) to avoid confussion, please use most recet pihole.yml to install on a docker.
You can see howto in my signature.
Have instruction how install docker on OMV6 and how install Pi-Hole?
Have instruction how install docker on OMV6 and how install Pi-Hole?
You can read here https://wiki.omv-extras.org/doku.php?id=omv6:docker_in_omv
Please note that to install pihole you will need to configure a vlan. Here's how to do it. https://wiki.omv-extras.org/do…_the_same_lan_as_the_host
Can use Services->Compose->Files->Add from Example and only add network from https://wiki.omv-extras.org/do…_the_same_lan_as_the_host ?
If I try this I have this error
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; docker compose --file '/compose/pihole/pihole.yml' --env-file '/compose/pihole/pihole.env' --env-file '/compose/global.env' up -d 2>&1': service "pihole" refers to undefined volume CHANGE_TO_COMPOSE_DATA_PATH/pihole/etc-pihole: invalid compose project
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; docker compose --file '/compose/pihole/pihole.yml' --env-file '/compose/pihole/pihole.env' --env-file '/compose/global.env' up -d 2>&1': service "pihole" refers to undefined volume CHANGE_TO_COMPOSE_DATA_PATH/pihole/etc-pihole: invalid compose project in /usr/share/openmediavault/engined/rpc/compose.inc:693
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(620): OMVRpcServiceCompose->{closure}('/tmp/bgstatusZ0...', '/tmp/bgoutputOb...')
#1 /usr/share/openmediavault/engined/rpc/compose.inc(696): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: OMVRpcServiceCompose->doCommand(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('doCommand', Array, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Compose', 'doCommand', Array, Array, 1)
#6 {main}
Alles anzeigen
What did I miss?
Can use Services->Compose->Files->Add from Example and only add network from https://wiki.omv-extras.org/do…_the_same_lan_as_the_host ?
If I try this I have this error
You have to adapt the "example" to your system.
What did I miss?
You missed reading the link to the docker documentation that I gave you.
You missed reading the link to the docker documentation that I gave you.
This.
Where find
Zitat
Open the UID and GID columns and make a note of the values that the appuser user has.
?
Where find
I just added that image to the wiki.
If you find any difficulty in that document, do not hesitate to ask.
It downloaded but still got an error.
I created these three folders (appdata, data, backup_docker), added them in Services->Compose->Settings. There is a user "appuser" that is set to read and write to these folders. I created macvlan in the Network tab.
I have an image in Services->Images.
---
# https://hub.docker.com/r/pihole/pihole
version: "3"
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
- "80:80/tcp"
environment:
TZ: 'Europe/Warsaw'
# WEBPASSWORD: 'set a secure password here or it will be random'
# Volumes store your data between container upgrades
volumes:
- ./pihole/etc-pihole:/etc/pihole
- ./pihole/etc-dnsmasq.d:/etc/dnsmasq.d
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
networks:
mynet:
ipv4_address: 192.168.1.241
cap_add:
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
restart: unless-stopped
networks:
mynet:
external: true
Alles anzeigen
Why doesn't it still work?
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; docker compose --file '/appdata/pihole/pihole.yml' --env-file '/appdata/pihole/pihole.env' --env-file '/appdata/global.env' up -d 2>&1': pihole Pulling
0bc8ff246cb8 Pulling fs layer
b420892c4b95 Pulling fs layer
4f4fb700ef54 Pulling fs layer
2d2f6878dbf8 Pulling fs layer
5dfd4e924890 Pulling fs layer
8b3fe36ce585 Pulling fs layer
9e5afc1b0d3c Pulling fs layer
ef9b9073d805 Pulling fs layer
83e77b545887 Pulling fs layer
5dfd4e924890 Waiting
8b3fe36ce585 Waiting
9e5afc1b0d3c Waiting
ef9b9073d805 Waiting
83e77b545887 Waiting
2d2f6878dbf8 Waiting
4f4fb700ef54 Downloading [==================================================>] 32B/32B
4f4fb700ef54 Verifying Checksum
4f4fb700ef54 Download complete
b420892c4b95 Downloading [> ] 539.9kB/61MB
b420892c4b95 Downloading [==> ] 3.218MB/61MB
b420892c4b95 Downloading [===> ] 3.75MB/61MB
....
Downloading
....
pihole Pulled
Network pihole_default Creating
Network pihole_default Created
Container pihole Creating
Container pihole Created
Container pihole Starting
Error response from daemon: driver failed programming external connectivity on endpoint pihole (5fde1ef988bfbcf5f7c67eb339155468bf7570be135a68a1ef63a0cdde3a9dff): Error starting userland proxy: listen tcp4 0.0.0.0:53: bind: address already in use in /usr/share/openmediavault/engined/rpc/compose.inc:693
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(620): OMVRpcServiceCompose->{closure}('/tmp/bgstatusUS...', '/tmp/bgoutputUY...')
#1 /usr/share/openmediavault/engined/rpc/compose.inc(696): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: OMVRpcServiceCompose->doCommand(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('doCommand', Array, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Compose', 'doCommand', Array, Array, 1)
#6 {main}
Alles anzeigen
I deleted the image and downloaded it again and this time I got it.
pihole Pulled
network mynet declared as external, but could not be found in /usr/share/openmediavault/engined/rpc/compose.inc:693
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(620): OMVRpcServiceCompose->{closure}('/tmp/bgstatusoy...', '/tmp/bgoutputeM...')
#1 /usr/share/openmediavault/engined/rpc/compose.inc(696): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: OMVRpcServiceCompose->doCommand(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('doCommand', Array, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Compose', 'doCommand', Array, Array, 1)
#6 {main}
Error response from daemon: driver failed programming external connectivity on endpoint pihole (5fde1ef988bfbcf5f7c67eb339155468bf7570be135a68a1ef63a0cdde3a9dff): Error starting userland proxy: listen tcp4 0.0.0.0:53: bind: address already in use in /usr/share/openmediavault/engined/rpc/compose.inc:693
Sorry, I don't know what might be wrong with your network. This procedure is used by many people and works well. I can only think that you haven't configured the vlan correctly or that something else is interfering. I have no idea what it could be.
According to that error, port 53 is already in use. If the container used the vlan network that should not happen.
According to that error, port 53 is already in use. If the container used the vlan network that should not happen.
It may be because I turned on pihole earlier but it was changed from 80:80 to 8080:80 but I couldn't log in to port 8080 so I pressed down. I forgot about that.
Could this cause any problems?
How to restore to default?
What should I do if I have already downloaded it and changed something in the "Files" file? I need to remove an image from "Images"?
Why are OMV-Extras not installed by default?
I'm testing it in virtualbox but I want to install it on NAS, I wonder why they are not added by default.
It may be because I turned on pihole earlier but it was changed from 80:80 to 8080:80 but I couldn't log in to port 8080 so I pressed down. I forgot about that.
Could this cause any problems?
Could be.
How to restore to default?
Delete persistent data and restart the container. This will start from scratch. In your case delete what is in ./pihole/etc-pihole and ./pihole/etc-dnsmasq.d
What should I do if I have already downloaded it and changed something in the "Files" file? I need to remove an image from "Images"?
The image is not important. The image remains the same (unless modified by the creator of that image). It only serves to create the container. The important thing is your persistent data, it's where your settings are. You can also delete the container if you want.
Why are OMV-Extras not installed by default?
I'm testing it in virtualbox but I want to install it on NAS, I wonder why they are not added by default.
omv-extras is an independent project of OMV.
Why are OMV-Extras not installed by default?
It is if OMV is installed via the install script
The default plugins are openmediavault-podman 6.0-2 https://podman.io/
From what I read it is similar to docker.
Maybe try this if docker doesn't work for me?
Is it better than docker?
Do you have a command like pi-hole via podman in OMV6?
Is OMV-extra safe? Maybe a strange question, but I've never used it.
The default plugins are openmediavault-podman 6.0-2 https://podman.io/
From what I read it is similar to docker.
Maybe try this if docker doesn't work for me?
Is it better than docker?
Do you have a command like pi-hole via podman in OMV6?
The openmediavault-podman plugin I believe was added to be able to easily update podman based plugins such as openmediavault-filebrowser or openmediavault-photoprism. The openmediavault-podman plugin does not offer as many configurations as the openmediavault-compose plugin. If you want to implement a podman container you will have to do it in CLI.
You can find the difference between podman and docker on Google, but basically podman makes it easy to configure containers without root. Docker has greater development at this time and a greater number of containers at your disposal that in some cases can work with podman and in others they will not.
Is OMV-extra safe? Maybe a strange question, but I've never used it.
Of course. It is just as secure as OMV.
Is OMV-extra safe?
I created omv-extras for the OMV 0.5 release over 10 years ago and I have been a mod on OMV forums since the beginning.
I add network like example on https://wiki.omv-extras.org/do…_the_same_lan_as_the_host
set network in Services->Compose->Network macvlan.
and have error with network
pihole Pulled
network mynet declared as external, but could not be found in /usr/share/openmediavault/engined/rpc/compose.inc:693
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(620): OMVRpcServiceCompose->{closure}('/tmp/bgstatusDL...', '/tmp/bgoutputGf...')
#1 /usr/share/openmediavault/engined/rpc/compose.inc(696): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: OMVRpcServiceCompose->doCommand(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('doCommand', Array, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Compose', 'doCommand', Array, Array, 1)
#6 {main}
I add
before
cap_add:
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
restart: unless-stopped
and after
Is's good?
Or set like [HOWTO] install PIHOLE on OMV using portainer WEBGUI on a MacVlan
Set macvlan not in Services->Compose->Network but on file?
If i want try again set pi-hole
Delete persistent data and restart the container. This will start from scratch. In your case delete what is in ./pihole/etc-pihole and ./pihole/etc-dnsmasq.d
I delete ./pihole the whole thing.
I should delete it too in Services->Compose->Images?
If try again up pihole I have this
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; docker compose --file '/compose/pihole/pihole.yml' --env-file '/compose/pihole/pihole.env' --env-file '/compose/global.env' up -d 2>&1': Couldn't find env file: /compose/pihole/pihole.env
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; docker compose --file '/compose/pihole/pihole.yml' --env-file '/compose/pihole/pihole.env' --env-file '/compose/global.env' up -d 2>&1': Couldn't find env file: /compose/pihole/pihole.env in /usr/share/openmediavault/engined/rpc/compose.inc:693
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(620): OMVRpcServiceCompose->{closure}('/tmp/bgstatusIb...', '/tmp/bgoutputih...')
#1 /usr/share/openmediavault/engined/rpc/compose.inc(696): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: OMVRpcServiceCompose->doCommand(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('doCommand', Array, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Compose', 'doCommand', Array, Array, 1)
#6 {main}
Alles anzeigen
Should I try with portainer to set pihole?
I guess this helps with docker.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!