[SOLVED] No GUI after upgrade 6.x to 7

stevenbaecke

New Member
Feb 9, 2023
1
1
1
I can ping the host, ssh is also possible..

Through webbrowser
hostip:8006
ERR_CONNECTION_REFUSED

/etc/hosts: OK

# pveversion -v
-bash: pveversion: command not found


Changed my source list to pve-no-subscription
/etc/apt/sources.list
apt-update

ERROR
/bin/sh: 1: /usr/share/proxmox-ve/pve-apt-hook: not found
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (127)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook

Code:
/bin/sh: 1: /usr/share/proxmox-ve/pve-apt-hook: not found

Which I believe is related to this patch https://pve.proxmox.com/pipermail/pve-devel/2018-April/031338.html regarding the addition of a hook script to prevent users from messing with conflicting dependencies (which I suppose I am doing, so do this at your own risk o_O).
I simply created the file pve-apt-hook by executing the command

Code:
# mkdir /usr/share/proxmox-ve
# nano /usr/share/proxmox-ve/pve-apt-hook

I wrote empty lines to the script, then saved it with ctrl+o ctrl+x. I then made it executable with
Code:
chmod u+x /usr/share/proxmox-ve/pve-apt-hook
Then re-installed proxmox-ve with

Code:
apt install proxmox-ve

SOLVED
 
Last edited:
  • Like
Reactions: agdsign