又一个莫名其妙的 Nginx Proxy Manager 问题

今天重启一下服务器,结果 Nginx Proxy Manager 又又又起不来了。

nginx-proxy-manager | s6-rc: warning: unable to start service prepare: command exited 4
nginx-proxy-manager | /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! 

好在我不是第一个遇到这个问题的:

s6-rc: warning: unable to start service prepare · Issue #2773 · NginxProxyManager/nginx-proxy-manager
Checklist Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image? Yes Are you sure you’re not using someone else’s docker image? Yes Have you searched for similar iss…

对于 docker compose 来讲,就是直接用 /dev/null bind到这个出问题的文件上。

    volumes:
      - /dev/null:/etc/s6-overlay/s6-rc.d/prepare/50-ipv6.sh
      # other bindings

用这篇文章稍微记录一下吧,Nginx Proxy Manager 还是经常有问题的。有时间还是赶紧换了吧。