Hi, I just set up the emonPi after not using it for over a year due to moving house. The power inputs/feeds I’d previously set up all worked fine. Then I thought I’d click the upgrade button and now the inputs just say “n/a NULL” where I think they should have a time and a value.
I’m not sure how to start debugging. A couple of things I noticed in the admin:
It can’t find the log file. It says:
The log file has no write permissions or does not exists.
To fix, log-on on shell and do:
touch /var/log/emoncms/emoncms.log
chmod 666 /var/log/emoncms/emoncms.log
I sshed in and the log file appears to be at /var/log/emoncms.log - I tried creating the emoncms subdirectory but it gets removed (on reboot I think?)
mqtt input says mqtt_input Activating Auto-restart
If I run sudo systemctl status emoncms_mqtt.service the output is:
emoncms_mqtt.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
I’m not sure how to proceed so any advice gratefully received, thanks!
There have been BIG changes recently. I think the recommendation will be to back up your data, get the brand new image (on a new SD card, keeping the old one as a backup), then import all your old data. There have been quite a few others with more-or-less the same problem lately, so a search should show them.