Skip to content
Discussion options

You must be logged in to vote

2025-09-19 17:08:06 info: ioredis client ready

Are you using Redis in your setup? You will need to flush the cache when making changes to librechat.yaml

Here's a quick script you can run:

const redis = require('redis');
const dotenv = require('dotenv');
dotenv.config();

async function flushCache() {
  const cacheConnection = redis.createClient({
    url: process.env.REDIS_URI, // REPLACE WITH REDIS_URI OR USE MAKE ENVIRONMENT AVAILABLE
  });

  // Connect to Redis
  await cacheConnection.connect();

  console.log('\nFlushing cache...');
  const result = await cacheConnection.flushAll();
  console.log('Cache flush result: ' + result);

  // Disconnect
  cacheConnection.disconnect();

  r…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@jsapede
Comment options

Answer selected by jsapede
Comment options

You must be logged in to vote
3 replies
@danny-avila
Comment options

@jsapede
Comment options

@larryb821
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #9724 on September 19, 2025 17:15.