[SOLVED] Broken configuration

uqlel

New Member
Feb 9, 2021
2
0
1
32
Hello,
After changing domain, lost all files in /etc/pve. I tried to purge proxmox, apt autoremove, install, but still nothing.
Now when removing or installing, this happens:
Bash:
root@proxmox:~# apt remove proxmox-ve
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'proxmox-ve' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  criu dtach ebtables faketime fonts-font-awesome fonts-glyphicons-halflings gdisk genisoimage groff-base gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x hdparm i965-va-driver intel-media-va-driver ipset
  javascript-common libaa1 libaacs0 libanyevent-http-perl libanyevent-perl libaom0 libappconfig-perl libapt-pkg-perl libass9 libasync-interrupt-perl libasyncns0 libavc1394-0 libavcodec58 libavfilter7 libavformat58 libavutil56 libbdplus0 libbluray2
  libbs2b0 libcaca0 libcdparanoia0 libchromaprint1 libcodec2-0.8.1 libcrystalhd3 libdigest-bubblebabble-perl libdv4 libev-perl libfaketime libfile-readbackwards-perl libflac8 libflite1 libgme0 libgnutlsxx28 libgsm1 libgstreamer-plugins-base1.0-0
  libguard-perl libiec61883-0 libigdgmm5 libio-multiplex-perl libipset11 libiscsi7 libjack-jackd2-0 libjs-bootstrap libjs-extjs libjs-jquery libjs-sphinxdoc libjs-underscore liblilv-0-0 libmp3lame0 libmpg123-0 libmysofa0 libnet-dns-perl
  libnet-dns-sec-perl libnet1 libnetfilter-log1 libnorm1 libogg0 libopenmpt0 libopus0 liborc-0.4-0 libpgm-5.2-0 libpostproc55 libprotobuf17 libproxmox-backup-qemu0 libpulse0 libpve-cluster-api-perl libpve-guest-common-perl libpve-http-server-perl
  libraw1394-11 librubberband2 libsamplerate0 libsdl1.2debian libserd-0-0 libshine3 libshout3 libsndfile1 libsord-0-0 libsoxr0 libspeex1 libspice-server1 libsratom-0-0 libssh-gcrypt-4 libswresample3 libswscale5 libtag1v5 libtag1v5-vanilla
  libtemplate-perl libtheora0 libtwolame0 libuchardet0 libusbredirparser1 libv4l-0 libv4lconvert0 libva-drm2 libva-x11-2 libva2 libvdpau-va-gl1 libvdpau1 libvidstab1.1 libvisual-0.4-0 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx5 libwavpack1
  libx264-155 libxcb-xfixes0 libxml-libxml-perl libxvidcore4 libzmq5 libzvbi-common libzvbi0 lxc-pve lxcfs lzop mesa-va-drivers mesa-vdpau-drivers novnc-pve numactl proxmox-archive-keyring proxmox-mini-journalreader proxmox-widget-toolkit
  pve-container pve-docs pve-edk2-firmware pve-firewall pve-ha-manager pve-i18n pve-kernel-helper pve-lxc-syscalld pve-manager pve-qemu-kvm pve-xtermjs python-configparser python-future python-ipaddr python-pkg-resources python-protobuf python-six
  qemu-server rsync socat spiceterm uidmap va-driver-all vdpau-driver-all vncterm zstd
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up pve-manager (6.3-3) ...
Job for pvestatd.service failed because the control process exited with error code.
See "systemctl status pvestatd.service" and "journalctl -xe" for details.
dpkg: error processing package pve-manager (--configure):
 installed pve-manager package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Package 'proxmox-ve' is not installed, so not removed
That's the meta-package, it has a dependency on other Proxmox VE packages. To get Proxmox VE running, you will need to re-install the package and fix the apt errors along the way.

After changing domain, lost all files in /etc/pve.
AFAIK, the domain is not a dependency for a running PVE.
 
I fixed it by purging pve-manager, purging proxmox-ve and purging all proxmox packages, after this i installed proxmox, created folder nodes in /etc/pve, and rebuilded ssl certificate by pvecm updatecerts --force, and now its working. It was broken because pve-cluster was stopped and it can't load without configuration from /etc/pve