#1206 KeePass setzt Einstellungen selbstständig zurück

KeePass_2.x
closed
None
5
2014-04-15
2014-01-26
m4rtiN
No

Hallo Dominik,

KeePass setzt sich bei mir (bereits seit mehreren Versionen) regelmäßig selbst zurück (sämtliche Settings!).

Ich habe üblicherweise eingestellt, dass KeePass minimiert mit Windows startet und die Datenbank dabei geschlossen bleibt. Außerdem habe ich das deutsche Sprachpaket installiert.

Alle paar Monate passiert es dann, dass, wenn ich meinen PC hochfahre, KeePass nicht minimiert startet, auf Englisch angezeigt wird und die Liste der letzten Datenbanken leer ist.

Details zur Umgebung:
- Ich nutze Windows 7 Pro x64 und Windows 7 Pro x64 auf einer SSD
- Von KeePass 2 kommt die Portable Edition zum Einsatz
- KeePass liegt auf einer HDD, die natürlich von Windows regelmäßig ausgeschaltet wird
- Jetzt besteht das Problem gerade und obwohl die German.lngx im KeePass-Ordner liegt, startet KeePass auf Englisch und fragt auch nicht ob die Sprache gewechselt werden soll
- Es wurde in letzter Zeit kein Update von KeePass eingespielt

Ist nichts tragisches, aber sehr ärgerlich, wenn man regelmäßig alle Settings neu durchlaufen muss.

Viele Grüße aus Reutlingen,
Martin

PS: Super Projekt, hoffe es wird noch lange bestehen und weiterentwickelt!

Discussion

  • Paul
    Paul
    2014-01-27

    This would happen if you did not have a valid config file - language and other settings are saved in the user/program config file. http://keepass.info/help/base/configuration.html
    Do you lose other Windows settings at the same time?

    cheers, Paul

     
  • m4rtiN
    m4rtiN
    2014-01-31

    Hi Paul,

    thank you for your feedback! No, I do not lose any Windows setting at that moment. It's only KeePass that resets itself. I cannot explain what happens. I always use the zipped version of KeePass as I regularly make a Backup of it on another HDD. But I did not do that in the last few weeks. It just happens and I can't reproduce it.

    If you ran out of ideas it's ok - I can live with that bug. :-)

    Thank you!

    Regards,
    Martin

     
  • Paul
    Paul
    2014-02-01

    Check your config files when this next happens - before you change the language.

    cheers, Paul

     
  • m4rtiN
    m4rtiN
    2014-02-02

    Ok, anything special I should check then? As written above I always have a backup of all my files on another HDD. I could attach both config files (if there is no private data in). The original one and the resetted one.

    It should be about 5 settings (+-) that are different.

    Regards,
    Martin

     
  • Dominik Reichl
    Dominik Reichl
    2014-02-02

    KeePass only uses the default configuration if access to the configuration file is denied or the configuration file is corrupt.

    Thus, when the issue appears the next time (i.e. KeePass opens with the default configuration), please post the current configuration file (do not close KeePass before retrieving the configuration file; KeePass overwrites it when closing).

    Best regards,
    Dominik

     
  • Dominik Reichl
    Dominik Reichl
    2014-02-02

    Oh, and of course you might want to open the configuration file in a text editor to check that it doesn't contain any sensitive information before posting it here. Anyway, please do not edit it if possible, otherwise the corruption might not be detectable anymore.

    Best regards,
    Dominik

     
  • m4rtiN
    m4rtiN
    2014-02-03

    Okay, thank you. I'll reply again as soon as the error appears again. This may take some weeks.... ;-)

    Regards,
    Martin

     
  • m4rtiN
    m4rtiN
    2014-04-03

    Okay, here we go. The issue appeared again. KeePass asked me if I want to enable Updates and the language was English again. Yesterday I did make a Backup via "AllSync" and copied my (Portable and running) KeePass-Folder to another HDD.

    This time it may be a problem of the backup tool. Nevertheless, I'll attach the config files.

    Regards,
    Martin

     
  • m4rtiN
    m4rtiN
    2014-04-03

    Oh, I see. Maybe I can simply overwrite the new KeePass.config.xml with the old one.

     
  • Paul
    Paul
    2014-04-04

    Your config file looks correct.
    Did you run KeePass from a new location?
    Where did you get the old config file to overwrite the new one?

    cheers, Paul

     
  • m4rtiN
    m4rtiN
    2014-04-05

    Hi Paul :-)

    yeah, the file was correct. I replaced the new one with the .tmp one and it works fine again.

    Did you run KeePass from a new location?
    No. It was just copied from drive E: to drive F: via AllSync. However, my portable version on drive E: has the setting "start with windows" and did run during the backup (the database was closed).

    Where did you get the old config file to overwrite the new one?
    I'm not sure what you mean. I only had the .tmp one (the correct one) in drive E:. After closing KeePass again, I had a new one (without .tmp). I simply overwrote the new one with the .tmp one.

    What do you think? I think it's a problem with copying KeePass while the program is running in background. But normally windows "could not copy file as it's opened by another program". Maybe it's a problem with the tool AllSync.

    Regards,
    Martin

     
  • Paul
    Paul
    2014-04-05

    To confirm it's AllSync, copy the KeePass files with Windows Explorer whilst KeePass is open and then test.

    cheers, Paul

     
  • Dominik Reichl
    Dominik Reichl
    2014-04-13

    • status: open --> closed
     
  • Dominik Reichl
    Dominik Reichl
    2014-04-13

    When writing the configuration file, KeePass first writes to 'KeePass.config.xml.tmp', deletes 'KeePass.config.xml', and renames 'KeePass.config.xml.tmp' to 'KeePass.config.xml'. So, if you see a 'KeePass.config.xml.tmp' file, something has interrupted KeePass (e.g. a sync tool denying KeePass access to one of the files during the process).

    Maybe you can tell your sync tool to ignore the configuration file, until they have resolved the problem.

    Thanks and best regards,
    Dominik

     
  • m4rtiN
    m4rtiN
    2014-04-15

    Thanks for the information and the great support.

    Regards,
    Martin