-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unbound-docker-rpi 1.17.1 fails to start due to missing file unbound.log #45
Comments
@JEllgring thank you |
I've found a temporary solution to this. You can mount a volume with your file to the container, just to make sure that it exists like this: Hope this helps. |
@DrTuup your solution is good, the error is too in the version 1.19.2 @MatthewVance |
Merry Christmas y'all. I didn't know whether to create a separate issue to piggyback off this. I experience the a permission issue with the logs. I've set the path to be the directory I've mapped for unbound. Compose: snippet from unbound.conf (which was automatically generated from unbound.sh):
No unbound.log file is automatically created. On another note, is it possible to set verbosity level to 2 & 5? Thanks in advance |
Describe the bug
The container of unbound-docker-rpi, version 1.17.1 hangs in a restart loop after trying to start it.
The reason for this behaviour is the missing (compared to version 1.17.0) file data/opt/unbound/etc/unbound/unbound.log
in the source code.
Because of this, unbound.sh fails at line 376:
chown _unbound:_unbound /opt/unbound/etc/unbound/unbound.log && \
To Reproduce
Steps to reproduce the behavior:
docker run --name=unbound \ --publish=53:53/tcp \ --publish=53:53/udp \ --restart=unless-stopped \ --detach=true \ unbound-rpi64:1.17.1
docker ps
Error messages
Output of
docker logs unbound
isAdditional context
Solution:
Add a line to unbound.sh before the chown:
touch /opt/unbound/etc/unbound/unbound.log && \
chown _unbound:_unbound /opt/unbound/etc/unbound/unbound.log && \
The text was updated successfully, but these errors were encountered: