Flatpak KeePassXC problems

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
rmwiseman
Level 1
Level 1
Posts: 13
Joined: Tue Feb 10, 2015 4:16 am

Flatpak KeePassXC problems

Post by rmwiseman »

I excitedly moved from KeePassX to KeePassXC a couple of days ago when I discovered that it has some features I've been waiting for. It seemed to work really well, and I noticed it was installed seamlessly as a Flatpak. However, today is the first day I've needed to save the database and every time I try it fails. I've filed a bug report (https://github.com/keepassxreboot/keepa ... /issues/10) in what I believe (hope) is the right place, but I wondered if anyone else has seen similar error messages...
Writing the database failed.
Cannot create /run/user/1000/doc/2d696d13/passwords.kdbx for output
It doesn't seem to matter where the database is, it gets moved to /run/user/1000/doc/something when I open it, and then can never be saved (or even "saved as").

Is it just me? Am I doing something wrong in the flatpak run command? Here's how I start KeePassXC:

Code: Select all

flatpak run --branch=stable --arch=x86_64 --command=keepassxc --file-forwarding org.keepassxc.KeePassXC
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
BenTrabetere
Level 7
Level 7
Posts: 1889
Joined: Sat Jul 19, 2014 12:04 am
Location: Hattiesburg, MS USA

Re: Flatpak KeePassXC problems

Post by BenTrabetere »

rmwiseman wrote: Thu May 24, 2018 6:06 amIs it just me? Am I doing something wrong in the flatpak run command? Here's how I start KeePassXC:
As I understand it, it is not a KeePassXC bug, but a problem with the flatpak itself. From the looks of it the flatpak was created and maintained by flathub, and they pretty much made a mess of it. (IMO, flathub made a mess of the GIMP flatpak, too.)
See: https://github.com/keepassxreboot/keepassxc/issues/1524

I suggest you install one of the official releases for KeePassXC - add the PPA and install, use the AppImage, or install the Snap. I used the AppImage the first time I used KeePassXC, but later I installed it using the PPA. The AppImage worked fine, but I switched to the PPA because that was the best way to ensure I applied security patches as soon as they became available.
https://keepassxc.org/download/#linux
Patreon sponsor since August 2022
Image
rmwiseman
Level 1
Level 1
Posts: 13
Joined: Tue Feb 10, 2015 4:16 am

Re: Flatpak KeePassXC problems

Post by rmwiseman »

Thanks. The KeePassXC people have also redirected me to that issue! I've uninstalled and reinstalled as a snap, just because I've used snap before. Seems to save fine, I'm glad to say.
User avatar
kc1di
Level 18
Level 18
Posts: 8172
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Flatpak KeePassXC problems

Post by kc1di »

I use keepassxc in an appimage and it's working fine here.
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Royi
Level 2
Level 2
Posts: 67
Joined: Fri Aug 11, 2017 8:55 am

Re: Flatpak KeePassXC problems

Post by Royi »

I think you should have opened an issue in the FlatPak project:

https://github.com/flathub/org.keepassxc.KeePassXC

Try run it with the flag --filesystem=home.
The way it is configured currently it seems it can only interact well with /tmp.

What you're experiencing is the security measure of the FlatPak which isolates the application from the file system.
This is a good feature yet it seems the FlatPak's builders doesn't configure it well enough to let the user have a smooth experience.

We should just keep opening the issues in the FlatPak project to let the developers make things better.
Locked

Return to “Software & Applications”