Please make EmonCMS redis dependency opcional!

As the topic says, i wish the redis dependency may be excluded by configuration.

On most shared hosting services, redis is not available and will limit upgrading an EmonCMS instalation.

 

Thanks!

TrystanLea's picture

Re: Please make EmonCMS redis dependency opcional!

Yes am thinking about this, it shouldn't be too hard to make it optional.

chaveiro's picture

Re: Please make EmonCMS redis dependency opcional!

Great!

Will be waiting for official release so i can upgrade my installation.

 

Thanks

rapzak's picture

Re: Please make EmonCMS redis dependency opcional!

Hi,

Like that too, i have some errors on synpology to get the right package...

Kasper

fversteegen's picture

Re: Please make EmonCMS redis dependency opcional!

I vote for this! I am now unable to upgrade/run emoncms on my shared hosting account :-(

TrystanLea's picture

Re: Please make EmonCMS redis dependency opcional!

Im pleased to say Redis is now optional in the 'rework' development branch of emoncms.

The external timestore feed engine is also optional as timestore and the other improved versions of it (phpfiwa and phpfina) are now all written natively in php. Which means the latest version of emoncms can be run on windows and shared hosting servers! :)

I've just tested installing the rework development branch of emoncms on a shared server and it worked fine.

The rework development branch is almost ready for full release, I would recommend using it if your making a new installation of emoncms but if you already have an older version of emoncms running and its working ok I wouldn't upgrade yet as the upgrade pathway isnt fully developed and tested.

I've added a section to the bottom of the rework branch readme on installation on shared hosting:

https://github.com/emoncms/emoncms/tree/rework

JBecker's picture

Re: Please make EmonCMS redis dependency opcional!

As I am just having problems to install Emoncms on Windows Home Server (http://openenergymonitor.org/emon/node/3728), I just tried it this way (because you wrote that it should be possible to run on Windows now).

With nearly the same success. If I try to create an input via the input API helper functions, I get an answer 'ok', but no input is created. If I try to create a node with the Node API functions (with or without API key) I get an error message 'Fatal error: Call to a member function fetch_array() on a non-object in C:\wamp\www\emoncms\Modules\node\node_model.php on line 185'.

I am stuck at the moment. Is there anything I forgot to install or any setting I did not make (correctly)?

TrystanLea's picture

Re: Please make EmonCMS redis dependency opcional!

Hmm, The error Fatal error: Call to a member function fetch_array() on a non-object in C:\wamp\www\emoncms\Modules\node\node_model.php on line 185'. would occur if the mysql table for the node module called node does not exist. Can you run show tables; in mysql and see what it returns?

Does the mysql account that you have created have full permissions to the database? That you have created an account and logged in suggests that it should have.

JBecker's picture

Re: Please make EmonCMS redis dependency opcional!

This is what I thought, but I have set all users permissions to 'all priviledges'.

But, there is no table called 'node' in the emoncms database. Wouldn't this be created automatically?

PS: Am I highjacking this thread or is it ok to use it?

 

TrystanLea's picture

Re: Please make EmonCMS redis dependency opcional!

Good idea, Lets continue on the other thread. http://openenergymonitor.org/emon/node/3728

Comment viewing options

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