Redis for Session Manager


#1

I’m new to node.js and rocket.chat. In starting it up I got the error

Warning: connect.session() MemoryStore is not

designed for a production environment, as it will leak

memory, and will not scale past a single process.

I Googled these issues and see that it’s related to the session manager. I followed the install for Redis at https://www.npmjs.com/package/connect-redis

npm install connect-redis express-session

Then this error popped up:

{“line”:“121”,“file”:“migrations.js”,“message”:“Migrations: Not migrating, already at version 137”,“time”:{"$date":1551036420253},“level”:“info”}

Problem for me is I don’t know where to make the code additions/changes that it says on that link. What file contains the config where I’d make this change?