-
Notifications
You must be signed in to change notification settings - Fork 189
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
Built locally addon fails to start #14
Comments
This is an odd one. I've tested building locally both on my raspberry pi 3 running hassio and with a hassio vagrant box, and haven't run into this issue. I'll keep looking into it, but can't reproduce it locally. Does this happen with other add-ons you've built locally? |
Later edit: I think I had the version before the last commit to The errors I see so far - that I will try to patch today:
|
@james-fry maybe when you copied the files don't have correct permissions and the entry point script didn't get into your container. You could try Also make sure you have the latest changes from the repo. |
It doesn't build locally now on my Orange Pi
|
@ciotlosm Can't replicate that. That's an issue at the Dockerfile / container creation level, which hasn't changed in over a week. Is the |
@danielwelch I never tried to build on generic linux or orange pi. Previously I had a RPI1 which was killing me at how slow it was doing things, so this is a new setup. I don't know what to try to fix it. It seems even a simple command like I think it has something to do with apk and what it's being used as |
I've successfully built locally on Raspberry pi 3 as well as virtualbox linux, and of course the travis build is successful if the Docker image is built successfully (which is your problem here). Wouldn't think it'd be a resources issue if you didn't have this problem on Rpi1 but are having it now with new hardware. |
Let me try on RPI3 (production) with same setup to eliminate human error on my side :-) Update: On the RPI3 it builds, so it must be a build dependency not specified that it's missing on the host OS for Orange Pi |
@danielwelch Found the problem I think. It's the same stupid seccomp. I removed it from addon start, but not from addon build. I'll have to patch the supervisor again .... |
No - all working well
Its not so easy since the container quits as soon as it starts due to the issue with the CMD. You can only attach to a running container... So I ran:
then explored the image fs in the resulting tar. I'm going to try it again from scratch... but I am pretty sure I will see the same. |
OK started this again.
Build log from hassio supervisor:
... and it works! Dunno what when wrong before. |
I want to build the addon locally so that I can use my fork of zigbee2mqtt when testing for new devices.
In order to achieve this I did the following:
I get an error:
[FATAL tini (5)] exec /app/run.sh failed: No such file or directory
In portainer I compared the image layers and it seems that the two images - yours from docker hub and mine built locally - are identical with the exception of tags...
really odd.
The text was updated successfully, but these errors were encountered: