Mosquitto and emonhub not starting anymore after update

cd /opt/openenergymonitor/EmonScripts/update
./emonhub.sh

Which interfacer are you using?

wait, trying now to remove / reinstall pythoon3

well, problem fixed

I removed pythoon3, then during reinstall I had a strange unexpected end of file or stream.
I had to delete the cab and reinstall it. the second time worked

then emonhub started for a few seconds then crashed again, not sure why.

I then ran the emonhub.sh update script, did nothing but then when I started emonhub from the command line it worked.
And now it works also as a service, so all fine it seems

I think my microsd car might be starting to give up…

what is a “interfacer”?

1 Like

Defined inside emonhub.conf - it is the ‘interface’ emonhub is talking to.

Does sound like a slightly iffy card. Take a backup of your data!

yes, I made a script that backups daily everything. I shared it here too :wink:

interfacers are RFM2Pi and MQTT

1 Like

Ok, nothing special.

ok, so the final solution was:

remove mosquitto, reinstall mosquitto
remove pyhtoon3, reinstall pythoon3
cd /opt/openenergymonitor/EmonScripts/update
./emonhub.sh

Just so that I can mark one single post as the solution

1 Like

FWIW, an emonBase runs on a Raspbery Pi too, but it’s definitely not the same as an emonPi

image

image

2 Likes

I guess emonBase it is then :slight_smile:

1 Like

thumbsup

1 Like

I knew that as it was reporting as an RPi 4. :slight_smile:

1 Like