Description
β Have you read and understood the above guidelines?
yes
π What is the name of the script you are using?
misc/build.func via nginxproxymanager.sh
π What was the exact command used to execute the script?
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/nginxproxymanager.sh)"
βοΈ What settings are you using?
- Default Settings
- Advanced Settings
π₯οΈ Which Linux distribution are you using?
Debian 12
π Provide a clear and concise description of the issue.
When attempting to run the nginxproxymanager.sh script with standard settings, verbose output, it errored out with
[ERROR] in line 1079: exit code 0: while executing command pct exec "$CTID" -- bash -c "echo $tz >/etc/timezone && ln -sf /usr/share/zoneinfo/$tz /etc/localtime"
I was able to resolve this by changing the relevant line to
pct exec "$CTID" -- bash -c 'echo '"'"'${tz}'"'"' >/etc/timezone && ln -sf /usr/share/zoneinfo/'"'"'${tz}'"'"' /etc/localtime'
however, I had some help in modifying that line and don't have enough understanding of scripting to propose a "permanent" solution nor test it thoroughly (hence me not simply submitting a PR).
π Steps to reproduce the issue.
Run bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/nginxproxymanager.sh)"
from the promox web gui shell.
β Paste the full error output (if available).
Sorry, that's long gone, here is the best that I have:
[ERROR] in line 1079: exit code 0: while executing command pct exec "$CTID" -- bash -c "echo $tz >/etc/timezone && ln -sf /usr/share/zoneinfo/$tz /etc/localtime"
πΌοΈ Additional context (optional).
I love this project- thank you!