Flatpak KeePassXC problems

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
rmwiseman
Level 1
Level 1
Posts: 9
Joined: Tue Feb 10, 2015 4:16 am

Flatpak KeePassXC problems

Post by rmwiseman » Thu May 24, 2018 6:06 am

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

User avatar
BenTrabetere
Level 6
Level 6
Posts: 1035
Joined: Sat Jul 19, 2014 12:04 am
Location: Hattiesburg, MS USA

Re: Flatpak KeePassXC problems

Post by BenTrabetere » Thu May 24, 2018 10:50 am

rmwiseman wrote:
Thu May 24, 2018 6:06 am
Is 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

rmwiseman
Level 1
Level 1
Posts: 9
Joined: Tue Feb 10, 2015 4:16 am

Re: Flatpak KeePassXC problems

Post by rmwiseman » Fri May 25, 2018 3:44 am

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 15
Level 15
Posts: 5500
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Flatpak KeePassXC problems

Post by kc1di » Fri May 25, 2018 4:19 am

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: 50
Joined: Fri Aug 11, 2017 8:55 am

Re: Flatpak KeePassXC problems

Post by Royi » Mon May 28, 2018 12:54 am

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.

Post Reply

Return to “Software & Applications”