[SOLVED] login failure

dasc

Member
Sep 25, 2022
31
0
6
Hi there;

I'm facing a problem to make my login to proxmox 7.
I'm sure the password is correct but starts appearing this screen .The last change I remember it was to disable 2FA.
Another strange thing I noticed when trying to solve the issue is that when I try to make an upgrade it doesn't happen and I saw the message You don't have enough free space in /var/cache/apt/archives/.I've tried sudo apt-get clean,sudo apt-get autoremove... and nothing changed
Any idea about what it's happening .Any suggestion it will be more than welcome
Captura de ecrã 2022-12-11 184449.png
 
Try to log in using SSH and then check if the root filesystem is full (for example by running df -h). When your rootfilesystem is 100% full it isn't uncommon that logins won't wonk.
 
Try to log in using SSH and then check if the root filesystem is full (for example by running df -h). When your rootfilesystem is 100% full it isn't uncommon that logins won't wonk.
Hi;

Thanks for you reply .

This is the df-h result:

Any remarks?
Captura de ecrã 2022-12-11 210058.png
 
Your root filesystem is complete full, so PVE can't operate. Try to delete some unneeded stuff like old logs, ISOs, backups or failed uploads: https://forum.proxmox.com/threads/h...fs-drive-to-a-larger-drive.119090/post-517702
Thanks again for your time;

You mean this : /dev/mapper/pve-root 110G 105G 0 100% /??

I've deleted some of the bigests files and the value doesn't go down from 100%

Newbie question with winscp witch directory should I look for to remove files not used ?

Thanks for your patience.
 
You mean this : /dev/mapper/pve-root 110G 105G 0 100% /??
Jup.
I've deleted some of the bigests files and the value doesn't go down from 100%
Try to run a fstrim -a.
Newbie question with winscp witch directory should I look for to remove files not used ?
You only should delete stuff where you know what they are used for. Save to delete should be failed uploads (files starting with "pveupload-" in "/var/tmp") as well as rotated logfiles (ending with ".1", ".2", ".3", ... or ".gz" in "/var/log").

Your backups, ISOs, templates and so on are usually stored in "/var/lib/pve/" but here only you can know which you still need and which not.
 
Thanks again for your time;

You mean this : /dev/mapper/pve-root 110G 105G 0 100% /??

I've deleted some of the bigests files and the value doesn't go down from 100%

Newbie question with winscp witch directory should I look for to remove files not used ?

Thanks for your patience.
In order to free up space, you will need to delete some unneeded files such as old logs, ISOs, backups, or failed uploads. Yes, you can use a tool like WinSCP to access your server and browse through the directories to find and delete these files but make sure you use SCP, not FTP. Some common locations to look for large files are the /var/log directory and the /var/lib/vz directory. Once you have deleted some files, you should check the usage of your root filesystem again using the df -h command to see if the usage has gone down. If it hasn't, you may need to continue deleting files or consider switching to a larger drive.
 
I also see that you got a USB disk mounted for backups. You should check your storage config file ("/etc/pve/storage.cfg") if there is a "is_mointpoint: 1" defined for your backup storage. If not, and mounting that USB disks fails, all backups will end up on your root filesystem instead of the USB disk. This is a common user error that will cause the root filesystem to completely fill up.
 
Ok, that looks fine. So a fail mount shouldn't caused the root filesystem to fill up.
Just to share with you the solution I found after some googling and forum research

on the users.cfg I just remove the 1 at the end of root@pam user

Thanks again for your 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!