proxmox-scripts icon indicating copy to clipboard operation
proxmox-scripts copied to clipboard

Installation fails at openresty // pkg_update

Open GravitaBB opened this issue 1 year ago • 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.

GravitaBB avatar Feb 20 '24 16:02 GravitaBB

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

tecio-first avatar Feb 21 '24 19:02 tecio-first

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

GravitaBB avatar Feb 21 '24 19:02 GravitaBB

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
    

tecio-first avatar Feb 22 '24 06:02 tecio-first

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 =)

https://github.com/openresty/openresty-packaging/issues/132

tecio-first avatar Feb 27 '24 19:02 tecio-first

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

ngeorgieff avatar Jun 22 '24 14:06 ngeorgieff