Emoncms on shared linux hosting - requires redis-server

Hi

Not sure where to post this but it might help those who want to host emoncms on a shared linux host service.

It seems that emnocms requires redis-server to be installed and the host I use does not and will not install this package.

Without redis-server, emoncms does not let you know that it is not fully working. The only symptoms (for me) was that the "kwh-kwh/d" and "rate of change" input processes do not work (show as "inactive" in the feeds list).

It would probably be worth mentioning this in the "shared linux hosting" page: https://github.com/emoncms/emoncms/blob/master/docs/SharedLinuxHostingInstall.md

Thanks for an excellent software suite

Mike

Bill Thomson's picture

Re: Emoncms on shared linux hosting - requires redis-server

Mike,

Did you change the $redis_enabled line in settings.php from true to false?

I made that change, stopped redis, changed /etc/init.d to keep redis from starting, rebooted my VPS and everything is still working. (after rebooting, I verified via ps -ef that redis was not running) I have emoncms installed on a linux box at OVH.com. (They call it a VPS -- virtual private server)

 

Esk Energy's picture

Re: Emoncms on shared linux hosting - requires redis-server

Hi Bill

Did you change the $redis_enabled line in settings.php from true to false?

Yes, and the "kwh-kwh/d" and "rate of change" input processes are still not working (showing as "inactive").

I tried deleting and recreating the processes/feeds after disabling "$redis_enabled" to check as well - same result.

Thanks

Mike

Esk Energy's picture

Re: Emoncms on shared linux hosting - requires redis-server

Bill

When you said you disabled redis and everything worked OK, can you confirm if that included a feed derived from either a kwh-kwh/d process or a rate of change process?

Thanks

Mike

Bill Thomson's picture

Re: Emoncms on shared linux hosting - requires redis-server

I went back to my VPS and re-enabled/re-started redis, then created two dummy inputs/feeds. One was kWh to kWh/d, the other, rate of change. I'm seeing the same thing you are, i.e. both are inactive.

 

Esk Energy's picture

Re: Emoncms on shared linux hosting - requires redis-server

Hi Bill

So it looks like emoncms needs redis-server - unfortunately for me...

Thanks for investigating - I hope this helps someone as it's not in the documentation.

Mike

Comment viewing options

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