Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openresty not Installed - Error on line 153 with exit code 2 while executing pkg_update #187

Open
Aareon opened this issue Nov 7, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Aareon
Copy link

Aareon commented Nov 7, 2024

Script
nginx-proxy-manager

Describe the bug
Failure to install Openresty

System info:

  • Proxmox Version: 8.2.2
  • Alpine Version: 3.20

Output

✔ Operating System Updated 
✔ Dependencies Installed 
✔ Rust v1.74.0 Installed 
✔ Python v3.12 and Pip v24.3.1 Installed 
✘ Openresty not Installed

[ERROR] on line 153 with exit code 2 while executing command pkg_update
npm:~# apk update
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
fetch http://openresty.org/package/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
WARNING: updating and opening http://openresty.org/package/alpine/v3.20/main: No such file or directory
v3.20.3-268-g9d0bdcad275 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
v3.20.3-267-g491e9630a39 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
2 unavailable, 0 stale; 24165 distinct packages available
@Aareon Aareon added the bug Something isn't working label Nov 7, 2024
@Aareon
Copy link
Author

Aareon commented Nov 7, 2024

npm:~# sed -i '/openresty/d' /etc/apk/repositories
npm:~# echo "https://openresty.org/package/alpine/v3.18/main" >> /etc/apk/repositories
npm:~# apk update
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
fetch https://openresty.org/package/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
v3.20.3-268-g9d0bdcad275 [https://dl-cdn.alpinelinux.org/alpine/v3.20/main]
v3.20.3-267-g491e9630a39 [https://dl-cdn.alpinelinux.org/alpine/v3.20/community]
OK: 24261 distinct packages available

@Aareon
Copy link
Author

Aareon commented Nov 7, 2024

Following this guide seems to have fixed the issue
https://medium.com/@rar1871/proxmox-nginx-proxy-manager-83f663e20702

@be0x74a
Copy link

be0x74a commented Nov 26, 2024

Add the same issue. This is due to the fact that openresty doesn't have support for latest alpine (3.20 at time of writing).
Forced to 3.18 worked.

bash -c "$(wget --no-cache -qO- https://raw.githubusercontent.com/ej52/proxmox/main/create.sh)" -s --app nginx-proxy-manager --cleanup --os-version 3.18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants