NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
21.66k stars 2.51k forks source link

s6-overlay path issues #2978

Open dbergloev opened 1 year ago

dbergloev commented 1 year ago

Hi.

When updating my container to the latest version, the custom themepark theme no longer worked. When manually running it, it gave an issue about missing /usr/bin/with-contenv. This has apparently been moved to /command/with-contenv but $PATH has not been updated to include this directory.

I did find /var/run/s6/container_environment/PATH which does contain the new path to /command/ so I tried changing the Shebang path thinking that it would load in the updated $PATH, but with-contenv itself has dependencies inside /command/ that it cannot find, until $PATH has been updated. So there is a chicken and egg problem going on.

Currently I did a quick fix to get my dark theme working (The light i killing my eyes at night):

#!/bin/bash

for file in /var/run/s6/container_environment/*; do
    declare "`basename $file`"="`cat $file`"
done

.....
github-actions[bot] commented 7 months ago

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