Reset the PVE password from Debian root terminal session

Oct 18, 2023
3
0
1
Hello,
I have a very annoying issue.
I have access to the Debian Server using the the root and password.
BUT ...
On the PVE logon screen of the same server,
I can no more login with root (Linux PAM Standard Authentication).

My question is it a way to reset the PVE root password when I am logged in the Debian server
with the root password ?

Thanks for your help.
Best regards.
J. Kozma
 
Login via SSH/local terminal with your root account and run df -h to check if your root filesystem is full and check with pvesm status if a storage isn't available. Both can cause that webUI logins will fail.
 
Thanks for your help.
I checked and here the results :

$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6.3G 1.3M 6.3G 1% /run
/dev/mapper/pve-root 930G 760G 132G 86% /
tmpfs 32G 52M 32G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/nvme1n1p1 938G 842G 49G 95% /mnt/pve/di-ext4
/dev/nvme0n1p2 511M 328K 511M 1% /boot/efi
/dev/fuse 128M 36K 128M 1% /etc/pve
tmpfs 6.3G 0 6.3G 0% /run/user/0

It seems that on disk is at 95%

pvesm status
Name Type Status Total Used Available %
di-ext4 dir active 983378656 882003016 51349080 89.69%
local dir active 975136716 796777752 137685256 81.71%

How do I free space ?
I cannot login in PVE

Thanks
Best regards
J.
 
Then I'm out of ideas. Root filesystem isn't full and all storages active.

You could have a look as the syslog ("journalctl" command) if you see a message that could tell you why the login fails.
Also make sure capslock isn't active.
 
Last edited:
Hello,
Thanks for your appreciate supports !
it turns out that an Debian Update was the origin of the issue.
Started a new update and reboot the server.
After then I could login again !
Have a nice end of day.
Best regards.
John