persistence file mosquitto.db doesn't update
Hi,
I have a problem using Mosquitto. The persistence file mosquitto.db doesn't update.
This is the situation: Mosquitto exits, write the persistence database and the file
"mosquitto.db" is generated in the location defined in the config file (this is correct).
Now, if Mosquitto tries to rewrite the persistence database (for some reason) the console
shows the messages:
- Saving in-memory database to //dir/mosquitto.db
- Error: File exists.
And in the persistence database's folder there are the first file written ("mosquitto.db")
and another db file named "mosquitto.db.new" . Mosquitto then considers always the first (old)
persistence database ("mosquitto.db"). This is incorrect.
Do you have any suggestions?
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- mosquitto Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask daniel for more information if necessary.