init-stage2 failed.
I have tried to install it in my raspberry pi 4 and it is working fine, but if i try to install it on my pi zero i receive this error:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 01_s6-secret-init.sh: executing... [cont-init.d] 01_s6-secret-init.sh: exited 267.
!!!!! init-stage2 failed. !!!!!
I'm getting the same exact error on a Raspberry Pi 3 B+ any updates on this issue?
[s6-init] making user provided files available at /var/run/s6/etc...exited 0., [s6-init] ensuring user provided files have correct perms...exited 0., [fix-attrs.d] applying ownership & permissions fixes..., [fix-attrs.d] done., [cont-init.d] executing container initialization scripts..., [cont-init.d] 01_s6-secret-init.sh: executing... [cont-init.d] 01_s6-secret-init.sh: exited 267.
!!!!! init-stage2 failed. !!!!!
I'm getting the same error on my Raspberry Pi 2.
Preceding it is a warning from Docker:
docker[12903]: WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm/v6) and no specific platform was requested
Also getting this error
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01_perms.sh: executing...
[cont-init.d] 01_perms.sh: exited 267.
!!!!!
init-stage2 failed.
Messing around with an RPi2 and seem to be hitting this as well. Everything appears to be running but not working, logs were the only indication something was wrong with the container itself, not the Pi.
Are you all on architecture armv6? You can run uname -m to see that information. Because the docker image uses armv7.
Are you all on architecture
armv6? You can rununame -mto see that information. Because the docker image uses armv7.
I do believe that is the issue we are having, yes. The Pi 2 uses armv6 if I remember correctly, but I will have to double check when I get a chance.
Checked "uname -m" on my Raspberry Pi Zero W. Result: armv6l
But https://nginx.org/en/ reports: Tested OS and platforms
- Linux 2.2 — 4 / i386; Linux 2.6 — 5 / amd64; Linux 3 — 4 / armv6l, armv7l, aarch64, ppc64le;
Has anyone managed to make it work? I'm having the same error on RPi Zero WH
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01_perms.sh: executing...
[cont-init.d] 01_perms.sh: exited 267.
!!!!!
init-stage2 failed.
!!!!!
I'm running into this exact same issue on a Raspberry Pi Zero W. Same exact error as @AirAlarm
Same here on rpi 3b arm v6
more then a year later, issue isn't fixed
Everything was working fine for months and after a reboot I got the exact same error.
Issue is now considered stale. If you want to keep it open, please comment :+1: