Skip to content
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.

Error message with Cron Timeshift hourly #596

Open
Trebor87 opened this issue Apr 29, 2020 · 5 comments
Open

Error message with Cron Timeshift hourly #596

Trebor87 opened this issue Apr 29, 2020 · 5 comments

Comments

@Trebor87
Copy link

Trebor87 commented Apr 29, 2020

I use Timeshift v20.03 on Manajro version Lysia 20.0 XFCE, before on 18 and 19.0

It runs well with no apparent problems and runs a Daily backup to an external HD partitioned with Ext4 for the backup size 107 Gb

Installing Timeshift creates a file in cron.d called timeshift-hourly and this generates an email containing an error message, see below.

I do not run an hourly backup, I tried before but don't need it but with or without an hourly backup the cron email runs with the same error every hour

Timeshift opens correctly and gives no error messages. I did a uninstall and a clean install, same problems

this mail contains :

_> (process:369084): GLib-GIO-CRITICAL **: 14:00:01.935: g_file_get_path: assertion 'G_IS_FILE (file)' failed

** (process:369084): CRITICAL **: 14:00:01.935: tee_jee_file_system_path_combine: assertion 'path1 != NULL' failed

** (process:369084): CRITICAL **: 14:00:01.935: tee_jee_file_system_dir_exists: assertion 'dir_path != NULL' failed

/dev/sdd2 is mounted at: /run/timeshift/backup, options: rw,relatime

Daily snapshots are enabled
Last daily snapshot is 16 hours old_

@steadfasterX
Copy link

same here.. :(

@qsv
Copy link

qsv commented Apr 15, 2021

As of April 2021 it seems that this is still and issue. Anyone any insight as to what is actually causing this message? I think it may be happening on almost every system. It just showed up for me when I installed sSMTP, and the "root" account can actually send a real email. I get one/hour

(process:195956): GLib-GIO-CRITICAL **: 15:00:01.941: g_file_get_path: assertion 'G_IS_FILE (file)' failed

** (process:195956): CRITICAL **: 15:00:01.941: tee_jee_file_system_path_combine: assertion 'path1 != NULL' failed

** (process:195956): CRITICAL **: 15:00:01.941: tee_jee_file_system_dir_exists: assertion 'dir_path != NULL' failed

/dev/sdc1 is mounted at: /run/timeshift/backup, options: rw,relatime

@Trebor87
Copy link
Author

Since this message, I've moved from Manjaro to Arch and no longer have this message

@woodward2
Copy link

Just done a fresh install of Linux Mint MATE 20.3 (overwriting 20.2 upgraded from 19.3). These messages have appeared since the re-installation.

I have configured timeshift the same as before: NO scheduled backups, an on-demand backup is run automatically from a script before any apt-* update.

The error messages come from a nightly root cron job which runs timeshift --list as part of a cleanup script. Running the same script manually from the command line produces no errors; looks like an issue with the cron environment?

The old version of timeshift (from Mint 20.2) was 20.11.1.1+ulyssa
The new version (from Mint 20.3) is 21.09.1.1+una.

@koocotte
Copy link

As a workaround, I tried to update /etc/cron.d/timeshift-hourly to use systemd-cat:

SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

0 * * * * root systemd-cat --identifier=timeshift-cron --stderr-priority=err /usr/bin/timeshift --check --scripted

but the crontab is rewritten when timeshift is run.

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

No branches or pull requests

5 participants