mosquitto does not seem to like the following options for persistence.
# Persistence configuration persistence true persistence_location /data/qos/ persistent_client_expiration 8h
/data/qos does exist and permissions have been set.
sudo chown mosquitto:mosquitto /data/qos
The persistence configuration options are in a file
persist.conf placed under
/etc/mosquitto/conf.d directory. Before copying, I am stopping the broker and starting it again after copying using commands like this:
sudo service mosquitto stop sudo service mosquitto start
/var/log/mosquitto/mosquitto.log does not give any clue about what could be the issue.
So, what's wrong with the options provided above for persistence?