[SOLVED] How to Repair Timeshift?

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
VoxelMints
Level 1
Level 1
Posts: 27
Joined: Sat Sep 08, 2018 6:20 pm

[SOLVED] How to Repair Timeshift?

Post by VoxelMints » Thu Oct 18, 2018 3:33 pm

My Timeshift stopped working. I click on it, get a password prompt and then nothing.

I made a snapshot successfully, closed Timeshit, then It took longer than usual to log out. That's when it stopped working. I'm running a fully updated Mint 19 Cinnamon.

Is there a proper way of repairing Timeshift? Can I keep my Snapshots?
Last edited by VoxelMints on Fri Oct 19, 2018 4:56 pm, edited 3 times in total.

Ironmongoose
Level 1
Level 1
Posts: 2
Joined: Thu Oct 18, 2018 3:10 pm

Re: How to Repair Timeshift?

Post by Ironmongoose » Thu Oct 18, 2018 3:37 pm

im not an expert though i do know there is a option to download it in the software extensions (i really cant remember what its called right now but that sounds right) so you might try uninstalling it then reinstalling it??

VoxelMints
Level 1
Level 1
Posts: 27
Joined: Sat Sep 08, 2018 6:20 pm

Re: How to Repair Timeshift?

Post by VoxelMints » Thu Oct 18, 2018 3:42 pm

Re-installing was my first thought but I wanted to keep my snapshots. I figured asking here first couldn't hurt.

gm10
Level 13
Level 13
Posts: 4654
Joined: Thu Jun 21, 2018 5:11 pm

Re: How to Repair Timeshift?

Post by gm10 » Thu Oct 18, 2018 3:50 pm

You won't lose your snapshots if you reinstall. But I'm also not convinced it would fix your problem. You should first see what's wrong. Start timeshift from a terminal window so you get to see the error messages:

Code: Select all

timeshift-launcher
You can also check the timeshift log files in /var/log/timeshift/

VoxelMints
Level 1
Level 1
Posts: 27
Joined: Sat Sep 08, 2018 6:20 pm

Re: How to Repair Timeshift?

Post by VoxelMints » Thu Oct 18, 2018 4:26 pm

I ran the command like you suggested in the terminal here's the results:

Code: Select all

[Warning] Deleted invalid lock
E: JSON data must be UTF-8 encoded

(timeshift-gtk:17431): Json-CRITICAL **: 15:14:49.498: json_node_get_object: assertion 'JSON_NODE_IS_VALID (node)' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

(timeshift-gtk:17431): Json-CRITICAL **: 15:14:49.498: json_object_has_member: assertion 'object != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_string: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_string: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_bool: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_int: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_int: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_int: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_int: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_int: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_uint64: assertion 'jobj != NULL' failed

** (timeshift-gtk:17431): CRITICAL **: 15:14:49.498: tee_jee_json_helper_json_get_uint64: assertion 'jobj != NULL' failed

(timeshift-gtk:17431): Json-CRITICAL **: 15:14:49.498: json_object_has_member: assertion 'object != NULL' failed

(timeshift-gtk:17431): Json-CRITICAL **: 15:14:49.498: json_object_has_member: assertion 'object != NULL' failed
App config loaded: /etc/timeshift.json
/usr/bin/timeshift-launcher: line 30: 17431 Segmentation fault      (core dumped) pkexec ${app_command}

gm10
Level 13
Level 13
Posts: 4654
Joined: Thu Jun 21, 2018 5:11 pm

Re: How to Repair Timeshift?

Post by gm10 » Thu Oct 18, 2018 4:54 pm

Looks like your timeshift configuration file is corrupt. Run this:

Code: Select all

sudo mv /etc/timeshift.json /etc/timeshift.json.bak
and see if it starts then.

VoxelMints
Level 1
Level 1
Posts: 27
Joined: Sat Sep 08, 2018 6:20 pm

Re: How to Repair Timeshift?

Post by VoxelMints » Thu Oct 18, 2018 5:27 pm

Wow that was a good call! That fixed it, I went through initial setup and everything works great now. Thank You! :D

Post Reply

Return to “Newbie Questions”