nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

init-stage2 failed.

Open Klay4 opened this issue 4 years ago • 12 comments

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. !!!!!

Klay4 avatar Feb 10 '21 18:02 Klay4

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. !!!!!

stilltruckin avatar Mar 27 '21 20:03 stilltruckin

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

Pizmovc avatar Apr 06 '21 10:04 Pizmovc

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.

Valiceemo avatar Sep 14 '21 18:09 Valiceemo

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.

drippyer avatar Nov 11 '21 22:11 drippyer

Are you all on architecture armv6? You can run uname -m to see that information. Because the docker image uses armv7.

chaptergy avatar Nov 14 '21 20:11 chaptergy

Are you all on architecture armv6? You can run uname -m to 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.

drippyer avatar Nov 14 '21 23:11 drippyer

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;

kaybeebee avatar Nov 21 '21 21:11 kaybeebee

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.
!!!!!

AirAlarm avatar Mar 17 '22 16:03 AirAlarm

I'm running into this exact same issue on a Raspberry Pi Zero W. Same exact error as @AirAlarm

Cerbrus avatar Jun 27 '22 22:06 Cerbrus

Same here on rpi 3b arm v6

ptv1p3r avatar Jul 02 '22 15:07 ptv1p3r

more then a year later, issue isn't fixed

Nessiroj avatar Jul 23 '22 15:07 Nessiroj

Everything was working fine for months and after a reboot I got the exact same error.

Tiritibambix avatar Jul 31 '22 08:07 Tiritibambix

Issue is now considered stale. If you want to keep it open, please comment :+1:

github-actions[bot] avatar Mar 19 '24 01:03 github-actions[bot]