Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"local encrypted" not working because of missing snapshotpath (release critical) #1808

Closed
buhtz opened this issue Jul 23, 2024 · 5 comments · Fixed by #1809
Closed

"local encrypted" not working because of missing snapshotpath (release critical) #1808

buhtz opened this issue Jul 23, 2024 · 5 comments · Fixed by #1809
Assignees
Labels
Bug Distro-Specific only for certain distributions, desktop environments or display servers High

Comments

@buhtz
Copy link
Member

buhtz commented Jul 23, 2024

While preparing next release and testing on Debian unstable. A local encrypted profile.

This message appears every time when closing the manage profiles dialog.
image

Clicking yes and entering the password:
image

I don't know about EncFS and need to investigate this.

@buhtz buhtz self-assigned this Jul 23, 2024
@buhtz buhtz added High Distro-Specific only for certain distributions, desktop environments or display servers Bug labels Jul 23, 2024
@buhtz buhtz added this to the Upcoming release (1.5.0) milestone Jul 23, 2024
@emtiu
Copy link
Member

emtiu commented Jul 23, 2024

Hmm, I haven't tried this in a VM, but at first glance, there are some strings in seriously wrong places:

Can't mount 'encfs --extpass=backintime-askpass […]

Looks like there's a command string (encfs --extpass=[…]) where there should be a path/mountpoint.

@buhtz
Copy link
Member Author

buhtz commented Jul 23, 2024

The encfs version in Debian stable and testing are the same.
There is also the problem that the backup destination field in the "General" tab of "Manage profiles..." is empty.

I am assuming we will miss the next Ubuntu release.

@buhtz buhtz changed the title "local encrypted" not working on Debian testing (release critical) "local encrypted" not working on Debian unstable (release critical) Jul 23, 2024
@buhtz
Copy link
Member Author

buhtz commented Jul 24, 2024

I do have a trail ...

It does not depend on the Debian version. I can reproduce this on Debian stable (12), too. It is something about the snapshotpath edit field in the Manage profiles dialog and the self.mode variable. That field is empty under specific (maybe rare) circumstances. In consequence a call to "encfs" (when closing the manage profiles dialog) does not have all relevant arguments. Still investigating.

It happens with BIT dev but not with v1.4.3 (latest release).

To reproduce:

  • Main profile should be a simple local.
  • Create second profile "local encrypted".
  • Restart bit.
  • In the main window (not the settings dialog) switch to the second profile.
  • Open the settings dialog.
  • You see the "save snapshots here" field is empty.

This does not happen when:

  • Start BIT.
  • Open settings dialog.
  • Switch to second profile.
  • The field has a value.

I was not able to reproduce this on my productive machine. This might be because I do have multiple profiles (nearly 10) on that machine.

@buhtz buhtz changed the title "local encrypted" not working on Debian unstable (release critical) "local encrypted" not working because of missing snapshotpath (release critical) Jul 24, 2024
@buhtz
Copy link
Member Author

buhtz commented Jul 25, 2024

Found the reason. Was introduced with PR #1771. Now will checkout a solution.

buhtz added a commit to buhtz/backintime that referenced this issue Jul 25, 2024
@emtiu
Copy link
Member

emtiu commented Jul 25, 2024

Good job tracking this down 🤝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Distro-Specific only for certain distributions, desktop environments or display servers High
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants