ej52 / proxmox-scripts

MIT License
590 stars 308 forks source link

Installation fails at openresty // pkg_update #165

Open GravitaBB opened 8 months ago

GravitaBB commented 8 months ago

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:

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.

tecio-first commented 8 months ago

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
GravitaBB commented 8 months ago

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

tecio-first commented 8 months ago

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:

tecio-first commented 8 months ago

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

ngeorgieff commented 4 months ago

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