#Help! Cant update! After having to delete .snapshots folder

3 messages · Page 1 of 1 (latest)

atomic vessel
#

Earlier I suddenly saw I had a few gigs free on my drive, I had 86 gigs for the root partitionbut after I deleted the snapshots I had 31gigs free but my home directory was about 20gigs.
Currently it showed I had used 52 gigs but my home dir is 20 gigs
So I was off around 32 gigs. So I looked up an old help post here and followed it,

Deleted my .snapshots folder as even after deleting the snapshots from the list wasn't solving the issue.

Now I cant update as you can see in the attached menu. Even if I reinstall I'm afraid I'll be running into the snapper issue again and it's gonna eat out my storage rapidly.

Here's my previous post where it shows what I did: https://discord.com/channels/1390012484194275541/1439847173562040431
and the things I followed: https://discord.com/channels/1390012484194275541/1432498755151855647
It'd be great if I could solve the issue without reinstalling everything

Some outputs:

sudo btrfs subvol list /
ID 256 gen 13 top level 5 path var/lib/portables
ID 257 gen 13 top level 5 path var/lib/machines
 sami@archlinux ~  lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 931.5G  0 disk 
├─sda1        8:1    0   201G  0 part /mnt/hdd/Workspace
├─sda2        8:2    0   301G  0 part /mnt/hdd/games
└─sda3        8:3    0 429.4G  0 part /mnt/hdd/media
zram0       252:0    0     4G  0 disk [SWAP]
nvme0n1     259:0    0 238.5G  0 disk 
├─nvme0n1p1 259:1    0   200M  0 part 
├─nvme0n1p2 259:2    0    16M  0 part 
├─nvme0n1p3 259:3    0 152.5G  0 part 
├─nvme0n1p4 259:4    0     4G  0 part /boot
└─nvme0n1p5 259:5    0    80G  0 part /
#

and Yes I can update if I comment out omarchy-snapshot create || [ $? -eq 127 ]

This line in the omarchy-update. But I want snapper to work

compact kettle
#

i have the same problem .
this is the function i had to delete the snap folders function manual_btrfs_cleanup() {
echo "[] Manual Btrfs cleanup of subvolumes..."
# List snapshots in .snapshots sorted by ID (oldest first)
snapshots=$(sudo btrfs subvolume list "$SUBVOLUME" | awk '/.snapshots/ {print $2, $9}' | sort -n | awk '{print $2}')
for snap in $snapshots; do
used=$(btrfs qgroup show "$SUBVOLUME/$snap" 2>/dev/null | awk 'NR==2 {print $2}')
# Convert used space to fraction (optional if qgroup empty)
# Delete snapshot
echo "Deleting snapshot: $snap"
sudo btrfs subvolume delete "$SUBVOLUME/$snap"
sudo rmdir "$SUBVOLUME/$snap" 2>/dev/null
free=$(free_space_fraction)
if (( free >= FREE_LIMIT
100 )); then
echo "[*] Free space above limit, stopping cleanup."
break
fi
done
}

and now i cant update the OS