Skip to content

[BUG] Redis connection fails with 1.14 with: 'UnixDomainSocketConnection' object has no attribute 'socket_timeout' #3173

@ThxAndBye

Description

@ThxAndBye

Description

Upgrading from Paperles-NGX 1.13 to 1.14 causes the Redis connection via a UNIX-Socket to fail with the following error message:
Error: 'UnixDomainSocketConnection' object has no attribute 'socket_timeout'.

I'm running Paperless-NGX via the official Docker image: ghcr.io/paperless-ngx/paperless-ngx

Steps to reproduce

  1. Setup Paperless-NGX with the Docker image ghcr.io/paperless-ngx/paperless-ngx:1.13
  2. Configure Redis via a UNIX socket with the PAPERLESS_REDIS environment variable (e.g. unix:///run/redis/redis.sock)
  3. Upgrade to the 1.14 image

Webserver logs

Paperless-ngx docker container starting...
Creating directory /tmp/paperless
Adjusting permissions of paperless files. This may take a while.
Waiting for Redis...
Redis ping #0 failed.
Error: 'UnixDomainSocketConnection' object has no attribute 'socket_timeout'.
Waiting 5s
Redis ping #1 failed.
Error: 'UnixDomainSocketConnection' object has no attribute 'socket_timeout'.
Waiting 5s
Redis ping #2 failed.
Error: 'UnixDomainSocketConnection' object has no attribute 'socket_timeout'.
Waiting 5s
Redis ping #3 failed.
Error: 'UnixDomainSocketConnection' object has no attribute 'socket_timeout'.
Waiting 5s
Redis ping #4 failed.
Error: 'UnixDomainSocketConnection' object has no attribute 'socket_timeout'.
Waiting 5s
Failed to connect to redis using environment variable PAPERLESS_REDIS.

Browser logs

No response

Paperless-ngx version

1.14

Host OS

UnRAID 6.11.5

Installation method

Docker - official image

Browser

No response

Configuration changes

No response

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions