[GH-ISSUE #2978] s6-overlay path issues #2030

Closed
opened 2026-02-26 07:33:45 +03:00 by kerem · 2 comments
Owner

Originally created by @dbergloev on GitHub (Jun 4, 2023).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2978

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

.....
Originally created by @dbergloev on GitHub (Jun 4, 2023). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2978 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): ```sh #!/bin/bash for file in /var/run/s6/container_environment/*; do declare "`basename $file`"="`cat $file`" done ..... ```
kerem 2026-02-26 07:33:45 +03:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@github-actions[bot] commented on GitHub (Jan 18, 2024):

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

<!-- gh-comment-id:1897634173 --> @github-actions[bot] commented on GitHub (Jan 18, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (Mar 4, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2695994799 --> @github-actions[bot] commented on GitHub (Mar 4, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#2030
No description provided.