ej52/proxmox-scripts

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

diegomtnz opened this issue · 5 comments

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:

  • Alpine Version: [3.12] [3.14] [3.16]

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

#83 probably solves this

#83 probably solves this

i solved making the folder:

mkdir /etc/nginx/conf

But i have other error

daef commented

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 :/