Hi
I’m finally updating from a very old version 9 RC 2 - from 2015 (Yes yes I know).
Its been running on a Raspberry pi - emonBase (pi and emontx - and will remain like that but on a dedicated pi).
Whats the best way to migrate from the old version to the current release?
I’m building a new machine to take over the role of running emon. The old machine has other jobs it needs to keep doing.
I see the new version has a " Import from USB drive" option - which areas do I need to copy over?
does it include the mysql database?
How will it re-create the feeds and inputs etc?
Do i need to recreate my dashboards?
If I need to rename my feeds for the new apps is that possible “in-flight”?
If I want to re-process my feeds from the original log data is that possible? (i want to add a new feed from historic data)
Gently walking through the load from usb script.
Seems the database definition has changed. the “time” column has gone from a date-time data type to int(10) - I’m going to guess and make the change to an epoch time.
this is on tables “feeds” and “input”
Actually looking at the data it looks like its just when the feed/input was last updated - set it to null, re-ran the migration script for the DB and its happy.
Ah. Looks like the phpfiwa data feed type has gone :’-(
For rebuilding feeds you might find the post processor module useful Emoncms Post Processor - Guide | OpenEnergyMonitor You can use it to reprocess power feeds into kWh or kWh/d data among quite a few other things.
As a matter of interest, I was looking to merge 2 feeds. One has data from say Jan - June and the other from April to now. Looking to end up with the April to now including the data from Jan - April and then for that feed to be used.
Couldn’t quite get my head around the steps needed.