Issue with the Redis client
-
Hi! https://github.com/pixelfed/pixelfed/issues/6560 — we've run into this problem too.
-
Hello @iahonta1964
Is your redis service down for your pixelfed app?
As I understand the linked GitHub issue, the suggestion solution would be to install phpredis https://github.com/phpredis/phpredis/blob/develop/INSTALL.md and setREDIS_CLIENT=phpredisin the pixelfed.envfile.I will have to reproduce this issue first and then test if this is indeed a solution.
-
Hello @iahonta1964
Is your redis service down for your pixelfed app?
As I understand the linked GitHub issue, the suggestion solution would be to install phpredis https://github.com/phpredis/phpredis/blob/develop/INSTALL.md and setREDIS_CLIENT=phpredisin the pixelfed.envfile.I will have to reproduce this issue first and then test if this is indeed a solution.
Redis log:
2026-04-07T06:05:59Z ==> Starting supervisor 2026-04-07T06:06:02Z 2026-04-07 06:06:02,348 INFO Included extra file "/etc/supervisor/conf.d/redis-service.conf" during parsing 2026-04-07T06:06:02Z 2026-04-07 06:06:02,351 INFO Included extra file "/etc/supervisor/conf.d/redis.conf" during parsing 2026-04-07T06:06:02Z 2026-04-07 06:06:02,351 INFO Set uid to user 0 succeeded 2026-04-07T06:06:02Z 2026-04-07 06:06:02,396 INFO RPC interface 'supervisor' initialized 2026-04-07T06:06:02Z 2026-04-07 06:06:02,396 CRIT Server 'inet_http_server' running without any HTTP authentication checking 2026-04-07T06:06:02Z 2026-04-07 06:06:02,396 INFO supervisord started with pid 1 2026-04-07T06:06:03Z 2026-04-07 06:06:03,401 INFO spawned: 'redis' with pid 13 2026-04-07T06:06:03Z 2026-04-07 06:06:03,419 INFO spawned: 'redis-service' with pid 14 2026-04-07T06:06:03Z 13:C 07 Apr 2026 06:06:03.622 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. 2026-04-07T06:06:03Z 13:C 07 Apr 2026 06:06:03.623 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 2026-04-07T06:06:03Z 13:C 07 Apr 2026 06:06:03.635 * Redis version=8.4.0, bits=64, commit=00000000, modified=1, pid=13, just started 2026-04-07T06:06:03Z 13:C 07 Apr 2026 06:06:03.635 * Configuration loaded 2026-04-07T06:06:03Z 13:M 07 Apr 2026 06:06:03.638 * Increased maximum number of open files to 10032 (it was originally set to 1024). 2026-04-07T06:06:03Z 13:M 07 Apr 2026 06:06:03.638 * monotonic clock: POSIX clock_gettime 2026-04-07T06:06:03Z 13:M 07 Apr 2026 06:06:03.667 # Failed to write PID file: Permission denied 2026-04-07T06:06:03Z 13:M 07 Apr 2026 06:06:03.667 * Running mode=standalone, port=6379. 2026-04-07T06:06:03Z 13:M 07 Apr 2026 06:06:03.670 * Server initialized 2026-04-07T06:06:03Z 13:M 07 Apr 2026 06:06:03.678 * Loading RDB produced by version 8.4.0 2026-04-07T06:06:03Z 13:M 07 Apr 2026 06:06:03.678 * RDB age 1889 seconds 2026-04-07T06:06:03Z 13:M 07 Apr 2026 06:06:03.678 * RDB memory usage when created 0.64 Mb 2026-04-07T06:06:03Z 13:M 07 Apr 2026 06:06:03.679 * Done loading RDB, keys loaded: 5, keys expired: 0. 2026-04-07T06:06:03Z 13:M 07 Apr 2026 06:06:03.679 * DB loaded from disk: 0.009 seconds 2026-04-07T06:06:03Z 13:M 07 Apr 2026 06:06:03.679 * Ready to accept connections tcp 2026-04-07T06:06:04Z 2026-04-07 06:06:04,690 INFO success: redis entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2026-04-07T06:06:04Z 2026-04-07 06:06:04,690 INFO success: redis-service entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2026-04-07T06:06:07Z Redis service endpoint listening on http://:::3000Pixelfed log:
2026-04-05T11:55:00Z 172.18.0.1 - - [05/Apr/2026:11:55:00 +0000] "GET / HTTP/1.1" 200 6360 "-" "Mozilla (CloudronHealth)" 2026-04-05T11:55:01Z ==> Running schduler 2026-04-05T11:55:02Z 2026-04-05 11:55:02 Running ['artisan' horizon:snapshot] ..... 854.28ms DONE 2026-04-05T11:55:02Z ⇂ '/usr/bin/php8.3' 'artisan' horizon:snapshot > '/dev/null' 2>&1 2026-04-05T11:55:03Z 2026-04-05 11:55:02 Running ['artisan' story:gc] ............. 625.08ms DONE 2026-04-05T11:55:03Z ⇂ '/usr/bin/php8.3' 'artisan' story:gc > '/dev/null' 2>&1 2026-04-05T12:05:48Z ==> Creating caches 2026-04-05T12:05:48Z ==> Starting supervisor 2026-04-05T12:05:52Z 2026-04-05 12:05:52,143 INFO Included extra file "/etc/supervisor/conf.d/redis-service.conf" during parsing 2026-04-05T12:05:52Z 2026-04-05 12:05:52,163 INFO Included extra file "/etc/supervisor/conf.d/redis.conf" during parsing 2026-04-05T12:05:52Z 2026-04-05 12:05:52,163 INFO Set uid to user 0 succeeded 2026-04-05T12:05:52Z 2026-04-05 12:05:52,218 CRIT Server 'inet_http_server' running without any HTTP authentication checking 2026-04-05T12:05:52Z 2026-04-05 12:05:52,218 INFO RPC interface 'supervisor' initialized 2026-04-05T12:05:52Z 2026-04-05 12:05:52,218 INFO supervisord started with pid 1 2026-04-05T12:05:53Z 13:C 05 Apr 2026 12:05:53.463 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. 2026-04-05T12:05:53Z 13:C 05 Apr 2026 12:05:53.463 * Configuration loaded 2026-04-05T12:05:53Z 13:C 05 Apr 2026 12:05:53.463 * Redis version=8.4.0, bits=64, commit=00000000, modified=1, pid=13, just started 2026-04-05T12:05:53Z 13:C 05 Apr 2026 12:05:53.463 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo 2026-04-05T12:05:53Z 13:M 05 Apr 2026 12:05:53.469 * Increased maximum number of open files to 10032 (it was originally set to 1024). 2026-04-05T12:05:53Z 13:M 05 Apr 2026 12:05:53.469 * monotonic clock: POSIX clock_gettime 2026-04-05T12:05:53Z 13:M 05 Apr 2026 12:05:53.522 # Failed to write PID file: Permission denied 2026-04-05T12:05:53Z 13:M 05 Apr 2026 12:05:53.522 * Running mode=standalone, port=6379. 2026-04-05T12:05:53Z 13:M 05 Apr 2026 12:05:53.532 * Server initialized 2026-04-05T12:05:53Z 13:M 05 Apr 2026 12:05:53.547 * Loading RDB produced by version 8.4.0 2026-04-05T12:05:53Z 13:M 05 Apr 2026 12:05:53.547 * RDB age 857 seconds 2026-04-05T12:05:53Z 13:M 05 Apr 2026 12:05:53.547 * RDB memory usage when created 94.68 Mb 2026-04-05T12:05:53Z 2026-04-05 12:05:53,231 INFO spawned: 'redis' with pid 13 2026-04-05T12:05:53Z 2026-04-05 12:05:53,242 INFO spawned: 'redis-service' with pid 14 2026-04-05T12:05:54Z 2026-04-05 12:05:54,550 INFO success: redis entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2026-04-05T12:05:54Z 2026-04-05 12:05:54,562 INFO success: redis-service entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2026-04-05T12:05:58Z 2026-04-05T12:05:58Z 2026-04-05T12:05:58Z [37;44m INFO [39;49m Configuration cached successfully. 2026-04-05T12:06:00Z Redis service endpoint listening on http://:::3000 2026-04-05T12:06:01Z 2026-04-05T12:06:01Z 2026-04-05T12:06:01Z 2026-04-05T12:06:01Z 2026-04-05T12:06:01Z 2026-04-05T12:06:01Z 2026-04-05T12:06:01Z [2m+19 vendor frames [22m 2026-04-05T12:06:01Z [31;1m ➜ [0m[3;1m435[0m[90m▕ [0m[35;1m throw new [0m[39;1mServerException[0m[35;1m([0m[39;1m$response[0m[35;1m->[0m[39;1mgetMessage[0m[35;1m());[0m 2026-04-05T12:06:01Z [33m20 [39m[39;1martisan[39;22m:[39;1m35[39;22m 2026-04-05T12:06:01Z [39;1m LOADING Redis is loading the dataset in memory[39;22m 2026-04-05T12:06:01Z [41;1m Predis\Response\ServerException [49;22m 2026-04-05T12:06:01Z [90m Illuminate\Foundation\Console\Kernel::handle()[39m 2026-04-05T12:06:01Z [90m431[0m[90m▕ [0m[35;1m return [0m[39;1m$response[0m[35;1m;[0m 2026-04-05T12:06:01Z [90m432[0m[90m▕ [0m[35;1m }[0m 2026-04-05T12:06:01Z [90m433[0m[90m▕ [0m 2026-04-05T12:06:01Z [90m434[0m[90m▕ [0m[35;1m if ([0m[39;1m$this[0m[35;1m->[0m[39;1moptions[0m[35;1m->[0m[39;1mexceptions[0m[35;1m) {[0m 2026-04-05T12:06:01Z [90m436[0m[90m▕ [0m[35;1m }[0m 2026-04-05T12:06:01Z [90m437[0m[90m▕ [0m 2026-04-05T12:06:01Z [90m438[0m[90m▕ [0m[35;1m return [0m[39;1m$response[0m[35;1m;[0m 2026-04-05T12:06:01Z [90m439[0m[90m▕ [0m[35;1m }[0m 2026-04-05T12:06:01Z "} 2026-04-05T12:06:01Z #0 /app/code/vendor/predis/predis/src/Client.php(400): Predis\\Client->onErrorResponse() 2026-04-05T12:06:01Z #1 /app/code/vendor/predis/predis/src/Client.php(336): Predis\\Client->executeCommand() 2026-04-05T12:06:01Z #10 /app/code/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\\Container\\BoundMethod::callBoundMethod() 2026-04-05T12:06:01Z #11 /app/code/vendor/laravel/framework/src/Illuminate/Container/Container.php(799): Illuminate\\Container\\BoundMethod::call() 2026-04-05T12:06:01Z #12 /app/code/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call() 2026-04-05T12:06:01Z #13 /app/code/vendor/symfony/console/Command/Command.php(341): Illuminate\\Console\\Command->execute() 2026-04-05T12:06:01Z #14 /app/code/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\\Component\\Console\\Command\\Command->run() 2026-04-05T12:06:01Z #15 /app/code/vendor/symfony/console/Application.php(1102): Illuminate\\Console\\Command->run() 2026-04-05T12:06:01Z #16 /app/code/vendor/symfony/console/Application.php(356): Symfony\\Component\\Console\\Application->doRunCommand() 2026-04-05T12:06:01Z #17 /app/code/vendor/symfony/console/Application.php(195): Symfony\\Component\\Console\\Application->doRun() 2026-04-05T12:06:01Z #18 /app/code/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(198): Symfony\\Component\\Console\\Application->run() 2026-04-05T12:06:01Z #19 /app/code/artisan(35): Illuminate\\Foundation\\Console\\Kernel->handle() 2026-04-05T12:06:01Z #2 /app/code/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(119): Predis\\Client->__call() 2026-04-05T12:06:01Z #20 {main} 2026-04-05T12:06:01Z #3 /app/code/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php(250): Illuminate\\Redis\\Connections\\Connection->command() 2026-04-05T12:06:01Z #4 /app/code/vendor/laravel/framework/src/Illuminate/Cache/RedisStore.php(275): Illuminate\\Redis\\Connections\\Connection->__call() 2026-04-05T12:06:01Z #5 /app/code/vendor/laravel/framework/src/Illuminate/Cache/Repository.php(962): Illuminate\\Cache\\RedisStore->flush() 2026-04-05T12:06:01Z #6 /app/code/vendor/laravel/framework/src/Illuminate/Cache/Console/ClearCommand.php(68): Illuminate\\Cache\\Repository->__call() 2026-04-05T12:06:01Z #7 /app/code/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\\Cache\\Console\\ClearCommand->handle() 2026-04-05T12:06:01Z #8 /app/code/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() 2026-04-05T12:06:01Z #9 /app/code/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\\Container\\Util::unwrapIfClosure() 2026-04-05T12:06:01Z [2026-04-05 12:06:01] production.ERROR: LOADING Redis is loading the dataset in memory {"exception":"[object] (Predis\\Response\\ServerException(code: 0): LOADING Redis is loading the dataset in memory at /app/code/vendor/predis/predis/src/Client.php:435) 2026-04-05T12:06:01Z [stacktrace] 2026-04-05T12:06:01Z at [32mvendor/predis/predis/src/Client.php[39m:[32m435[39m 2026-04-05T12:06:02Z 13:M 05 Apr 2026 12:06:02.788 * Done loading RDB, keys loaded: 245434, keys expired: 1238. 2026-04-05T12:06:02Z 13:M 05 Apr 2026 12:06:02.812 * DB loaded from disk: 9.280 seconds 2026-04-05T12:06:02Z 13:M 05 Apr 2026 12:06:02.812 * Ready to accept connections tcp 2026-04-05T12:06:02Z ==> Creating caches 2026-04-05T12:06:02Z ==> Creating directories 2026-04-05T12:06:04Z 2026-04-05T12:06:04Z 2026-04-05T12:06:04Z [37;44m INFO [39;49m Configuration cached successfully. 2026-04-05T12:06:05Z 2026-04-05T12:06:05Z 2026-04-05T12:06:05Z [37;44m INFO [39;49m Application cache cleared successfully. 2026-04-05T12:06:07Z 2026-04-05T12:06:07Z 2026-04-05T12:06:07Z [37;44m INFO [39;49m Routes cached successfully. 2026-04-05T12:06:08Z 2026-04-05T12:06:08Z 2026-04-05T12:06:08Z 2026-04-05T12:06:08Z [37;44m INFO [39;49m Blade templates cached successfully. 2026-04-05T12:06:08Z ==> Running migrations 2026-04-05T12:06:17Z 2026-04-05T12:06:17Z 2026-04-05T12:06:17Z 2026-04-05T12:06:17Z [32mStarting update...[39m 2026-04-05T12:06:17Z [37;44m INFO [39;49m Nothing to migrate. 2026-04-05T12:06:17Z ==> Updating pixelfed 2026-04-05T12:06:26Z [32mCompleted update![39m 2026-04-05T12:06:30.000Z => Healthcheck error: Error: connect ECONNREFUSED 172.18.20.213:8000 2026-04-05T12:06:34Z [32mInstance actor succesfully generated. You do not need to run this command again.[39m 2026-04-05T12:06:34Z ==> Changing ownership 2026-04-05T12:06:40.000Z => Healthcheck error: Error: connect ECONNREFUSED 172.18.20.213:8000 2026-04-05T12:06:40Z 2026-04-05 12:06:40,935 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message. 2026-04-05T12:06:40Z 2026-04-05 12:06:40,935 INFO Included extra file "/etc/supervisor/conf.d/horizon.conf" during parsing 2026-04-05T12:06:40Z 2026-04-05 12:06:40,935 INFO Included extra file "/etc/supervisor/conf.d/nginx.conf" during parsing 2026-04-05T12:06:40Z 2026-04-05 12:06:40,936 INFO Included extra file "/etc/supervisor/conf.d/php-fpm.conf" during parsing 2026-04-05T12:06:40Z ==> Starting Pixelfed 2026-04-05T12:06:40Z Unlinking stale socket /var/run/supervisor.sock 2026-04-05T12:06:41Z 2026-04-05 12:06:41,247 INFO RPC interface 'supervisor' initialized 2026-04-05T12:06:41Z 2026-04-05 12:06:41,248 CRIT Server 'unix_http_server' running without any HTTP authentication checking 2026-04-05T12:06:41Z 2026-04-05 12:06:41,249 INFO supervisord started with pid 1 2026-04-05T12:06:42Z 2026-04-05T12:06:42Z 2026-04-05T12:06:42Z 2026-04-05 12:06:42,255 INFO spawned: 'php-fpm' with pid 30 2026-04-05T12:06:42Z 2026-04-05 12:06:42,263 INFO spawned: 'nginx' with pid 31 2026-04-05T12:06:42Z 2026-04-05 12:06:42,269 INFO spawned: 'horizon' with pid 32 2026-04-05T12:06:42Z INFO Horizon started successfully. 2026-04-05T12:06:43Z 2026-04-05 12:06:43,962 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2026-04-05T12:06:43Z 2026-04-05 12:06:43,963 INFO success: horizon entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2026-04-05T12:06:43Z 2026-04-05 12:06:43,963 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2026-04-05T12:06:54Z 13:M 05 Apr 2026 12:06:54.057 * 10000 changes in 60 seconds. Saving... 2026-04-05T12:06:54Z 13:M 05 Apr 2026 12:06:54.059 * Background saving started by pid 26 2026-04-05T12:06:54Z 13:M 05 Apr 2026 12:06:54.160 * Background saving terminated with success 2026-04-05T12:06:54Z 26:C 05 Apr 2026 12:06:54.064 * BGSAVE done, 8 keys saved, 0 keys skipped, 3659 bytes written. 2026-04-05T12:06:54Z 26:C 05 Apr 2026 12:06:54.070 * DB saved on disk 2026-04-05T12:06:54Z 26:C 05 Apr 2026 12:06:54.072 * Fork CoW for RDB: current 0 MB, peak 0 MB, average 0 MB 2026-04-05T12:06:57.000Z => Healthcheck error: AbortError: The operation was aborted 2026-04-05T12:06:57Z 172.18.0.1 - - [05/Apr/2026:12:06:57 +0000] "GET / HTTP/1.1" 499 0 "-" "Mozilla (CloudronHealth)"
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login