-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
[Nginx Proxy Manager] can't update #13493
Description
Script: Nginx Proxy Manager
Reported by: @kintaro1981
Guidelines
- Read and understood guidelines: yes
- Verbose mode used: yes
Issue occurs during: Script Update
Environment
- Linux distribution: Debian
- Proxmox version: 8.4
- Default settings: Yes
- Advanced settings: No
- Exact command:
update
Description
I'm getting the next error during update:
[2026-04-03 10:49:09] [ERROR] in line 97: exit code 1 (General error / Operation not permitted): while executing command systemctl restart openresty
I already saw another closed issue similar to this but doing the suggested fix:
systemctl unmask openresty
and then re-run "update" didn't solve my issue
Steps to reproduce
go to the npm lxc shell and use update command
Error output
test -d '/usr/local/openresty/nginx/logs'
|| mkdir -p '/usr/local/openresty/nginx/logs'
test -d '/usr/local/openresty/nginx/html'
|| cp -R docs/html '/usr/local/openresty/nginx'
test -d '/usr/local/openresty/nginx/logs'
|| mkdir -p '/usr/local/openresty/nginx/logs'
make[2]: Leaving directory '/opt/openresty/build/nginx-1.27.1'
make[1]: Leaving directory '/opt/openresty/build/nginx-1.27.1'
mkdir -p /usr/local/openresty/site/lualib /usr/local/openresty/site/pod /usr/local/openresty/site/manifest
ln -sf /usr/local/openresty/nginx/sbin/nginx /usr/local/openresty/bin/openresty
Job for openresty.service failed because the control process exited with error code.
See "systemctl status openresty.service" and "journalctl -xeu openresty.service" for details.
✖️ in line 97: exit code 1 (General error / Operation not permitted): while executing command systemctl restart openresty
--- Last 20 lines of log ---
[2026-04-03 10:47:25] [INFO] Update Node.js 22
[2026-04-03 10:47:29] [OK] Update Node.js 22
[2026-04-03 10:47:30] [INFO] Updating yarn to latest version
[2026-04-03 10:47:31] [OK] Installed Node.js modules: yarn
[2026-04-03 10:47:31] [INFO] Migrating from packaged OpenResty to source
[2026-04-03 10:47:32] [OK] Migrated from packaged OpenResty to source
[2026-04-03 10:47:32] [INFO] Checking for update: openresty
[2026-04-03 10:47:32] [OK] Update available: openresty not installed → 1.27.1.2
[2026-04-03 10:47:33] [INFO] Fetching GitHub release: openresty (1.27.1.2)
[2026-04-03 10:47:34] [OK] Deployed: openresty (1.27.1.2)
[2026-04-03 10:47:34] [INFO] Building OpenResty
[2026-04-03 10:49:09] [ERROR] in line 97: exit code 1 (General error / Operation not permitted): while executing command systemctl restart openresty