• Resolved Paul Hugel

    (@paul-hugel)


    running php 8
    wordpress 6.01
    Redis Object cache Version 2.1.6
    I get an status in Object Cache X not connected and in Diagnostics I will post at bottom

    my Redis Server shows path as unix:///home/sys/redis.sock

    Did I mess up edited wp-config.php with these environment parameters

    * For developers: WordPress debugging mode.
    *
    * Change this to true to enable the display of notices during development.
    * It is strongly recommended that plugin and theme developers use WP_DEBUG
    * in their development environments.
    */
    define('WP_DEBUG', false);
    
    // Redis
    define ('WP_REDIS_CLIENT ', 'phpredis');
    define ('WP_REDIS_SCHEME', 'unix');
    define( 'WP_REDIS_PATH', 'unix:///home/sys/redis.sock' );
    define( 'WP_REDIS_PORT', 0 );
    
    /* That's all, stop editing! Happy blogging. */
    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    Redis Object Cache Diagnostics

    Status: Not connected
    Client: PhpRedis (v5.3.7)
    Drop-in: Valid
    Disabled: No
    Ping: 
    Connection Exception: No such file or directory (RedisException)
    Errors: [
        "No such file or directory"
    ]
    PhpRedis: 5.3.7
    Relay: Not loaded
    Predis: Not loaded
    Credis: Not loaded
    PHP Version: 8.0.20
    Plugin Version: 2.1.6
    Redis Version: Unknown
    Multisite: No
    Metrics: Disabled
    Metrics recorded: null
    Filesystem: Working
    Global Prefix: "wpellen"
    Blog Prefix: "wpellen"
    WP_REDIS_SCHEME: "unix"
    WP_REDIS_PATH: "unix:///home/sys/redis.sock"
    WP_REDIS_PORT: 0
    Global Groups: [
        "blog-details",
        "blog-id-cache",
        "blog-lookup",
        "global-posts",
        "networks",
        "rss",
        "sites",
        "site-details",
        "site-lookup",
        "site-options",
        "site-transient",
        "users",
        "useremail",
        "userlogins",
        "usermeta",
        "user_meta",
        "userslugs",
        "redis-cache"
    ]
    Ignored Groups: [
        "counts",
        "plugins",
        "themes",
        "blog-details",
        "blog-id-cache",
        "blog-lookup",
        "global-posts",
        "networks",
        "rss",
        "sites",
        "site-details",
        "site-lookup",
        "site-options",
        "site-transient",
        "users",
        "useremail",
        "userlogins",
        "usermeta",
        "user_meta",
        "userslugs",
        "redis-cache",
        "blog_meta"
    ]
    Unflushable Groups: []
    Groups Types: {
        "blog-details": "ignored",
        "blog-id-cache": "ignored",
        "blog-lookup": "ignored",
        "global-posts": "ignored",
        "networks": "ignored",
        "rss": "ignored",
        "sites": "ignored",
        "site-details": "ignored",
        "site-lookup": "ignored",
        "site-options": "ignored",
        "site-transient": "ignored",
        "users": "ignored",
        "useremail": "ignored",
        "userlogins": "ignored",
        "usermeta": "ignored",
        "user_meta": "ignored",
        "userslugs": "ignored",
        "redis-cache": "ignored",
        "counts": "ignored",
        "plugins": "ignored",
        "themes": "ignored",
        "blog_meta": "ignored"
    }
    Drop-ins: [
        "Redis Object Cache Drop-In v2.1.6 by Till Krüss"
    ]

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    unix:///home/sys/redis.sock does not exist, or is not accessible by your PHP process.

    Thread Starter Paul Hugel

    (@paul-hugel)

    I edited the path changed it to this and now it works

    // Redis
    define(‘WP_REDIS_SCHEME’, ‘unix’);
    define(‘WP_REDIS_PATH’, ‘/home/sys/redis.sock’ );

    Output from Diagnostics

    Status: Connected
    Client: PhpRedis (v5.3.7)
    Drop-in: Valid
    Disabled: No
    Ping: 1
    Errors: []
    PhpRedis: 5.3.7
    Relay: Not loaded
    Predis: Not loaded
    Credis: Not loaded
    PHP Version: 8.0.20
    Plugin Version: 2.1.6
    Redis Version: 4.0.1
    Multisite: No
    Metrics: Enabled
    Metrics recorded: 3
    Filesystem: Working
    Global Prefix: "wpellen"
    Blog Prefix: "wpellen"
    WP_REDIS_SCHEME: "unix"
    WP_REDIS_PATH: "/home/sys/redis.sock"
    Global Groups: [
        "blog-details",
        "blog-id-cache",
        "blog-lookup",
        "global-posts",
        "networks",
        "rss",
        "sites",
        "site-details",
        "site-lookup",
        "site-options",
        "site-transient",
        "users",
        "useremail",
        "userlogins",
        "usermeta",
        "user_meta",
        "userslugs",
        "redis-cache",
        "blog_meta"
    ]
    Ignored Groups: [
        "counts",
        "plugins",
        "themes"
    ]
    Unflushable Groups: []
    Groups Types: {
        "blog-details": "global",
        "blog-id-cache": "global",
        "blog-lookup": "global",
        "global-posts": "global",
        "networks": "global",
        "rss": "global",
        "sites": "global",
        "site-details": "global",
        "site-lookup": "global",
        "site-options": "global",
        "site-transient": "global",
        "users": "global",
        "useremail": "global",
        "userlogins": "global",
        "usermeta": "global",
        "user_meta": "global",
        "userslugs": "global",
        "redis-cache": "global",
        "counts": "ignored",
        "plugins": "ignored",
        "themes": "ignored",
        "blog_meta": "global"
    }
    Drop-ins: [
        "Redis Object Cache Drop-In v2.1.6 by Till Krüss"
    ]
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Connection Exception: No such file or directory’ is closed to new replies.