Problem with Timeshift (browse folder)

I wanted to use Timeshift with the button Durchsuchen (browse or search in english) to open the folder where the snapshots of Timeshift are located. The folder is located on an ext4 partition created specifically for Timeshift, owner is /root. But since Timeshift is started with root, there should be access there as well. At least the partition is mounted correctly. A bug of Timeshift, of Dolphin or a rights problem?

What hapens when you mark the snapshot you want to open and search and then click on the folder icon on the toolbar. Do you get any error message?

I just installed and tested this in a VM. Before updating the system it worked fine. After updating, I receive this:

[dalto@eos-plasma ~]$ timeshift-launcher
App config loaded: /etc/timeshift/timeshift.json
Mounted '/dev/sda2' at '/run/timeshift/backup'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
"Session bus not found\nTo circumvent this problem try the following command (with Linux and bash)\nexport $(dbus-launch)"
/usr/sbin/xdg-open: line 881: x-www-browser: command not found
Running Firefox as root in a regular user's session is not supported.  ($XAUTHORITY is /home/dalto/.Xauthority which is owned by dalto.)
/usr/sbin/xdg-open: line 881: iceweasel: command not found
/usr/sbin/xdg-open: line 881: seamonkey: command not found
/usr/sbin/xdg-open: line 881: mozilla: command not found
/usr/sbin/xdg-open: line 881: epiphany: command not found
/usr/sbin/xdg-open: line 881: konqueror: command not found
/usr/sbin/xdg-open: line 881: chromium: command not found
/usr/sbin/xdg-open: line 881: chromium-browser: command not found
/usr/sbin/xdg-open: line 881: google-chrome: command not found
/usr/sbin/xdg-open: line 881: www-browser: command not found
/usr/sbin/xdg-open: line 881: links2: command not found
/usr/sbin/xdg-open: line 881: elinks: command not found
/usr/sbin/xdg-open: line 881: links: command not found
/usr/sbin/xdg-open: line 881: lynx: command not found
/usr/sbin/xdg-open: line 881: w3m: command not found
xdg-open: no method available for opening '/run/timeshift/backup/timeshift/snapshots'

Well, it is definitely not dolphin since what opens there is a gtk file chooser, not dolphin. :smile: Or at least, that is what happened before updating…

2 Likes

Works fine here on a newly installed EnOS-Gnome on Btrfs.

Nothing happens.

Edit: In Dolphin I can access the partition and the timeshift.folder normally.

1 Like

I get some warnings when run from a terminal but clicking the folder icon opens the file manager and I can browse the snapshot:’

$ timeshift-launcher
localuser:root being added to access control list
App config loaded: /etc/timeshift/timeshift.json

/dev/nvme0n1p2 is mounted at: /run/timeshift/backup, options: rw,relatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=5,subvol=/


(org.gnome.Nautilus:15197): dconf-WARNING **: 20:54:31.743: failed to commit changes to dconf: Error spawning command line ?dbus-launch --autolaunch=965a4aa35bf0437db5967d66e4884c51 --binary-syntax --close-stderr?: Child process exited with code 1

(org.gnome.Nautilus:15197): dconf-WARNING **: 20:54:31.744: failed to commit changes to dconf: Error spawning command line ?dbus-launch --autolaunch=965a4aa35bf0437db5967d66e4884c51 --binary-syntax --close-stderr?: Child process exited with code 1

** (org.gnome.Nautilus:15197): WARNING **: 20:54:31.846: Unable to get contents of the bookmarks file: Error opening file /root/.gtk-bookmarks: No such file or directory

** (org.gnome.Nautilus:15197): CRITICAL **: 20:54:31.898: update_dbus_opened_locations: assertion 'dbus_object_path' failed

(org.gnome.Nautilus:15197): dconf-WARNING **: 20:54:31.898: failed to commit changes to dconf: Error spawning command line ?dbus-launch --autolaunch=965a4aa35bf0437db5967d66e4884c51 --binary-syntax --close-stderr?: Child process exited with code 1

(org.gnome.Nautilus:15197): GLib-GIO-CRITICAL **: 20:54:39.164: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(org.gnome.Nautilus:15197): GLib-GIO-CRITICAL **: 20:54:39.164: g_dbus_proxy_get_cached_property: assertion 'G_IS_DBUS_PROXY (proxy)' failed

** (org.gnome.Nautilus:15197): CRITICAL **: 20:54:44.053: update_dbus_opened_locations: assertion 'dbus_object_path' failed

(org.gnome.Nautilus:15197): dconf-WARNING **: 20:54:44.054: failed to commit changes to dconf: Error spawning command line ?dbus-launch --autolaunch=965a4aa35bf0437db5967d66e4884c51 --binary-syntax --close-stderr?: Child process exited with code 1

(org.gnome.Nautilus:15197): GLib-GIO-CRITICAL **: 20:54:44.941: g_dbus_proxy_new_sync: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

(org.gnome.Nautilus:15197): GLib-GIO-CRITICAL **: 20:54:44.941: g_dbus_proxy_get_cached_property: assertion 'G_IS_DBUS_PROXY (proxy)' failed

** (org.gnome.Nautilus:15197): CRITICAL **: 20:54:45.289: update_dbus_opened_locations: assertion 'dbus_object_path' failed

(org.gnome.Nautilus:15197): dconf-WARNING **: 20:54:45.289: failed to commit changes to dconf: Error spawning command line ?dbus-launch --autolaunch=965a4aa35bf0437db5967d66e4884c51 --binary-syntax --close-stderr?: Child process exited with code 1


So…it works if I install Nautilus or Nemo.

Not sure what changed there but prior to updating it launched a generic file chooser and now it seems to be opening a separate file manager. Since that was a VM that I don’t use that much there were far too many updates for me to easily isolate the cause.

I don’t necessarily need to be able to access the folder via this button, but I don’t like it when something suddenly stops working. Deleting the snapshots still goes in the timeshift interface.

It seems likely to me that it is failing to launch dolphin as root since that is blocked. I am just not sure why the behavior change before and after updating.

I have checked the whole thing on the Manjaro computer of my wife, there is the same problem (also KDE with Dolphin).

That seems obvious to me.

I ran this specifically on the current system I am running now, that is EnOS on Btrfs, Gnome DE and Nautilus of course.

If you want I can boot up my Cinnamon to check if it is working there.

Edit:
On the Cinnamon side; almost fully updated system already, short of reflector-simple; Apart from some warnings in the terminal, it works as it should:

$ timeshift-launcher 
[Warning] Deleted invalid lock
App config loaded: /etc/timeshift/timeshift.json

/dev/nvme0n1p6 is mounted at: /run/timeshift/backup, options: rw,relatime,compress=zstd:3,ssd,space_cache,autodefrag,subvolid=5,subvol=/


(nemo:3650): GLib-GIO-CRITICAL **: 21:25:17.976: g_dbus_interface_skeleton_export: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Initializing nemo-image-converter extension

(nemo:3650): dconf-WARNING **: 21:25:18.088: failed to commit changes to dconf: Error spawning command line ?dbus-launch --autolaunch=a4d4e8e7279e46a8a7d25b3f4e5f92de --binary-syntax --close-stderr?: Child process exited with code 1

(nemo:3650): dconf-WARNING **: 21:25:18.095: failed to commit changes to dconf: Error spawning command line ?dbus-launch --autolaunch=a4d4e8e7279e46a8a7d25b3f4e5f92de --binary-syntax --close-stderr?: Child process exited with code 1
ERROR SET META:15 Setting attribute metadata::nemo-icon-view-auto-layout not supported
Nemo-Share-Message: 21:25:18.331: Called "net usershare info" but it failed: 'net usershare' returned error 1: Can't load /etc/samba/smb.conf - run testparm to debug it


(nemo:3650): dconf-WARNING **: 21:25:27.131: failed to commit changes to dconf: Error spawning command line ?dbus-launch --autolaunch=a4d4e8e7279e46a8a7d25b3f4e5f92de --binary-syntax --close-stderr?: Child process exited with code 1

(nemo:3650): dconf-WARNING **: 21:25:27.132: failed to commit changes to dconf: Error spawning command line ?dbus-launch --autolaunch=a4d4e8e7279e46a8a7d25b3f4e5f92de --binary-syntax --close-stderr?: Child process exited with code 1
Unable to initialize DBus connection: Error spawning command line ?dbus-launch --autolaunch=a4d4e8e7279e46a8a7d25b3f4e5f92de --binary-syntax --close-stderr?: Child process exited with code 1No DBus connection available
(nemo:3650): GLib-GIO-CRITICAL **: 21:25:57.145: g_dbus_interface_skeleton_unexport: assertion 'interface_->priv->connections != NULL' failed

(nemo:3803): GLib-GIO-CRITICAL **: 21:25:59.963: g_dbus_interface_skeleton_export: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
Initializing nemo-image-converter extension

(nemo:3803): dconf-WARNING **: 21:26:00.073: failed to commit changes to dconf: Error spawning command line ?dbus-launch --autolaunch=a4d4e8e7279e46a8a7d25b3f4e5f92de --binary-syntax --close-stderr?: Child process exited with code 1

(nemo:3803): dconf-WARNING **: 21:26:00.076: failed to commit changes to dconf: Error spawning command line ?dbus-launch --autolaunch=a4d4e8e7279e46a8a7d25b3f4e5f92de --binary-syntax --close-stderr?: Child process exited with code 1
ERROR SET META:15 Setting attribute metadata::nemo-icon-view-auto-layout not supported
Nemo-Share-Message: 21:26:00.335: Called "net usershare info" but it failed: 'net usershare' returned error 1: Can't load /etc/samba/smb.conf - run testparm to debug it


(nemo:3803): dconf-WARNING **: 21:26:02.167: failed to commit changes to dconf: Error spawning command line ?dbus-launch --autolaunch=a4d4e8e7279e46a8a7d25b3f4e5f92de --binary-syntax --close-stderr?: Child process exited with code 1

(nemo:3803): dconf-WARNING **: 21:26:02.167: failed to commit changes to dconf: Error spawning command line ?dbus-launch --autolaunch=a4d4e8e7279e46a8a7d25b3f4e5f92de --binary-syntax --close-stderr?: Child process exited with code 1
Unable to initialize DBus connection: Error spawning command line ?dbus-launch --autolaunch=a4d4e8e7279e46a8a7d25b3f4e5f92de --binary-syntax --close-stderr?: Child process exited with code 1No DBus connection availableApp config saved: /etc/timeshift/timeshift.json

Would be another possibility … I’m just surprised that it also occurs on Manjaro KDE, although Dolphin seems to have nothing to do with it …