Skip to content

Instantly share code, notes, and snippets.

@barbietunnie
Created September 6, 2023 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barbietunnie/beafd69b17b68668da893cdfaaacea4e to your computer and use it in GitHub Desktop.
Save barbietunnie/beafd69b17b68668da893cdfaaacea4e to your computer and use it in GitHub Desktop.
How to resolve MISCONF Redis is configured to save RDB snapshots error

How to resolve MISCONF Redis is configured to save RDB snapshots error

The error "MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error" occurs when Redis tries to save the database in the background but fails.

One of the scenarios where it's known to happen is when redis was recently upgraded by homebrew.

To resolve the issue, ssimply restart your redis instance:

  • On Mac:

    brew services restart redis
    
    redis-server
    
  • On Linux:

    sudo service redis restart
    sudo systemctl restart redis
    
    sudo service redis-server restart
    sudo systemctl restart redis-server.service
    

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment