-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Writing the database failed: File exists #5175
Comments
Probably same issue as with #4856 |
I am having the same problem yet I do not use Google drive. The only similarity I can see with the #4856 is my database and key files are also on another partition. So they must be mounted before accessing the database. Looks like it's caused by mounting/unmounting partitions. |
I have the same issue |
Same problem, perhaps different causes. This is MAC installation, with Ventura 13.2.1 software and 2.7.4 Keypass XC. There are two user accounts (in addition to the admin acct). The database is kept in a shared folder, with the box checked for shared access via "get info" on the folder. The data base file has been set in permissions for both users to have read and write access. I can create the problem by successfully making a database change from one user, then, accessing the same database from the other user, and if a change is made, this same error message appears. I can then reverse the process in terms of which user goes first, and then the problem occurs with the other user. This is a relatively new problem, this setup of one database and two users worked well for quite a while, but no more. I have a duplicate arrangment on another MAC, and it's developed the same problem. Appreciate any attention or thoughts |
@1953willys did the problem develop after a keepassxc update or a macos update? |
I don't know, but there are more frequent MAC updates than Keepass XC ones, I think.
…________________________________
From: Jonathan White ***@***.***>
Sent: Wednesday, February 22, 2023 5:42 PM
To: keepassxreboot/keepassxc ***@***.***>
Cc: 1953willys ***@***.***>; Mention ***@***.***>
Subject: Re: [keepassxreboot/keepassxc] Writing the database failed: File exists (#5175)
@1953willys<https://github.com/1953willys> did the problem develop after a keepassxc update or a macos update?
—
Reply to this email directly, view it on GitHub<#5175 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A6CIT5IOAPYQI3RR6CY523TWY26B5ANCNFSM4PH7XZJA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I think I have a work around. I make a copy of the .kdbx database, and rename it. Then, I have each user access one of the two databases only. This works, problem does not occur. I have some additional work to make sure entries by one user are captured to the other database periodically. This is necessary anyway given the sneakernet method to coordinate databases between 3 machines. The configuration of a mac, using two separate users on one machine, is not very common, I bet. |
for me this worked,
|
Same here |
Overview
Error "Writing the database failed: File exists" saving database stored on a samba share (iomega nas) when on Fedora 32 running the AppImage. This setup works on my Windows 10.
Steps to Reproduce
Expected Behavior
Saving/writing to the DB should complete error free.
Actual Behavior
Saving changes to DB produces error Writing the database failed: File exists
Context
Fedora release 32
Linux localhost.localdomain 5.7.10-201.fc32.x86_64 #1 SMP Thu Jul 23 00:58:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
DB is on a samba share (iomega nas)
mount output:
type cifs (rw,relatime,vers=1.0,cache=strict,username=user,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.x.x,soft,unix,posixpaths,serverino,mapposix,acl,rsize=61440,wsize=65536,bsize=1048576,echo_interval=60,actimeo=1,user=user)
Removing the DB file from the samba share, the DB file is created when saving in KeePassXC and no error message.
With "Safely save database files" disabled, I am able to save to the DB.
In the terminal where I launched the AppImage, a message "QFSFileEngine::open: No file name specified" shows when I click save and the error "Writing the database failed: File exists" shows in the GUI.
KeePassXC - Version 2.6.0
Revision: 0765954
Distribution: AppImage
Qt 5.14.2
Debugging mode is disabled.
Operating system: Fedora 32 (Workstation Edition)
CPU architecture: x86_64
Kernel: linux 5.7.10-201.fc32.x86_64
Enabled extensions:
Cryptographic libraries:
libgcrypt 1.8.1
Operating System: Linux
Desktop Env: Gnome
Windowing System: Wayland
Running AppImage shows the following output:
$ KeePassXC-2.6.0-x86_64.AppImage
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
The text was updated successfully, but these errors were encountered: