Closed axi92 closed 1 year ago
If it works like described in the docs using the default entrypoint... and all you want it is running everything as non-root, this issue duplicates https://github.com/openhab/openhab-docker/issues/353.
I did not change anything I just want to run the openhab docker file as it is without changing its entry point or cmd.
But that gives me the error above. As you see in the logs I run it as designed with exec gosu openhab tini -s ./start.sh
what the default cmd is.
I read the #353 and I dont think it duplicates my ticket. I have the problem that it ran a long time with no issues. And suddenly it stops working and I have no clue why.
The only workaround for me was to run it as root, that way it still works.
If it worked before then maybe the cached Docker image got corrupt somehow? I'd try to delete the cached image and make it redownload a fresh copy.
I already tried pulling the image new and also with the M4 image. Same output. I could imagine that it is a docker issue? But I never had this. But why would a container stop working just out of nowhere? I work a lot with docker but never had such an issue.
I could imagine that it is a docker issue? But I never had this. But why would a container stop working just out of nowhere?
If you update the Docker engine on your host OS a perfectly working container can stop working from one day to another. Does the container work on other Docker hosts?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I moved my openhab container to a zimaboard. So I dont have to deal with the qnap arm weird docker anymore =)
Summary
I tried to start it and it says it cant find tini. All other containers are running smooth. Zigbee2MQTT, my mqtt server, unify controller, ...
Expected Behavior
Start openhab
Current Behavior
I start it on my linux/arm/v7 nas with this:
docker run --name openhab1 -ti --rm -v /etc/localtime:/etc/localtime:ro -v /etc/timezone:/etc/timezone:ro -e CRYPTO_POLICY=unlimited --entrypoint=/bin/bash openhab/openhab:3.3.0-debian
the output that I get is:Possible Solution
I tried to override the entrypoint with a bash and then "/entrypoint" manualy with the following "gosu openhab tini -s ./start.sh" but it still fails with an error:
Then I tried to start it with root with just ./start.sh and it works... So the only workaround for this is to override the cmd with ./start.sh that makes the sad part that it runs with root.
Steps to Reproduce
Context
This image was running for weeks, last night it went down and since then I was not able to start it again
Your Environment
Qnap NAS
Image
Docker Host
Configuration