Failed to delete timeshift snapshots

Good Morning;
I am an Endeavoros user and until now I had used the previous version without problem following the instructions for an installation with btrfs and timeshift without encryption at https://discovery.endeavouros.com/encrypted-installation/btrfsonluks-quick-copy-paste- version / 2021/03 /
Now I have done a fresh install using the latest version endeavouros-2021.08.27-x86_64.iso. This time I have done the installation from squid using encrypted btrfs.
Then I have used the instructions from https://discovery.endeavouros.com/encrypted-installation/btrfsonluks-quick-copy-paste-version/2021/03/ to install pacman --noconfirm -Syy &&
yay --noconfirm -S timeshift timeshift-autosnap grub-btrfs. Then I used the instructions to configure the programs.
The problem is that when I do an update or install a new program, timeshift-autosnap returns an error because it cannot delete the old snapshots. This did not happen to me before with the previous installation
This is my log
#################### inxi -Fxxc0z ########################

System: Kernel: 5.10.63-1-lts x86_64 bits: 64 compiler: gcc v: 11.1.0
Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM Distro: EndeavourOS
base: Arch Linux
Machine: Type: Laptop System: HP product: HP Laptop 15s-eq0xxx v: N/A serial: Chassis:
type: 10 serial:
Mobo: HP model: 86FD v: 99.36 serial: UEFI: AMI v: F.17 date: 04/13/2020
Battery: ID-1: BAT0 charge: 26.1 Wh (65.4%) condition: 39.9/39.9 Wh (100.0%) volts: 12.4
min: 11.3 model: Hewlett-Packard Primary serial: N/A status: Charging
CPU: Info: Quad Core model: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx bits: 64
type: MT MCP arch: Zen rev: 1 cache: L2: 2 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 33534
Speed: 2431 MHz min/max: 1400/2100 MHz boost: enabled Core speeds (MHz): 1: 2431
2: 2429 3: 1461 4: 1457 5: 3692 6: 3692 7: 1464 8: 1458
Graphics: Device-1: AMD Picasso vendor: Hewlett-Packard driver: amdgpu v: kernel bus-ID: 04:00.0
chip-ID: 1002:15d8
Device-2: Luxvisions Innotech Limited HP TrueVision HD Camera type: USB
driver: uvcvideo bus-ID: 3-1.2:3 chip-ID: 30c9:0013
Display: x11 server: X.org 1.20.13 compositor: kwin_x11 driver: loaded: amdgpu,ati
unloaded: fbdev,modesetting,vesa resolution: <missing: xdpyinfo>
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio: Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus-ID: 04:00.1 chip-ID: 1002:15de
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Hewlett-Packard
driver: N/A bus-ID: 04:00.5 chip-ID: 1022:15e2
Device-3: AMD Family 17h HD Audio vendor: Hewlett-Packard driver: snd_hda_intel
v: kernel bus-ID: 04:00.6 chip-ID: 1022:15e3
Sound Server-1: ALSA v: k5.10.63-1-lts running: yes
Sound Server-2: JACK v: 1.9.19 running: no
Sound Server-3: PulseAudio v: 15.0 running: yes
Sound Server-4: PipeWire v: 0.3.35 running: no
Network: Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
vendor: Hewlett-Packard driver: rtw_8822ce v: N/A port: f000 bus-ID: 02:00.0
chip-ID: 10ec:c822
IF: wlan0 state: up mac:
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 1-4:3
chip-ID: 0bda:b00c
Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: disabled rfk-block:
hardware: no software: no address: see --recommends
Drives: Local Storage: total: 476.94 GiB used: 319.43 GiB (67.0%)
ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000H1 size: 476.94 GiB
speed: 31.6 Gb/s lanes: 4 serial: temp: 33.9 C
Partition: ID-1: / size: 476.43 GiB used: 319.43 GiB (67.0%) fs: btrfs dev: /dev/dm-0
mapped: luks-eea88dce-052a-4f4c-a329-6dcdfa0fcedf
ID-2: /boot/efi size: 511 MiB used: 720 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1
ID-3: /home size: 476.43 GiB used: 319.43 GiB (67.0%) fs: btrfs dev: /dev/dm-0
mapped: luks-eea88dce-052a-4f4c-a329-6dcdfa0fcedf
ID-4: /var/log size: 476.43 GiB used: 319.43 GiB (67.0%) fs: btrfs dev: /dev/dm-0
mapped: luks-eea88dce-052a-4f4c-a329-6dcdfa0fcedf
Swap: ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors: System Temperatures: cpu: 56.4 C mobo: 51.0 C gpu: amdgpu temp: 56.0 C
Fan Speeds (RPM): N/A
Info: Processes: 261 Uptime: 39m Memory: 9.7 GiB used: 2.1 GiB (21.6%) Init: systemd v: 249
Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1315 Client: shell wrapper
v: 5.1.8-release inxi: 3.3.05
[2021-09-12T11:29:08+0200] [PACMAN] Running ‘pacman -Syu’
[2021-09-12T11:29:08+0200] [PACMAN] synchronizing package lists
[2021-09-12T11:29:10+0200] [PACMAN] starting full system upgrade
[2021-09-12T11:29:31+0200] [ALPM] running ‘00-timeshift-autosnap.hook’…
[2021-09-12T11:29:31+0200] [ALPM-SCRIPTLET] Using system disk as snapshot device for creating snapshots in BTRFS mode
[2021-09-12T11:29:31+0200] [ALPM-SCRIPTLET]
[2021-09-12T11:29:31+0200] [ALPM-SCRIPTLET] /dev/dm-0 is mounted at: /run/timeshift/backup, options: rw,relatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=5,subvol=/
[2021-09-12T11:29:31+0200] [ALPM-SCRIPTLET]
[2021-09-12T11:29:32+0200] [ALPM-SCRIPTLET] Creating new backup…(BTRFS)
[2021-09-12T11:29:32+0200] [ALPM-SCRIPTLET] Saving to device: /dev/dm-0, mounted at path: /run/timeshift/backup
[2021-09-12T11:29:32+0200] [ALPM-SCRIPTLET] Created directory: /run/timeshift/backup/timeshift-btrfs/snapshots/2021-09-12_11-29-32
[2021-09-12T11:29:32+0200] [ALPM-SCRIPTLET] Created subvolume snapshot: /run/timeshift/backup/timeshift-btrfs/snapshots/2021-09-12_11-29-32/@
[2021-09-12T11:29:32+0200] [ALPM-SCRIPTLET] Created control file: /run/timeshift/backup/timeshift-btrfs/snapshots/2021-09-12_11-29-32/info.json
[2021-09-12T11:29:32+0200] [ALPM-SCRIPTLET] BTRFS Snapshot saved successfully (0s)
[2021-09-12T11:29:32+0200] [ALPM-SCRIPTLET] Tagged snapshot ‘2021-09-12_11-29-32’: ondemand
[2021-09-12T11:29:32+0200] [ALPM-SCRIPTLET] ------------------------------------------------------------------------------
[2021-09-12T11:29:32+0200] [ALPM-SCRIPTLET] Removing snapshots (incomplete):
[2021-09-12T11:29:32+0200] [ALPM-SCRIPTLET]

First of all, I am moving this from General->Bug Reports to General->Applications. Timeshift isn’t provided or directly supported by the EndeavourOS team so it isn’t a bug report.

Of course, that doesn’t mean that you won’t get help here on the forum.

If you open timeshift and look at the snapshot it is trying to delete, what do you see?

Also what is the output of findmnt / -no options and sudo btrfs subvolume list /

First of all thank for your quick answer.
What happens is strange and did not happen before. In the command outputs there is a discrepancy between the timeshift snapshots and the btrfs volumes. At startup, these entries also appear that the timeshift-autosnap script cannot delete.
[santi@santiago-hplaptop15seq0xxx ~]$ sudo timeshift --list
[sudo] password for santi:

/dev/dm-0 is mounted at: /run/timeshift/backup, options: rw,relatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=5,subvol=/

Device : /dev/dm-0 (nvme0n1p2)
UUID : 43cc614f-8d31-493e-abd2-2ec65f0b961f
Path : /run/timeshift/backup
Mode : BTRFS
Status : OK
4 snapshots, 168.1 GB free

Num Name Tags Description

0 > 2021-09-12_11-29-32 O {timeshift-autosnap} {created before upgrade}
1 > 2021-09-12_11-37-35 B
2 > 2021-09-12_16-00-02 B D
3 > 2021-09-12_16-05-33 B

[santi@santiago-hplaptop15seq0xxx ~]$ sudo btrfs subvolume list /
ID 256 gen 1863 top level 5 path @
ID 257 gen 1864 top level 5 path @home
ID 258 gen 1768 top level 5 path @cache
ID 259 gen 1864 top level 5 path @log
ID 262 gen 25 top level 256 path var/lib/portables
ID 263 gen 26 top level 256 path var/lib/machines
ID 592 gen 1329 top level 5 path timeshift-btrfs/snapshots/2021-09-11_17-28-48/@
ID 594 gen 1389 top level 5 path timeshift-btrfs/snapshots/2021-09-11_20-55-16/@
ID 596 gen 1552 top level 5 path timeshift-btrfs/snapshots/2021-09-12_11-29-32/@
ID 597 gen 1570 top level 5 path timeshift-btrfs/snapshots/2021-09-12_11-37-35/@
ID 600 gen 1699 top level 5 path timeshift-btrfs/snapshots/2021-09-12_16-00-02/@
ID 601 gen 1833 top level 5 path timeshift-btrfs/snapshots/2021-09-12_16-05-33/@
[santi@santiago-hplaptop15seq0xxx ~]$ findmnt / -no options
rw,noatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=256,subvol=/@

I would use btrfs to delete the snapshots that don’t show up in the list of snapshots in timeshift.

The syntax is something like:

sudo btrfs subvolume delete /run/timeshift/backup/timeshift-btrfs/snapshots/2021-09-11_17-28-48/@

This is that I did, and then I did also rm -R /dir, but I found the problem again when I update the sistem