ej52/proxmox-scripts

Installation fails at openresty // pkg_update

GravitaBB opened this issue · 5 comments

Script
nginx-proxy-manager

Describe the bug
Installation fails at Openresty

Openresty not installed
[ERROR] on line 153 with exit code 2 while executing command pkg_update

System info:

  • Proxmox Version: 8.1.4
  • Alpine Version: 3.19

Screenshots
grafik

Additional context
Tested also in a VMwareVM (alpine Standard 3.19.1); 128GB Disk, 16GB RAM, 12 cores assigned. Failed with same error.

This is a easy one, you see under utils the syntax apk update and upgrade, both of them will show you the issue with openrestry:

image image

there is no package for 3.19 in this repo

Will work in the meantime on an fully working fork ;-)

EDIT:
stick in the meantime with 3.18 ;-)

image

So this install script is not using the system's default repos? If so, I didn't know that :D
Because with these, openresty is available for installation.

grafik

Well and thats fine , look at this -->
https://openresty.org/en/linux-packages.html#alpine

First of all, please make sure you have enabled the Alpine's official community repository. Basically, you can just open the file /etc/apk/repositories and uncomment a line looks like this: ...

Supported Alpine Versions today:

  • Version Supported Architectures
  • 3.7             x86_64, aarch64
    
  • 3.8             x86_64, aarch64
    
  • 3.9             x86_64, aarch64
    
  • 3.10            x86_64, aarch64
    
  • 3.11            x86_64, aarch64
    
  • 3.12            x86_64, aarch64
    
  • 3.13            x86_64, aarch64
    
  • 3.14            x86_64, aarch64
    
  • 3.15            x86_64, aarch64
    
  • 3.16            x86_64, aarch64
    
  • 3.17            x86_64, aarch64
    
  • 3.18            x86_64, aarch64
    

Just a side note, the community repo has the version 1.21 .... not 1.25 i think this is always older =)
Will Open a Issue, let`s see what we hear from them =)

openresty/openresty-packaging#132

You can use --os-version as as workaround till it gets fixed:
bash -c "$(wget --no-cache -qO- https://raw.githubusercontent.com/ej52/proxmox/main/create.sh)" -s --app nginx-proxy-manager --os-version 3.18 --cleanup