ej52 / proxmox-scripts

MIT License
567 stars 303 forks source link

Alpine 3.12,Alpine 3.14 and alpine 3.16 install error [ln: /etc/nginx/conf/nginx.conf: No such file or directory] #125

Closed diegomtnz closed 9 months ago

diegomtnz commented 1 year ago

Script nginx-proxy-manager

Describe the bug [success] Checking for latest openresty repository [success] Updating container OS [success] Installing dependencies [success] Setting up python [success] Checking for latest NPM release [success] Downloading NPM v2.10.3 [info] Setting up enviroment ln: /etc/nginx/conf/nginx.conf: No such file or directory uncaught error occurred

System info:

diegomtnz commented 1 year ago

solved: mkdir /etc/nginx/conf

but when finish error:

'rU' while trying to load binding.gyp ERR! configure error 1 16) 28) 12) ERR! System Linux 5.4.192-0-lts ERR! command "/usr/bin/node" "/tmp/tmp.CPPean/nginx-proxy-manager-2.10.3/frontend/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" ERR! cwd /tmp/tmp.CPPean/nginx-proxy-manager-2.10.3/frontend/node_modules/node-sass ERR! node -v v18.16.1 ERR! node-gyp -v v7.1.2 ERR! not ok 1

Eeems commented 1 year ago

83 probably solves this

diegomtnz commented 1 year ago

83 probably solves this

i solved making the folder:

mkdir /etc/nginx/conf

But i have other error

Eeems commented 1 year ago

https://stackoverflow.com/a/74732671

daef commented 1 year ago

https://stackoverflow.com/a/74732671

I've found the same on my own... would it be a solution to upgrade gyp in the frontends yarn.lock upstream? or how can we patch this? the install script deletes everything after it failed installing :/