ej52 / proxmox-scripts

MIT License
567 stars 303 forks source link

Instance not updating. #184

Open john-clark opened 1 month ago

john-clark commented 1 month ago

Script nginx-proxy-manager

Describe the bug SSL will not renew. "Communication with the API failed, is NPM running correctly?" "400 — Bad Gateway"

System info:

Additional context Information needed on how to update.

john-clark commented 1 month ago

tried running

sh -c "$(wget --no-cache -qO- https://raw.githubusercontent.com/ej52/proxmox/main/install.sh)" -s --app nginx-proxy-manager

ended with error

[ERROR] on line 95 with exit code 2 while executing command pip uinstall -q -y cryptography cffi certbot tldextract -break-system-package &> $__OUTPUT

> pip -V
pip 22.0.4 from /usr/lib/python3.10/site-packages/pip (python 3.10)
john-clark commented 1 month ago

ran the instructions from elsewhere

> apk del py3-pip
> rm -rf /usr/lib/python3.8/site-packages/pip*
> rm -rf /usr/lib/python3.8/site-packages/pkg_resources*
> rm -rf /usr/lib/python3.8/site-packages/setuptool
> apk add py3-pip
> pip3 install --upgrade pip
> pip3 --version
pip 24.2 from /usr/lib/python3.10/site-packages/pip (python 3.10)
> pip -V
pip 24.2 from /usr/lib/python3.10/site-packages/pip (python 3.10)
> wget https://raw.githubusercontent.com/ej52/proxmox/main/install.sh

made edits as required to install.sh

> . ./install.sh--app nginx-proxy-manager
✔ Operating System Updated 
✔ Dependencies Installed 
✔ Rust v1.74.0 Installed 
✔ Python v3.10 and Pip v24.0 Installed 
✔ Openresty v1.25.3.1 Installed 
✔ Node.js v16.20.2 Installed 
✔ Yarn v1.22.19 Installed 
✔ Nginx Proxy Manager v2.11.1 Downloaded 
✔ Enviroment Setup 
⁘ Building Frontend
error An unexpected error occurred: "ENOSPC: no space left on device, write".

shutdown lxc resize volume from 2g to 3g retry script

sometimes it displays

⁘ Building Frontend
warning " > marionette.templatecache@1.0.0" has incorrect peer dependency "backbone@~1.3.3".                                                                
warning " > marionette.templatecache@1.0.0" has incorrect peer dependency "underscore@~1.8.3".                                                              
warning "marionette.templatecache > backbone.marionette@4.0.0-beta.1" has incorrect peer dependency "backbone@~1.3.3".                                      
warning "marionette.templatecache > backbone.marionette@4.0.0-beta.1" has incorrect peer dependency "underscore@>= 1.8.3 <= 1.9.x".                         
warning "tabler-ui > bootstrap@4.5.1" has unmet peer dependency "popper.js@^1.16.1".      
✘ Failed to execute install script for nginx-proxy-manager

othertimes it just reboots after displaying

✘ Frontend not Built
bash: line 281:   979 Killed                  yarn install --silent --network-timeout=30000 > $__OUTPUT

[ERROR] on line 281 with exit code 137 while executing command yarn install --silent --network-timeout=30000 > $__OUTPUT
✘ Failed to execute install script for nginx-proxy-manager