-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
error: exec: "tini": executable file not found in $PATH #409
Comments
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 #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. I read the #353 and I dont think it duplicates my ticket. 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. |
If you update the Docker engine on your host OS a perfectly working container can stop working from one day to another. |
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 =) |
That board looks nice, at a good price and very compatible due to x86. 👍 To get it working on the QNAP, their community might have more answers on how to handle any QNAP Docker weirdness. 🙂 |
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
The text was updated successfully, but these errors were encountered: