-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
KeepassXC persist not working #614
Comments
From which version did you upgrade? |
I upgraded the same version. The same thing happened the last time I upgraded, although I'm not sure when the persist was added in relation to the last release. While attempting to recreate this issue, I've run into some new problems that may or may not be related. I just tried uninstalling keepassxc and deleting the So it looks like if the persisted file is not found at install time, scoop is actually creating a directory with the same name. keepassxc treats this directory as the configuration file and then errors when it tries to open it for reading. I'm using the latest version of scoop. |
Version 2.2.2 doesn't come with a This update should fix this problem: ScoopInstaller/Scoop@c15d8e2 |
I tried uninstall and installing again - this time I received the following message. This was with nothing in the persist directory.
The second test I attempted was to uninstall, manually edit the current version to a lower number then install again. I received the same message as above. I then manually copied over So it looks like your update prevented a bad file from being created. However, it did not correct the issue where files not created until first launch are not being persisted. It looks like scoop runs the persist operation at install time but does not check again at update or uninstall time when the file is actually needed. |
Do you mean you lowered the version by changing the directory name? If so, this will break the symlink to the There is no real way to downgrade a version.
This keepassxc installation can not be updated with The logic for persistence can be found in the persist_data() function. |
No, I lowered the version by editing the |
The ini file is missing in the 2.2.2 release: keepassxreboot/keepassxc#1134 |
It should now work as intended. |
KeepassXC has
keepassxc.ini
set as a persisted file. However, when upgrading, the file is replaced with the new version and all settings are back to default.The text was updated successfully, but these errors were encountered: