Recently I have upgraded from emoncms 9.9.5 with a raspberry PI 2 to latest emoncms, 10.0.2, and now I like to give details about some questions that I have detected after this upgrade:
Where is backup and restore tool?
postprocess, I have a old data to postprocess:
58532 points behind but executing run postprocess is not updated on 1 of 3 post process, postprocess.log is:
{“input”:21,“output”:35,“process”:“powertokwh”}
input meta: {“interval”:10,“start_time”:1546208910,“npoints”:1268025}
output meta: {“interval”:10,“start_time”:1546208910,“npoints”:1209491}
-------------------------------------------------------Found and filtered 58534 values ±1MW
-------------------------------------------------------bytes written: 0
one question related with postprocess, can be shceduled automatically, for now U’m executing manually…
last time value: 1558889160 6850809
On emonhub.log appears this from fronius Primo with latest firmware
2019-05-26 18:30:13,040 ERROR ModbusTCP Connection failed on read of register: 40118 : ‘ModbusIOException’ object has no attribute ‘function_code’ → I think that this error was appearing before emoncms, not sure but maybe is a fronius upgrade, but not sure because only this register returns this error in some querys, not always
I have updated because in some situation graphs were not updated, I’ll try to check if with latest versions this error is solved
Click on the settings cog (top right) and you should see ‘backup’ as an option (this is backup/restore - export/import).
To provide more details, in the admin screen, click on the ‘Copy as markdown’ button next to the Server Information heading then paste it in a reply (no further formatting required).
What is your setup? An EmonBase (i.e. a Pi with the RFM card fitted). It is possible the RFM card has been updated with the wrong firmware.
sorry, but I can’t fins backup option, attached screenshot
Is a raspberry pi without ny other componen, on monitoring with modbus tfp fronius primo, I don’t think that is a firmware issue with raspberry, maybe fronius firmware? but only one register? Strange…
# cat emonpiupdate.log
Starting emonPi Update >
via service-runner-update.sh
Service Runner update script V1.1.1
EUID: 1000
Argument: all
Sun 26 May 18:20:05 CEST 2019
Thanks @klxout is that the full content of your update log?, if you click on “Copy Log to Clipboard” it should copy the whole thing, should be several hundred lines.
It shouldnt matter how many times you run update, it should run through the whole update again.
The missing backup module in the menu sounds to me like the backup module has not updated on your system. If you are comfortable with SSH you can check its status with the following commands:
cd /home/pi/backup
git status
you could then try updating it with:
git pull
if you have a local change it may not update and that may be our problem, could you let me know what you see?
which hardware apart from pi2 do you have? You can actually skip the firmware upload step with the following version of the command if you dont have emonpi or rfm69pi hardware
/home/pi/emonpi/service-runner-update.sh all custom
I have this same issue. Updated my stock emonpi to 10.0.2 and now on to 10.1 and I have no backup option. Tried running manual update, no change. The backup option is not available in the cog dropdown…
pi@emonpi:~/backup $ cd /home/pi/backup
pi@emonpi:~/backup $ git status
On branch stable
Your branch is up-to-date with 'origin/stable'.
nothing to commit, working tree clean
pi@emonpi:~/backup $ git pull
Already up-to-date.
pi@emonpi:~/backup $
I have the same issue following a Full Update. The config files for the backup need to be set up again with the correct paths, which got backup working again, but I still don’t have a link to it.
The more serious issue is that Emonhub is not starting, and it appears to be a similar issue, as the config appears to be out of date and the paths in the config files don’t match my system. I am trying to run the update again, and at the moment the log is filling up with lines saying:
avrdude-original: stk500_cmd(): programmer is out of sync
avrdude-original: stk500_cmd(): programmer is out of sync
avrdude-original: stk500_recv(): programmer is not responding
avrdude-original: stk500_recv(): programmer is not responding
I had the same lines in the first run of the update, which does eventually complete, but it looks like I might have to wipe the system and start again if it does not work this time.
After a lot of playing around, I have got Emonhub working again. The config in emonhub.service file did not match the config in my system, so the service was not starting (for example, it was not looking in /home/pi/data for emonhub.conf, which is where the Emonhub link on the web interface pulls it from). The links in the emonhub.service were:
No emonhub issues for me. Not sure if anyone can point us in the right direction to rediscover backup however. Happy to post any and all config or logs that may lead to a clue…