MQTT no longer working after update from emonSD-03May16 to most current version

Hello,

Just created another post about the same problem here : Mosquitto won't start on boot after raspbian and emonsd update. It seems Mosquitto is restarted “too early” after creating the log file directory.

First, try to start mosquitto manually :
sudo service mosquitto start

If it works, could you try to make a small change to /home/pi/emonpi/rc.local_jessieminimal (I recommend you do a backup of the file before…) ?

After line 22 (comment for service restart), add sleep 11 (line 23).

 22   # Restart services,they should run happy now log dir's are created
 23   sleep 11
 24   service apache2 restart
 25   service redis-server restart
 26   service mosquitto restart
 27   service supervisor restart

Then, reboot !

Could you confirm it works (or not) ?

I am not sure it is the best / cleanest solution though…

JS