[SOLVED] No more proxmox config after apt upgrade/auto-remove

montaropdf

New Member
Aug 24, 2017
14
0
1
48
Hi,

I have recently upgraded the system of my proxmox server, on a dedicated Hetzner server. This step was promptly followed by the execution of "apt auto-remove". Since that moment I was not able to log onto the server with SSH. So I decide to reboot. And now the system is unresponsive.

Using the rescue system of Hetzner, I connect to the server, mount the disks and browse the directories. To my surprise, the content of /etc/pve/ is totally empty.

Looking in the logs, I see that the proxmox package has be removed among other thing.

Fortunately, the containers seems to be untouched.

1. How to restore a default configuration and a running proxmox without erasing the container and their environment that could be still on the system?
2. Is it normal that the proxmox package(s) have been flagged for removal by the system?
3. Is it normal that removing the proxmox packages remove the configuration, especially if it has been modified?

Thank you for your help.

P.S.: Never perform a system update in the evening, when exausted by a hard day of work :/

montaropdf.
 
Hi,

/etc/pve is a fuse mount so if you removed all packages you can't mount it.
install Proxmox on your host and your config will be available again.
Make a backup from the DB before you install again.
Just to be on the safe side ;-)
The DB is located in
/var/lib/pve-cluster/config.db
 
Never use apt-get update with ProxMox. Always use only dist-upgrade. Otherwise this happens.
Thanks for the advice.

Now that I think about it, proxmox comes with a dedicated command, isn't it?

As I can't boot properly anymore, how can I reinstall proxmox without wiping out my config and the containers/VM?
 
Hello,

I have finally decided to re-install the system. I was unable to re-install the package and it was quicker to do a proper re-install.

Thanks for your time and support.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!