System update error

evanonym0us

New Member
Nov 10, 2021
28
0
1
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.debian.org/debian bullseye InRelease: Splitting up /var/lib/apt/lists/ftp.debian.org_debian_dists_bullseye_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org/debian-security bullseye-security InRelease: Splitting up /var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_InRelease into data and signature failed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.proxmox.com/debian/pve bullseye InRelease: Splitting up /var/lib/apt/lists/download.proxmox.com_debian_pve_dists_bullseye_InRelease into data and signature failed
W: Failed to fetch http://ftp.debian.org/debian/dists/bullseye/InRelease Splitting up /var/lib/apt/lists/ftp.debian.org_debian_dists_bullseye_InRelease into data and signature failed
W: Failed to fetch http://ftp.debian.org/debian/dists/bullseye-updates/InRelease Error writing to file - write (28: No space left on device) [IP: 146.75.38.132 80]
W: Failed to fetch http://security.debian.org/debian-security/dists/bullseye-security/InRelease Splitting up /var/lib/apt/lists/security.debian.org_debian-security_dists_bullseye-security_InRelease into data and signature failed
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/bullseye/InRelease Splitting up /var/lib/apt/lists/download.proxmox.com_debian_pve_dists_bullseye_InRelease into data and signature failed
W: Some index files failed to download. They have been ignored, or old ones used instead.
 
hi,

Error writing to file - write (28: No space left on device)
here's the error.

you don't have enough space left on your disk, you'll need to clean up some files beforehand.

you can see the disk usage with df -h command.

to see which directories are taking the most space:
Code:
cd /
du -shx * 2>/dev/null

should give you an overview of the folder sizes.

hope this helps!
 
Hello! I appreciate your reply.
username@server:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 48G 0 48G 0% /dev tmpfs 9.5G 2.1M 9.5G 1% /run /dev/mapper/pve-root 57G 54G 7.4M 100% / tmpfs 48G 46M 48G 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/sdh1 549G 151G 371G 29% /mnt/proxmox4 /dev/sdg1 223G 98G 123G 45% /mnt/proxmox3 /dev/sda2 511M 324K 511M 1% /boot/efi /dev/md0 1.1T 153G 963G 14% /mnt/backups /dev/sdf1 559G 449G 107G 81% /mnt/proxmox2 /dev/fuse 128M 28K 128M 1% /etc/pve tmpfs 9.5G 0 9.5G 0% /run/user/0 tmpfs 9.5G 0 9.5G 0% /run/user/1000 username@server:~$ cd / username@server:/$ du -shx * 2>/dev/null 0 bin 439M boot 0 dev 5.2M etc 108K home 0 lib 0 lib32 0 lib64 0 libx32 16K lost+found 4.0K media 8.0K mnt 4.0K opt 0 proc 4.0K root 2.1M run 0 sbin 4.0K srv 0 sys 32K tmp 4.2G usr 50G var

any suggestions on how to free up space?
 
Also, do you know if proxmox misbehaves once storage is full? I've had some issues with it recently.
 
Check whats using 4.2GB in your /usr folder and 50GB in your /var folder. You can lso delete some old logs in /var/log (ending with ".1", ".2", or ".gz").
 
Last edited:
Also, do you know if proxmox misbehaves once storage is full? I've had some issues with it recently.
yes, if space is full you can expect weird behavior (this is true for most operating systems)
 
When I installed the OS it made an LVM. One part of the LVM is good on space local-lvm (100.41 GB of 157.97 GB). This is where VM images are stored.

local is at 55.84 GB of 60.77 GB. I'm not sure how else to free up space from this partition, I already deleted all the backups and ISOs from it.
 
it appears /lib/modules is taking up a gigabyte. this is what it contains.
/lib/modules$ ls
5.13.19-2-pve 5.13.19-6-pve 5.15.30-2-pve 5.15.35-1-pve 5.4.143-1-pve 5.4.73-1-pve

anything I can delete from this?
 
Something is using way to much space in your /var folder. You should check /var/tmp is there are any failed ISO upload remains and so on. My PVE installation for example never exceeded 14GB.
 
Last edited:
  • Like
Reactions: evanonym0us
find /var -type f -exec du -Sh {} + | sort -rh | head -n 20 should show you the 20 biggest files in "/var".
Did you already checked the log folder?
 
find /var -type f -exec du -Sh {} + | sort -rh | head -n 20 should show you the 20 biggest files in "/var".
Did you already checked the log folder?
I cleared the log folder, now I have 29GB free, that must have been what was taking up all my space
 
You then should also check what messages are spamming your log files. So that you can fix the problems that cause all the log messages. So that you don't run out of space again and your SSD will wear less.
 
This is super weird. I rebooted my system and now the storage used has gone down even more. However, my proxmox web UI won't load at all.1652110461884.png1652110430762.png
 
Can you connect using SSH?
Maybe you deleted something that was needed by PVE?
 
Did you have finished the broken Upgrade already?

If not, try it with apt --fix-broken install
 

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!