Inputs OK but feeds inactive after changes on emoncms.org

Hi

I am new to this but have set up emoncms and can see all my inputs. When I set them all up to log to feed I could see all the matching feeds. However I had to alter some of the feeds by adding a multiplier. After this some of the feeds stopped updating and one is now inactive. I just worked out how to use feed API help. Investigating the first feed I got the following response:-

Notice: Undefined index: field in /var/www/emoncms/Modules/feed/feed_controller.php on line 89

{"id":"7829","name":"T3","tag":"","time":"2012-11-21 14:41:12","value":"24.56","status":"0","today":null,"yesterday":null,"week":null,"month":null,

"year":null,"type":"0","datatype":"1","userid":"867"}

I assume the undefined index is the problem. Is this something I can fix and if so how?

Regards

 

Ian

TrystanLea's picture

Re: Inputs OK but feeds inactive after changes on emoncms.org

Hello Ian, thanks a lot for spotting that, I missed putting a check there to see if it was defined. I have just fixed it, changes uploaded to github.

Thanks,

Trystan

mdknightk's picture

Re: Inputs OK but feeds inactive after changes on emoncms.org

So, I upgraded my server (a headless Linux PC running emoncms V8.4.0, not a Pi) from Debian 7 to Debian 8.

All went swimmingly so I restarted Apache and emoncms, whereupon some of my feeds stopped updating and eventually went inactive.

All the data from all the inputs is still being received, from all nodes.

But some (not all, only some) of the feeds from my EmonTX (node 10) are inactive.

I have tried creating new feeds from this node's inputs: they don't update.

I have tried creating new feeds from a different node's inputs: all is as it should be and merrily updating.

I have tried deleting and recreating feeds from the errant node's inputs: no joy.

I have tried removing all calculations from the inactive feeds' inputs, leaving only "Log to Feed": no joy.

I have tried re-editing the new apache2 config files and settings.php, and then swapping back to the old ones: no joy

Has anyone seen (and solved!) similar issues?

Bill Thomson's picture

Re: Inputs OK but feeds inactive after changes on emoncms.org

Sounds like the date.timezone variable in /etc/php5/apache2/php.ini needs to be uncommented and set to your time zone.

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.