linuxmint / timeshift

System restore tool for Linux. Creates filesystem snapshots using rsync+hardlinks, or BTRFS snapshots. Supports scheduled snapshots, multiple backup levels, and exclude filters. Snapshots can be restored while system is running or from Live CD/USB.
2.39k stars 86 forks source link

Timeshift GUI Crashes on Debian 12 #239

Closed 5p4r74cu5 closed 11 months ago

5p4r74cu5 commented 11 months ago

Describe the bug The Timeshift GUI crashes when opened on Debian 12, or hangs indefinitely in a terminal emulator until the process is manually killed.

To Reproduce Steps to reproduce the behavior:

  1. Open Timeshift GUI via shortcut.

Expected behavior To open successfuly. I can use Timeshift via CLI, and have successful created a number of btrfs snapshots, I have not attempted to restore said snapshots yet, so cannot account for all of the CLI features working however.

Screenshots If applicable, add screenshots to help explain your problem.

System:

2023-10-14_20-29-23_ondemand.log         2023-10-15_05-21-27_list-snapshots.log
2023-10-14_20-55-39_ondemand.log         2023-10-15_05-35-00_ondemand.log
2023-10-14_20-55-58_ondemand.log         2023-10-15_05-35-09_list-snapshots.log
2023-10-14_20-56-28_ondemand.log         2023-10-15_05-35-15_list-snapshots.log
2023-10-14_20-56-43_list-snapshots.log    2023-10-15_05-35-46_list-snapshots.log
2023-10-15_05-17-54_.log                             2023-10-15_05-36-13_list-snapshots.log
2023-10-15_05-18-31_list-snapshots.log    2023-10-15_05-36-56_list-snapshots.log
2023-10-15_05-19-17_list-snapshots.log    2023-10-15_05-37-42_list-snapshots.log
2023-10-15_05-19-59_list-devices.log         2023-10-17_07-27-25_ondemand.log
2023-10-15_05-20-34_.log                             2023-10-17_11-43-31_ondemand.log

UPDATE: I just ran sudo timeshift-gtk --debug in CLI to see if I could something helpful, but it actually successfully opened for the first time...

augmentedagent commented 11 months ago

I got the shortcut working by installing pkexec, which timeshift-launcher was puking on in terminal without sudo. apt install policykit-1 Now when launching from the shortcut, a gui pops up for password for elevated privileges. I'm assuming that's how it's supposed to work.

5p4r74cu5 commented 11 months ago

I don't know what happened for me, but after restoring a snapshot it acts as expected...

augmentedagent commented 11 months ago

so the shortcut didn't work, so you ran it from CLI with sudo, took a snapshot(s), then restored a snapshot and now the shortcut works (for the first time)?

5p4r74cu5 commented 11 months ago

No, it launches normally from the applications menu in KDE like I remember it used to, prompts for password.. shrugs