Error: Error 111 connecting to broker:6379

Hallo, ich bekomme Paperless einfach nicht zum Laufen. Ich habe Portainer auf einer Synology installiert. Ich habe bereits derart viele Konstellationen versucht, dass ich den Überblick verloren habe. Falsche oder fehlende Berechtigung dürfte ein Problem sein. Nur wo ist das zu korrigieren?

Yaml-Code:

Auszug Paperless Container-Log:

Waiting 5s
Failed to connect to redis using environment variable PAPERLESS_REDIS.
Paperless-ngx docker container starting…
Creating directory scratch directory /tmp/paperless
Adjusting permissions of paperless files. This may take a while.
Waiting for Redis…
Redis ping #0 failed.
Error: Error 113 connecting to broker:6379. No route to host…
Waiting 5s
Redis ping #1 failed.
Error: Error -5 connecting to broker:6379. No address associated with hostname…
Waiting 5s

Auszug Redis Container-Log

1:C 18 Feb 2025 16:59:34.382 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 18 Feb 2025 16:59:34.382 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
1:M 18 Feb 2025 16:59:34.382 * monotonic clock: POSIX clock_gettime
1:M 18 Feb 2025 16:59:34.383 * Running mode=standalone, port=6379.
1:M 18 Feb 2025 16:59:34.383 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
1:M 18 Feb 2025 16:59:34.383 * Server initialized
1:M 18 Feb 2025 16:59:34.384 # Fatal error: can’t open the RDB file dump.rdb for reading: Permission denied
1:M 18 Feb 2025 16:59:34.384 # Fatal error loading the DB, check server logs. Exiting.
1:C 18 Feb 2025 17:00:40.416 # 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 vm.max_map_count growing steadily when vm.overcommit_memory is 2 · Issue #1328 · jemalloc/jemalloc · GitHub. 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.
1:C 18 Feb 2025 17:00:40.416 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 18 Feb 2025 17:00:40.416 * Redis version=7.4.2, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 18 Feb 2025 17:00:40.416 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
1:M 18 Feb 2025 17:00:40.416 * monotonic clock: POSIX clock_gettime
1:M 18 Feb 2025 17:00:40.417 * Running mode=standalone, port=6379.
1:M 18 Feb 2025 17:00:40.417 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
1:M 18 Feb 2025 17:00:40.418 * Server initialized
1:M 18 Feb 2025 17:00:40.418 # Fatal error: can’t open the RDB file dump.rdb for reading: Permission denied
1:M 18 Feb 2025 17:00:40.418 # Fatal error loading the DB, check server logs. Exiting.

Ich würde sagen, das etwas mit Deiner IP Zuordnung über Portainer nicht passt oder die Firewall den Port 6379 blockt. Hast du mal in den Firewall Einstellungen geschaut?

Ich selber nutzte Portainer noch nicht. Vielleicht ist dort etwas falsch adressiert worden.

Portainer hat einen anderen Port wie Paperless, passt.

Würde auch erst mal die Firewall deaktivieren, vor allem wenn dort auch IP Adressen von Paperless hinterlegt sind.

Nun läuft es - was genau der Fehler war: keine Ahnung.

Kurz erklärt, wie ich vorgegangen bin:

  1. Portainer nach dieser Anleitung neu installiert: Synology: 30 Second Portainer Install Using Task Scheduler & Docker – Marius Hosting
  2. Die Verzeichnisse in der Synology neu unter /docker angelegt - wie hier beschrieben: How to Install Paperless NGX on Your Synology NAS – Marius Hosting