teejee2008 / 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.
GNU Lesser General Public License v3.0
4.68k stars 281 forks source link

Timeshift not starting, gives errors #733

Open ptthstr opened 3 years ago

ptthstr commented 3 years ago

Hi,

I have a server on Ubuntu 20.04. I installed Timeshift 20.03, but it is not starting. Whatever I do - try to create a snapshot, or list, I get the following:

[Warning] Deleted invalid lock
**
ERROR:arraylist.c:1182:gee_array_list_real_get: assertion failed: (index < _size)
Bail out! ERROR:arraylist.c:1182:gee_array_list_real_get: assertion failed: (index < _size)
Aborted

I have tried to reinstall, doesn't change anything. I was originally using the default repository on my server. I made sure to grab the version from the teejee2008 repo, doesn't change anything. Here's what the log looks like:

[13:55:41] Main: check_dependencies()
[13:55:41] [Warning] Deleted invalid lock
[13:55:41] Main: add_default_exclude_entries()
[13:55:41] Main: add_default_exclude_entries(): exit
[13:55:41] update_partitions() 

Any idea how to fix this? I searched and found other people with the same issue, but no fix. If it helps, my I am running software RAID5 and my GRUB version is 2.04-1ubuntu26.9, don't know if it can be related.

Thanks!

roycordero commented 3 years ago

i have exactly the same problem while i done my new installation its wiard...

I had never had problems but now if I get that and I don't know what to do, but I have read that it has to do with connected raid units, and I just installed openmediavault with a raid 5 ... I think I will discount the raid and see what It happens, they say that if it works ... but it is not the idea at all! something is wrong and I don't know how to fix it either.

hopefully someone can help us

i just try i appears this

sudo timeshift-gtk [sudo] password for servidor: [Warning] Deleted invalid lock ** ERROR:arraylist.c:1206:gee_array_list_real_get: assertion failed: (index < _size) Aborted


sudo timeshift-launcher [Warning] Deleted invalid lock ** ERROR:arraylist.c:1206:gee_array_list_real_get: assertion failed: (index < _size) /usr/bin/timeshift-launcher: line 30: 18751 Aborted ${app_command}

roycordero commented 3 years ago

here is the another post https://github.com/teejee2008/timeshift/issues/318

icarter09 commented 3 years ago

Reading up on this issue, it looks like Timeshift requires an EFI system using the GRUB2 bootloader.

https://teejeetech.in/timeshift/

dimig33 commented 2 years ago

Debian Sid unstable here. Timeshift don't run after give sudo password. In command line after timeshift-launcher gives:

[Warning] Deleted invalid lock ** ERROR:arraylist.c:910:gee_array_list_real_remove_at: assertion failed: (index >= 0) Bail out! ERROR:arraylist.c:910:gee_array_list_real_remove_at: assertion failed: (index >= 0) /usr/bin/timeshift-launcher: line 30: 141570 Aborted ${app_command}

The problem disappeared when remove the raid 5 array which I have (unplug the 3 disks from power). When I add them to the pc, the timeshift gives the same error. (It is an mdadm array with btrfs fs on it -I format ext4 on mdadm and the same happens). Some help?

Edit: Aslo I have make a partition scheme like Ubuntu on my main disk (@ and @home subvolumes) so timeshift works fine (error only when i connect raid array to my pc...