Code Monkey home page Code Monkey logo

Comments (9)

JGallot avatar JGallot commented on August 12, 2024

Some more information :
Redis server seems to be empty :
**KEYS *** returns (empty list or set)
Client dockers can connect redis.
No password error is found in logs

from scalelite.

farhatahmad avatar farhatahmad commented on August 12, 2024

Whats the no password error that you found in the logs? Can you send a snippet of it?

from scalelite.

ngthienlinh avatar ngthienlinh commented on August 12, 2024

I think we have common problem. In the document: "The Docker image defaults to production. Rails defaults to development" => this lead to incompatible redis namespace.
The solution is to set RAIL_ENV variable in /etc/default/scalelite.

from scalelite.

JGallot avatar JGallot commented on August 12, 2024

hello, i'Ve made some cheks and reinstallations.

redis is now "populated".

RAIL_ENV=production is now in the file /etc/default/scalelite
restart have be done

But the problem is always here , very strange.
No message in logs (no errors nor infor only the url used)

from scalelite.

JGallot avatar JGallot commented on August 12, 2024

in redis-client, i've got keys :

1) "scalelite_development:server_load"
2) "scalelite_development:server_enabled"
3) "scalelite_development:servers"
4) "scalelite_development:server:b223bb3e-961c-4cbf-ba29-d656797b7657"
5) "scalelite_development:server:e409d22f-5aa5-451b-9485-1d7c37e4e3fd"

I see _development, shouldn't I see _production instead ?

from scalelite.

ngthienlinh avatar ngthienlinh commented on August 12, 2024

I think so.
I set RAIL_ENV=development, and it is working.
if you set RAIL_ENV=production, you may also need to set REDIS_NAMESPACE=<custom_namespace>.

from scalelite.

JGallot avatar JGallot commented on August 12, 2024

I've made this but it doesn't work.
./bin/rake servers:add[https://kbbb3-calc.unicaen.fr/bigbluebutton/api,XXXXX] RAIL_ENV=production REDIS_NAMESPACE=scalelite_production
but it continues to populate scalelite_development keys

from scalelite.

JGallot avatar JGallot commented on August 12, 2024

ok shame on me ... env vars must before the tasks...

from scalelite.

JGallot avatar JGallot commented on August 12, 2024

Ok it works for me now
thanks

from scalelite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.