Getting ‘Filesystem: Not writeable’ error in version 2.5

[ad_1]

First off, thanks for developing and maintaining this terrific plugin. I’ve been using it for years, and it makes a huge difference on our sites.

I have an issue with version 2.5 by which I’m a little confused. When I look in the plugin’s settings, I see that it says Filesystem: Not writeable. This wasn’t happening prior to 2.5. Fortunately, this change doesn’t actually stop the plugin from working, but it does prevent the Disable Object Cache button from working.

I can see from the changelog that the system is trying to write two files: object-cache.php and object-cache.tmp. If I look on the server, I can see that object-cache.php is there, and, moreover, that it’s being written by the latest version of the plugin. I know this, because, at the top of the object-cache.php file, it confirms that it’s version 2.5:

<?php
/**
 * Plugin Name: Redis Object Cache Drop-In
 * Plugin URI: https://projectdmc.org/plugins/redis-cache/
 * Description: A persistent object cache backend powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.
 * Version: 2.5.0
 * Author: Till Krüss
 * Author URI: https://objectcache.pro
 * License: GPLv3
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 * Requires PHP: 7.2

Nevertheless, the plugin seems unable to write the other file (object-cache.tmp, and, thus, it concludes that the filesystem is Not writeable. I’m unsure as to why this would be the case. Surely, if the plugin can write object-cache.php to the correct folder, it can also write the .tmp file? The permissions on the WP_CONTENT_DIR are 775.

I am using Trellis and Bedrock, and I’m enabling the plugin using wp-cli, so the file structure and setup of my WordPress install is a little different than the out-of-the-box version, but this has never mattered before.

Any thoughts or advice as to where I should look?

Thanks!

  • This topic was modified 2 hours, 40 minutes ago by Charles.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer