Hi,
I have a Synology DS720+ on which I run Docker.
A long time ago I had installed Paperless-NGX via a Youtube video. Additionally with “redis”, “gotenberg” and “tika”. Since today it no longer works. I have no idea why.
I had added this as a stack in Portainer. Now when I want to re-deploy the stack, Portainer shows me the following error message:
Type: Error
Title: Failure
Dettails: Failed to deploy a stack: time=“2025-01-26T15:47:17Z” level=warning msg="/data/compose/1/docker-compose. yml: the attributeversion
is obsolete, it will be ignored, please remove it to avoid potential confusion” Network paperlessngx-1_default Creating Network paperlessngx-1_default Created Container paperlessngx-1-broker-1 Creating Container paperlessngx-1-gotenberg-1 Creating Container paperlessngx-1-tika-1 Creating Container paperlessngx-1-tika-1 Created Container paperlessngx-1-gotenberg-1 Created Container paperlessngx-1-broker-1 Created Container paperlessngx- 1-webserver-1 Creating Container paperlessngx-1-webserver-1 Created Container paperlessngx-1-tika-1 Starting Container paperlessngx-1-gotenberg-1 Starting Container paperlessngx-1-broker-1 Starting Container paperlessngx-1-tika-1 Started Container paperlessngx-1-broker-1 Started Container paperlessngx-1-webserver-1 Starting Container paperlessngx-1-gotenberg-1 Started Error response from daemon: driver failed programming external connectivity on endpoint paperlessngx-1-webserver-1 (4fc5cf47219fc23ce95ea4772f63de469e7f6e0a3e78cc4e4adba7ac11cc0108): Bind for 0.0.0.0:8810 failed: port is already allocated
This is what my stack looks like:
version: “3.4”
services:
broker:
image: docker.io/library/redis:7
restart: unless-stopped
volumes:
- /volume1/docker/paperless-ngx/redisdata:/data
webserver:
image: ghcr.io/paperless-ngx/paperless-ngx:latest
restart: unless-stopped
depends_on:
- broker
ports:
- 8810:8000
healthcheck:
test: [“CMD”, “curl”, “-fs”, “-S”, “--max-time”, “2”, “http://localhost:8000”]
interval: 30s
timeout: 10s
retries: 5
volumes:
- /volume1/docker/paperless-ngx/data:/usr/src/paperless/data
- /volume1/docker/paperless-ngx/media:/usr/src/paperless/media
- /volume1/docker/paperless-ngx/export:/usr/src/paperless/export
- /volume1/docker/paperless-ngx/consume:/usr/src/paperless/consume
# - /volume1/paperlessngxincoming:/usr/src/paperless/consume
environment:
PAPERLESS_REDIS: redis://broker:6379
PAPERLESS_SECRET_KEY: I want to be the best!
PAPERLESS_ADMIN_USER: ******
PAPERLESS_ADMIN_PASSWORD: ******
PAPERLESS_OCR_LANGUAGE: deu+eng
PAPERLESS_CONSUMER_DELETE_DUPLICATES: true
PAPERLESS_FILENAME_FORMAT: '{correspondent}/{created_year}/{created_month}/{title}'
PAPERLESS_OCR_USER_ARGS: '{“invalidate_digital_signatures”:true}'
PAPERLESS_TIME_ZONE: Europe/Berlin
PAPERLESS_TIKA_ENABLED: 1
PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
PAPERLESS_TIKA_ENDPOINT: http://tika:9998
USERMAP_UID: 0
USERMAP_GID: 0
gotenberg:
image: docker.io/gotenberg/gotenberg:8
restart: unless-stopped
command:
- “gotenberg”
- “--chromium-disable-javascript=true”
- “--chromium-allow-list=file:///tmp/.*”
tika:
image: ghcr.io/paperless-ngx/tika:latest
restart: unless-stopped
volumes:
data:
media:
redisdata:
A few days ago I had installed “Paperless-NGX AI”. That also ran, or is still running, without any problems. At least the container.
Can someone please tell me what exactly is wrong? And above all why?
Thank you very much