β
Have you read and understood the above guidelines?
yes
π Did you run the script with verbose mode enabled?
Yes, verbose mode was enabled and the output is included below
π What is the name of the script you are using?
NginxProxyManager
π What was the exact command used to execute the script?
bash -x <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/nginxproxymanager.sh) 2>&1 | tee npm-update.log
βοΈ What settings are you using?
π₯οΈ Which Linux distribution are you using?
Debian 13
π Which Proxmox version are you on?
9.1.9
π Provide a clear and concise description of the issue.
After updating Nginx Proxy Manager using the updated community script from PR #14353, NPM stopped working correctly.
Port 81 was no longer listening, so the web interface became inaccessible. From what I saw, only port 80 was active after the update.
I checked the container and it looks like /usr/local/openresty/nginx/conf/nginx.conf got replaced with the default OpenResty example config during the update process.
The production.conf file was still present and still contained the listen 81 configuration, but nginx was no longer loading anything from /usr/local/openresty/nginx/conf.d/.
Running nginx -T only showed the stock OpenResty localhost configuration and no NPM configs were loaded anymore.
These lines from the verbose update log looked related:
cp conf/nginx.conf '/usr/local/openresty/nginx/conf/nginx.conf.default'
sed -i 's/user npm/user root/g; s/^pid/#pid/g' /usr/local/openresty/nginx/conf/nginx.conf
I managed to get it working again by manually rebuilding the nginx.conf and restoring the missing include/map/cache settings.
I also saved the full verbose update log if needed.
π Steps to reproduce the issue.
Update with latest version of script.
β Paste the full error output (if available).
root@nginxproxymanager:# ss -ltnp | grep -E ':(80|81|443)'
LISTEN 0 511 0.0.0.0:80 0.0.0.0:* users:(("nginx",pid=9438,fd=6),("nginx",pid=9421,fd=6))
root@nginxproxymanager:# grep -R "listen 81" /usr/local/openresty/nginx/conf.d /etc/nginx/conf.d
/usr/local/openresty/nginx/conf.d/production.conf: listen 81 default;
/etc/nginx/conf.d/production.conf: listen 81 default;
πΌοΈ Additional context (optional).
No response
β Have you read and understood the above guidelines?
yes
π Did you run the script with verbose mode enabled?
Yes, verbose mode was enabled and the output is included below
π What is the name of the script you are using?
NginxProxyManager
π What was the exact command used to execute the script?
bash -x <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/nginxproxymanager.sh) 2>&1 | tee npm-update.log
βοΈ What settings are you using?
π₯οΈ Which Linux distribution are you using?
Debian 13
π Which Proxmox version are you on?
9.1.9
π Provide a clear and concise description of the issue.
After updating Nginx Proxy Manager using the updated community script from PR #14353, NPM stopped working correctly.
Port 81 was no longer listening, so the web interface became inaccessible. From what I saw, only port 80 was active after the update.
I checked the container and it looks like /usr/local/openresty/nginx/conf/nginx.conf got replaced with the default OpenResty example config during the update process.
The production.conf file was still present and still contained the listen 81 configuration, but nginx was no longer loading anything from /usr/local/openresty/nginx/conf.d/.
Running nginx -T only showed the stock OpenResty localhost configuration and no NPM configs were loaded anymore.
These lines from the verbose update log looked related:
cp conf/nginx.conf '/usr/local/openresty/nginx/conf/nginx.conf.default'
sed -i 's/user npm/user root/g; s/^pid/#pid/g' /usr/local/openresty/nginx/conf/nginx.conf
I managed to get it working again by manually rebuilding the nginx.conf and restoring the missing include/map/cache settings.
I also saved the full verbose update log if needed.
π Steps to reproduce the issue.
Update with latest version of script.
β Paste the full error output (if available).
root@nginxproxymanager:
# ss -ltnp | grep -E ':(80|81|443)'# grep -R "listen 81" /usr/local/openresty/nginx/conf.d /etc/nginx/conf.dLISTEN 0 511 0.0.0.0:80 0.0.0.0:* users:(("nginx",pid=9438,fd=6),("nginx",pid=9421,fd=6))
root@nginxproxymanager:
/usr/local/openresty/nginx/conf.d/production.conf: listen 81 default;
/etc/nginx/conf.d/production.conf: listen 81 default;
πΌοΈ Additional context (optional).
No response