• Resolved giannisgx89

    (@giannisgx89)


    Hello! I recently installed and enabled Redis Object Cache on my website, and a couple of days later I suddenly couldn’t log in to my admin panel.

    I was getting this message:
    “Error establishing connection. To disable Redis, delete the object-cache.php file in the /wp-content/ directory.”

    Once I deleted the object-cache.php file, I was able to log in normally again, and the plugin was automatically disabled.

    Do you know what might have caused this issue, and how I can prevent it from happening in the future?

    Just to mention: I have changed the default login URL from /wp-admin to a custom one using Solid Security Pro.

    Aside from this problem, the plugin really boosted my website’s performance!

    Edit: After I tried to re-enable the plugin I now get this new error message:

    Error establishing a Redis connection

    MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

    WordPress is unable to establish a connection to Redis. This means that the connection information in your wp-config.php file are incorrect, or that the Redis server is not reachable.

    • Is the correct Redis host and port set?
    • Is the Redis server running?

    If you need help, please read the installation instructions.

    To disable Redis, delete the object-cache.php file in the /wp-content/ directory.

    Best regards,
    Ioannis Chionidis

    • This topic was modified 1 month, 2 weeks ago by giannisgx89.
Viewing 1 replies (of 1 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    I recommend disabling all persistence in Redis Server, it’s not needed.

    Use a tool like supervisord to ensure that Redis Server is always up and running.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.