dashboard error after update

Warning: include(Modules/energy/energy_model.php): failed to open stream: No such file or directory in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 11

Warning: include(): Failed opening 'Modules/energy/energy_model.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 11

Warning: include(Modules/energy/energytypes.php): failed to open stream: No such file or directory in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 12

Warning: include(): Failed opening 'Modules/energy/energytypes.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 12

Fatal error: Call to undefined function energy_get_year() in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 14

After the latest update I am seeing this error. when trying to edit a new dashboard.

 

 

mauzer's picture

Re: dashboard error after update

After the energy module installation these errors are gone.

But there is another issue - dials aren't updating when user is logged off.

kojonpaa's picture

Re: dashboard error after update

What do you mean by the energy module installation?

 

I am getting this when viewing any dashboard:

 

Warning: include(Modules/energy/energy_model.php): failed to open stream: No such file or directory in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 11

Warning: include(): Failed opening 'Modules/energy/energy_model.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 11

Warning: include(Modules/energy/energytypes.php): failed to open stream: No such file or directory in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 12

Warning: include(): Failed opening 'Modules/energy/energytypes.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 12

Fatal error: Call to undefined function energy_get_year() in /var/www/emoncms/Modules/dashboard/Views/js/widgets/stack/stack_widget.php on line 14

 

Did I miss some step on the update? (I did re-do the settings.php and run the DB update in admin functions).

mauzer's picture

Re: dashboard error after update

For me these errors gone after this additional Module installation:

https://github.com/emoncms/energy

 

404wanderer's picture

Re: dashboard error after update

Sorry to sound stupid, but how do I pull this module using git?

mauzer's picture

Re: dashboard error after update

$ cd /var/www/emoncms/Modules

$ git clone https://github.com/emoncms/energy.git

TrystanLea's picture

Re: dashboard error after update

Very sorry about this error, I did not check its operation without the module, I will fix it so that the module does not have to be installed.

TrystanLea's picture

Re: dashboard error after update

Ok, its fixed now, the dashboard will now load module specific widgets only when those modules are installed.

404wanderer's picture

Re: dashboard error after update

Thanks!

carlvk's picture

Re: dashboard error after update

Thank you I will try it later.

 

carlvk's picture

Re: dashboard error after update

That's working fine now, thanks

Comment viewing options

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