[SOLVED] How to Repair Timeshift?

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
VoxelMints

[SOLVED] How to Repair Timeshift?

Post by VoxelMints »

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 LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Ironmongoose

Re: How to Repair Timeshift?

Post by Ironmongoose »

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

Re: How to Repair Timeshift?

Post by VoxelMints »

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

Re: How to Repair Timeshift?

Post by gm10 »

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

Re: How to Repair Timeshift?

Post by VoxelMints »

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

Re: How to Repair Timeshift?

Post by gm10 »

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

Re: How to Repair Timeshift?

Post by VoxelMints »

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

Return to “Beginner Questions”