MatthewVance / unbound-docker-rpi

Run Unbound with latest version of OpenSSL on Raspberry Pi with Docker.
MIT License
136 stars 23 forks source link

Cannot append customizations to the provided Unbound configuration #50

Open Thewansingh opened 4 months ago

Thewansingh commented 4 months ago

Cannot append customizations to the provided Unbound configuration

My container self updates every night, however on the latest release 1.19.2 my container was not being assigned an ip address. I decided to nuke that container and recreate a new one using this command. I also nuked my unbound config files folder and created a new empty one so i can edit and appened the provided unbound config files.

So i run docker run --name=unbound-rpi \ --volume=/my-directory/unbound:/opt/unbound/etc/unbound/ \ #i did add my own directory, this is just the base example --publish=53:53/tcp \ --publish=53:53/udp \ --restart=unless-stopped \ --detach=true \ mvance/unbound-rpi:latest

Now 2 things happend

Nyurael commented 4 months ago

My system is selfupdatding too and since this morning, unbound is down. Got the same problem, no IP anymore. Also, Container logs is full with:

[1710059707] unbound[1:0] warning: unbound is already running as pid 1. chown: cannot access '/opt/unbound/etc/unbound/unbound.log': No such file or directory

MeCias commented 4 months ago

I can confirm that. There are no IP addresses assigned any more. I tried all kind of network configurations. Nothing works.

Klorins commented 4 months ago

Same problem here too

d-rez commented 4 months ago

Potentially related to https://github.com/MatthewVance/unbound-docker-rpi/issues/51, the actual reason seems to be that the container crashes even with default config. Try rolling back to mvance/unbound-rpi:1.17.1

Nyurael commented 3 months ago

it should allready be fixed in the newest version