Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ends at missing python #170

Open
pierretu opened this issue Feb 26, 2024 · 9 comments
Open

Ends at missing python #170

pierretu opened this issue Feb 26, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@pierretu
Copy link

pierretu commented Feb 26, 2024

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

Describe the bug
Errors and quits the installer when checking for python.
Python3 and python3-pip is installed.

✔ Operating System Updated
✔ Dependencies Installed
✔ Rust v1.74.0 Installed
✘ Python not Installed
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook

[ERROR] on line 99 with exit code 100 while executing command pkg_del

System info:

  • Proxmox Version: 8.1.4
  • Alpine Version: 3.18
@pierretu pierretu added the bug Something isn't working label Feb 26, 2024
@tecio-first
Copy link

Hi is this Inside a CT ? A new install and Template this:

image

?

Never seen this before --> E: Failure running script /usr/share/proxmox-ve/pve-apt-hook
This is more a indicator of an Bad upgrade

KR

@pierretu
Copy link
Author

This error comes both from shell and ssh when trying to use the script to install NPM.
So it does not even let me start an CT...

@tecio-first
Copy link

Just that we are on the same page, the command above is for execution in a existing Container (CT) or existing Virtual Machine.
This means you always can connect via shh or use the GUI in Proxmox to jump in a Terminal Session.

For me it sounds like you started this from the Proxmox Host ?

@pierretu
Copy link
Author

pierretu commented Feb 27, 2024

This is from the Proxmox Host, not inside the CT.
Last time I used it, it worked directly from the host.

I think I now see my own error :P
The script I should have run is:
bash -c "$(wget --no-cache -qO- https://raw.githubusercontent.com/ej52/proxmox/main/create.sh)" -s --app nginx-proxy-manager

@tecio-first
Copy link

exactly ;D

@jon4god
Copy link

jon4god commented Feb 28, 2024

Gives the same error when trying to update.

@tecio-first
Copy link

If this is really the case then you stuck here:
install.sh

  # Remove potential conflicting depenedencies
  pkg_del *3-pip *3-cffi *3-cryptography *3-tldextract *3-distutils *3-venv

Then the System will execute this function from alpine.sh:

pkg_del() {
  apk del -q --purge $@ >$__OUTPUT
}

Do to the Nature of >$__OUTPUT the Output goes /dev/null ... not helpfull for you but at least we know know how to check this

connect to the already created Container and execute this command:

apk del --purge *3-pip *3-cffi *3-cryptography *3-tldextract *3-distutils *3-venv

let`s see your output

@ghost
Copy link

ghost commented May 5, 2024

https://github.com/vontainment/proxmox-scripts
I fixed all the errors in my repo and made a pull request until its accepted you can use my repo.

@ghost
Copy link

ghost commented May 7, 2024

This is for install on alpine, ubuntu or debian. ct, vm BareMetal. not though Proxmox.
If the Proxmox script isn't working right either I can fix that one to. It's the same error minus the pve hooks, that's why i didn't notice you were using the Proxmox host one. I just noticed the ✘ Python not Installed error like i was getting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants