Menu

Sync problem - endless loop

Sanyy
2017-05-12
2017-05-12
  • Sanyy

    Sanyy - 2017-05-12

    Hi,

    My goal was:

    • -using 1 database (C:/x.kdbx) on 2 or more devices and keep 1 seperate database (D:/x.kdbx) on each divece which will be syncronized with 'syncthing' when it changes ('syncthing' simply overwrites the older file with the newer,literally can not be used for follow the changes of the entry but it is checking the file and does its job well.)

    I treid to set a trigger: upon saving a database -> syncronize with file

    The program crashes because it creates an infinit loop i think (sync might saves also?).

    Any advice:

    • -how to avoid this?
    • -how to disable save after sync?
    • -is there a work-around? (in the trigger? plugin? anything?)
    • -a closed or open topic about this?

    Cloud-software is not an option for me, i do not want to use such. This issue is OS independent i think, my current KeePass version is 2.35.

    Thanks in advance

     

    Last edit: Sanyy 2017-05-12
  • wellread1

    wellread1 - 2017-05-12

    See http://keepass.info/help/kb/trigger_examples.html#infiniteloop for how to prevent an infinite loop when a trigger that includes the synchronization action, is triggered by a save event.

     
    • Sanyy

      Sanyy - 2017-05-12

      Thank you very much, exactly what i needed!
      Next time i'll look around around a bit on the help page, very helpful for noobs like me.
      Whoever made it, there are a lot of nice detailed descriptions.

       

      Last edit: Sanyy 2017-05-12
  • Paul

    Paul - 2017-05-12

    Thanks. :)

     

Log in to post a comment.

MongoDB Logo MongoDB