You are not logged in.

#1 2025-09-27 21:20:20

gofree
Member
From: Slovakia
Registered: 2008-07-26
Posts: 54

deja dup 49 working for you ?

Hi guys

I've got problems to restore anything with v49 eg. the folder in file browser ( nautilus ) doesn't open at all. This has changed from v48 which is still working with its own restore browser windows. Data is being backed up to OneDrive. Still it seems there is something misbehaving after update.

Offline

#2 2025-09-28 00:56:19

mpan
Member
Registered: 2012-08-01
Posts: 1,508
Website

Re: deja dup 49 working for you ?

The basic question: start from a terminal, tell if and what it prints (post in [code][/code] tags here).


Paperclips in avatars?
NIST on password policies (PDF) — see §3.1.1.2
Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#3 2025-09-28 08:08:18

gofree
Member
From: Slovakia
Registered: 2008-07-26
Posts: 54

Re: deja dup 49 working for you ?

funny observation - the dejadup installed from flatpak just works - file browser opens - code (anonymized up to a point )  bellow is from package installed via pacman

[traktor@laptop ~]$ DEJA_DUP_DEBUG=1 deja-dup
Running the following tool (421750) command: restic '--json' '--cleanup-cache' '--cache-dir=/home/traktor/.cache/deja-dup/restic' '--insecure-no-password' '--option=rclone.program=rclone' '--repo=rclone::onedrive:laptop.lan' 'unlock'
TOOL: {"message_type":"exit_error","code":12,"message":"Fatal: wrong password or no key found"}
Running the following tool (421775) command: restic '--json' '--cleanup-cache' '--cache-dir=/home/traktor/.cache/deja-dup/restic' '--option=rclone.program=rclone' '--repo=rclone::onedrive:laptop.lan' 'unlock'
TOOL: successfully removed 1 locks
Running the following tool (421803) command: restic '--json' '--cleanup-cache' '--cache-dir=/home/traktor/.cache/deja-dup/restic' '--option=rclone.program=rclone' '--repo=rclone::onedrive:laptop.lan' 'snapshots'
TOOL: [{"time":"2025-09-27T22:57:04.435524559+02:00","tree":"a132831d37856a4c2563536b08032d0db8707ebf31935dabb9b1d07e1c835548","paths":["/home/traktor"],"hostname":"laptop.lan","username":"traktor","uid":1000,"gid":1000,"excludes":["/dev","/dev/*","!/home/traktor","/home/traktor/.cache","/home/traktor/.cache/*","/home/traktor/.cache/deja-dup","/home/traktor/.cache/deja-dup/*","/home/traktor/.crc","/home/traktor/.crc/*","/home/traktor/.mozilla","/home/traktor/.mozilla/*","/home/traktor/Downloads","/home/traktor/Downloads/*","/home/traktor/Insync","/home/traktor/Insync/*","/home/traktor/Temp","/home/traktor/Temp/*","/home/traktor/VM","/home/traktor/VM/*","/proc","/proc/*","/run","/run/*","/sys","/sys/*","/tmp","/tmp/*","/var/tmp","/var/tmp/*","/home/traktor/snap/*/*/.cache","/home/traktor/.var/app/*/cache","/home/traktor/snap/*/*/.config/Code Cache","/home/traktor/snap/*/*/.config/Cache","/home/traktor/.var/app/*/config/Code Cache","/home/traktor/.var/app/*/config/Cache","/home/traktor/.config/*/Code Cache","/home/traktor/.config/*/Cache"],"tags":["deja-dup"],"program_version":"restic 0.18.1","summary":{"backup_start":"2025-09-27T22:57:04.435524559+02:00","backup_end":"2025-09-27T23:02:33.881725495+02:00","files_new":181218,"files_changed":0,"files_unmodified":0,"dirs_new":29005,"dirs_changed":0,"dirs_unmodified":0,"data_blobs":100543,"tree_blobs":28980,"data_added":3572930059,"data_added_packed":2586818142,"total_files_processed":181218,"total_bytes_processed":4428841766},"id":"291c6cc1396ab3e8852a91a2119453e6641e8532624afb3afc08bf853449252e","short_id":"291c6cc1"},{"time":"2025-09-27T23:11:32.781857533+02:00","parent":"291c6cc5554ab3e9825a91a2128753e6641e8532624afb3afc08bf853449252e","tree":"3308db77c2655dd0c3b028d72a796b01b0d3164942de7a51f54df8bf0fb99c81","paths":["/home/traktor"],"hostname":"laptop.lan","username":"traktor","uid":1000,"gid":1000,"excludes":["/dev","/dev/*","!/home/traktor","/home/traktor/.cache","/home/traktor/.cache/*","/home/traktor/.cache/deja-dup","/home/traktor/.cache/deja-dup/*","/home/traktor/.crc","/home/traktor/.crc/*","/home/traktor/.mozilla","/home/traktor/.mozilla/*","/home/traktor/Downloads","/home/traktor/Downloads/*","/home/traktor/Insync","/home/traktor/Insync/*","/home/traktor/Temp","/home/traktor/Temp/*","/home/traktor/VM","/home/traktor/VM/*","/proc","/proc/*","/run","/run/*","/sys","/sys/*","/tmp","/tmp/*","/var/tmp","/var/tmp/*","/home/traktor/snap/*/*/.cache","/home/traktor/.var/app/*/cache","/home/traktor/snap/*/*/.config/Code Cache","/home/traktor/snap/*/*/.config/Cache","/home/traktor/.var/app/*/config/Code Cache","/home/traktor/.var/app/*/config/Cache","/home/traktor/.config/*/Code Cache","/home/traktor/.config/*/Cache"],"tags":["deja-dup"],"program_version":"restic 0.18.1","summary":{"backup_start":"2025-09-27T23:11:32.781857533+02:00","backup_end":"2025-09-27T23:11:49.261456359+02:00","files_new":1,"files_changed":14,"files_unmodified":181201,"dirs_new":1,"dirs_changed":18,"dirs_unmodified":28987,"data_blobs":13,"tree_blobs":18,"data_added":244468,"data_added_packed":27321,"total_files_processed":181216,"total_bytes_processed":4428807424},"id":"628ea62418463b153e12251b00deedab5d0806e3bb6594cde0aae0a54baea530","short_id":"628ea624"}]
Running the following tool (421855) command: restic '--json' '--cleanup-cache' '--cache-dir=/home/traktor/.cache/deja-dup/restic' '--option=rclone.program=rclone' '--repo=rclone::onedrive:laptop.lan' 'unlock'
Running the following tool (421892) command: restic '--json' '--cleanup-cache' '--cache-dir=/home/traktor/.cache/deja-dup/restic' '--option=rclone.program=rclone' '--repo=rclone::onedrive:laptop.lan' 'mount' '--path-template=ids/%I' '/run/user/1000/deja-dup/restic/0.23e4a24122d5e4401d079e3ddb4c589e'

Edit: the same happens if i use restore ( browse backup ) that was created without encryption password

Last edited by gofree (2025-09-28 08:21:08)

Offline

#4 2025-09-28 08:59:57

gofree
Member
From: Slovakia
Registered: 2008-07-26
Posts: 54

Re: deja dup 49 working for you ?

guess i found it - the helper script deja-dup-find-fusermount spits out fusermount3 but this doesnt work when mounting - if i replaced the script with echo /usr/bin/fusermount3 its working

not sure if a bug but i oenened it https://gitlab.gnome.org/World/deja-dup/-/issues/603

[traktor@traktor deja-dup]$ ls -la
total 672
drwxr-xr-x 2 traktor traktor   4096 sep 23 01:29 .
drwxr-xr-x 3 traktor traktor   4096 sep 23 01:29 ..
-rwxr-xr-x 1 traktor traktor   1951 sep 23 01:29 deja-dup-find-fusermount
-rwxr-xr-x 1 traktor traktor  55400 sep 23 01:29 deja-dup-monitor
-rwxr-xr-x 1 traktor traktor    242 sep 23 01:29 fusermount
lrwxrwxrwx 1 traktor traktor     10 sep 28 10:55 fusermount3 -> fusermount
-rwxr-xr-x 1 traktor traktor 612288 sep 23 01:29 libdeja.so
[traktor@traktor deja-dup]$ cat deja-dup-find-fusermount 
#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-FileCopyrightText: Michael Terry

# This file exists for a few reasons.
#
# One: fusermount naming is a bit inconsistent.
# Libfuse added fusermount3 at some point, so that fuse2 and fuse3 could be
# parallel installable. They are compatible for our use cases.
# Distros may package the two files separately and only one might be present.
# Meanwhile, restic (via github.com/anacrolix/fuse) only calls fusermount and
# doesn't ever look for v3 (as of this writing).
# Thus: we look for both names on the host.
#
# Two: fusermount is privileged, installed as a setuid binary.
# When running inside a flatpak, we actually need to call out to the host's
# version. So we handle that interception here.

# If not in a flatpak, just call onward.
if [ ! -f /.flatpak-info ]; then
  if [ -n "" ]; then
    exec echo ""
  elif command -v fusermount3 > /dev/null; then
    exec echo fusermount3
  elif command -v fusermount > /dev/null; then
    exec echo fusermount
  else
    exit 10  # fusermount not found
  fi
fi

# Inspired by:
# https://github.com/tinywrkb/flatpak-shared-modules/blob/main/flatpak-spawn-wrappers/fusermount
# Restic currently always provides _FUSE_COMMFD=3, but let's not assume anything.
FD_ARGS=
if [ -n "$_FUSE_COMMFD" ]; then
  FD_ARGS="--env=_FUSE_COMMFD=${_FUSE_COMMFD}"
  [ "$_FUSE_COMMFD" -gt 2 ] && FD_ARGS="$FD_ARGS --forward-fd=${_FUSE_COMMFD}"
fi

# Inspired by:
# https://github.com/flathub/org.gnome.World.PikaBackup/blob/master/fusermount-wrapper.sh
# Try both fusermount and fusermount3 (who knows which the host distro will have)
if [ -n "" ]; then
  FUSERMOUNT=""
elif flatpak-spawn --host sh -c "command -v fusermount3" > /dev/null; then
  FUSERMOUNT=fusermount3
elif flatpak-spawn --host sh -c "command -v fusermount" > /dev/null; then
  FUSERMOUNT=fusermount
else
  exit 10  # fusermount not found
fi

exec echo flatpak-spawn --host $FD_ARGS $FUSERMOUNT
[traktor@traktor deja-dup]$ ./deja-dup-find-fusermount 
fusermount3
[traktor@traktor deja-dup]$ cat fusermount
#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-FileCopyrightText: Michael Terry

FUSERMOUNT=$(/usr/lib/deja-dup/deja-dup-find-fusermount)
if [ "$?" != "0" ]; then
  echo "fusermount not found"
  exit 1
fi

exec $FUSERMOUNT "$@"

Last edited by gofree (2025-09-28 09:08:01)

Offline

Board footer

Powered by FluxBB