Hello everybody,
In first, congrats for this awsome software for logging value. I have install on one server for logging some value of weather and the UPS for solar PV. I don’t remember on which version a have start but maybe a v7.x. I have start on the end of novembre 2013. Now, I work on emoncms v8.0.9 and just for information, each feed take approximately 26Mb.
I have one virtual machine for production and a made some clones for tried some upgrade and test. I would like to export a part of one feed and a have this error:
Notice: Undefined variable: npoints in /var/www/emoncms/Modules/feed/engine/Timestore.php on line 273 false
To fix this problem, I tried to upgrade to emoncms v8.3.6 but the trouble is always present. This is at this moment, I understand a have one trouble with all feeds. I made some search on google and on this forum, but I don’t find a way for resolve this trouble.
I have run the script for check integrity and also for recovery but it’s doesn’t work :-/ I have this error:
Feed $id [feed:$id metadata filesize error, size = 268] [data]
After some research, I have found on solution (https://github.com/emoncms/emoncms/issues/112), because a work on VM with Ubuntu x86.
The solution for made a recovery work also but a have on trouble reload the edited database. The database (mysql) is edit but when a tried to show the feed with http://localhost/emoncms/feed/list.json, the new type of feed is not new value of 'engine'!
Have you a idea for resolve the first problem (error on Timestore.php/Line 273)?
I have also see the feed with timestore is not really a good idea because it’s have some trouble, is it correct?
Can a just convert on feed to a other feed engine (maybe phpfiwa)? I think this part is ok, but how can I change in the core of emoncms?
PS: Sorry for my poor english.
Thanks
Jonathan Dreyer
Re: Export feed timestore from the website
Hello,
I have found a solution for the information of feed isn't actualized. I made a reseting of redis with:
$ redis-cli and then: flushall
(from: https://github.com/emoncms/emoncms/blob/master/docs/Upgrading.md)
For the other problem, I have maybe found the trouble. I don't know how php work, but it's strange because I don't understand where the value of $npoints is set. For me, the value is never set. I will post a issue on github.
Jonathan Dreyer