Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another timeshift bug -- Using cli, snapshot gives "E: Failed to remove directory, Ret=256" #364

Open
zZzUP3RzZz opened this issue Nov 2, 2024 · 3 comments

Comments

@zZzUP3RzZz
Copy link

In addition to my bug report here, I have found a different error on a different machine:

snapshot appears to work properly, but then gives :

E: Failed to remove directory
Ret=256

timeshiftflub

The system in question this time is arch.

@zpz
Copy link

zpz commented Dec 10, 2024

I found the same problem in Timeshift logs.

After clicking "create", it does "estimate system size" or something, then flashes a new page of content (there seems to be two columns with names on the left and value/info on the right), then disappears.

This is blocking my upgrade from 21.3 to 22.

@chidniu
Copy link

chidniu commented Dec 16, 2024

I have the same problem on Fedora 40 (rsync mode, not btrfs). It started after I cancelled a Timeshift backup going up to nearly 200% and me assuming something went wrong. I then deleted the folder of the incomplete backup and started a new one, which then appears to worked (restore not tested) but also with the E: Failed to remove directory Ret=256 error. I am now also getting the error when using the list command.

@rardcode
Copy link

I've same problem in Manjaro
Timeshift v.24.06.5

Output of timeshift --debug --list command

D: Main()
D: 
D: Running Timeshift v24.06.5
D: 
D: Session log file: /var/log/timeshift/2025-01-14_11-17-14_list-snapshots.log
D: Distribution: ManjaroLinux 24.2.1 (Yonada)
D: DIST_ID: ManjaroLinux
D: Main: check_dependencies()
D: Main: add_default_exclude_entries()
D: Main: add_default_exclude_entries(): exit
D: update_partitions()
D: df -T -B1
D: Device: get_disk_space_using_df(): 3
D: Device: get_mounted_filesystems_using_mtab(): 3
D: Device: get_filesystems(): 7
D: partition list updated
D: detect_system_devices()
D: /boot/efi is mapped to device: /dev/nvme0n1p1, UUID=F131-A998
D: / is mapped to device: /dev/nvme0n1p2, UUID=f61c7563-45b7-4a68-b78d-32352daed5ea
D: Searching subvolume for system at path: /
D: Users: root rardcode
D: Encrypted home users: 
D: Encrypted home dirs:

D: Encrypted private dirs:

D: Main: load_app_config()
D: Member not found in JSON object: snapshot_size
D: Member not found in JSON object: snapshot_count
App config loaded: /etc/timeshift/timeshift.json
D: IconManager: init()
D: found images directory: /usr/share/timeshift/images
D: Main(): ok
D: AppConsole: parse_arguments()
Mounted '/dev/sdc1' at '/run/timeshift/331477/backup'
Device : /dev/sdc1
UUID   : e7e74791-a820-4230-9ee0-72140bc097c1
Path   : /run/timeshift/331477/backup
Mode   : RSYNC
Status : OK
4 snapshots, 777.6 GB free

Num     Name                 Tags   Description  
------------------------------------------------------------------------------
0    >  2025-01-09_21-40-01  O                   
1    >  2025-01-12_13-00-01  D W M               
2    >  2025-01-13_13-00-00  D                   
3    >  2025-01-14_11-13-26  D                   

E: Failed to remove directory
Ret=256
E: Failed to remove directory
Ret=256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants