dockge icon indicating copy to clipboard operation
dockge copied to clipboard

paperless-ngx: running stack is shown as inactive

Open JarlMorgennebel opened this issue 10 months ago • 10 comments

⚠️ Please verify that this bug has NOT been reported before.

  • [X] I checked and didn't find similar issue

🛡️ Security Policy

Description

paperless-ngx is up and running fine. DockGE reports the stack as inactive, even when restarted from command line.

root@wyse-5070-wan-docker:/opt/stacks/paperless-ngx# cat compose.yml 
version: "3.4"
services:
  broker:
    image: docker.io/library/redis:6.0
    restart: unless-stopped
    volumes:
      - ./redis_data:/data

  db:
    image: docker.io/library/postgres:13
    restart: unless-stopped
    volumes:
      - ./postgres_data:/var/lib/postgresql/data
    environment:
      POSTGRES_DB: paperless
      POSTGRES_USER: paperless
      POSTGRES_PASSWORD: paperless

  webserver:
    image: ghcr.io/paperless-ngx/paperless-ngx:latest
    restart: unless-stopped
    depends_on:
      - db
      - broker
      - gotenberg
      - tika
    ports:
      - 8000:8000
        #    healthcheck:
        #      test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"]
        #      interval: 30s
        #      timeout: 10s
        #      retries: 5
    volumes:
      - ./paperless_data:/usr/src/paperless/data
      - ./paperless_media:/usr/src/paperless/media
      - ./paperless_export:/usr/src/paperless/export
      - ./paperless_consume:/usr/src/paperless/consume
    env_file: docker-compose.env
    environment:
      PAPERLESS_REDIS: redis://broker:6379
      PAPERLESS_DBHOST: db
      PAPERLESS_TIKA_ENABLED: 1
      PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
      PAPERLESS_TIKA_ENDPOINT: http://tika:9998

  gotenberg:
    image: docker.io/gotenberg/gotenberg:7.4
    restart: unless-stopped
    command:
      - "gotenberg"
      - "--chromium-disable-routes=true"

  tika:
    image: ghcr.io/paperless-ngx/tika:latest
    restart: unless-stopped

volumes:
  paperless_data:
  paperless_media:
  postgres_dataa:
  redis_data:

👟 Reproduction steps

docker-compose up -d Wait 60 secs

👀 Expected behavior

Stack status shown as active as all other stacks

😓 Actual Behavior

Stack status shown as inactive as only exception

Dockge Version

1.4.2

💻 Operating System and Arch

Devuan Daedalus (Debian without systemd)

🌐 Browser

Vivaldi

🐋 Docker Version

docker 20.10.24+dfsg1

🟩 NodeJS Version

No response

📝 Relevant log output

root@wyse-5070-wan-docker:/opt/stacks/paperless-ngx# docker ps | grep paper
03d2cd7586e9   ghcr.io/paperless-ngx/paperless-ngx:latest   "/sbin/docker-entryp…"   15 minutes ago   Up 15 minutes (healthy)   0.0.0.0:8000->8000/tcp                        paperless_webserver_1
2a1dde83983a   ghcr.io/paperless-ngx/tika:latest            "/bin/sh -c 'exec ja…"   15 minutes ago   Up 15 minutes             9998/tcp                                      paperless_tika_1
45fe588780d1   postgres:13                                  "docker-entrypoint.s…"   15 minutes ago   Up 15 minutes             5432/tcp                                      paperless_db_1
424cd693d10c   redis:6.0                                    "docker-entrypoint.s…"   15 minutes ago   Up 15 minutes             6379/tcp                                      paperless_broker_1
c0f45ce8ced7   gotenberg/gotenberg:7.4                      "/usr/bin/tini -- go…"   15 minutes ago   Up 15 minutes             3000/tcp                                      paperless_gotenberg_1

JarlMorgennebel avatar Apr 01 '24 10:04 JarlMorgennebel

Bildschirmfoto 2024-04-01 um 12 20 23

JarlMorgennebel avatar Apr 01 '24 10:04 JarlMorgennebel

Have you tried without the version: "3.4" line? It has been removed from compose anyways.

djismgaming avatar Apr 02 '24 00:04 djismgaming

I have the same problem, removing the version line does not fix it. I also see a "paperless" stack active, but not managed by dockge (and I have no other paperless stack): Screenshot 2024-04-06 at 22 56 54

pusi77 avatar Apr 06 '24 21:04 pusi77

Same here.

No change on the version-line, seeing an additional paperless stack which changes status as well.

JarlMorgennebel avatar Apr 07 '24 08:04 JarlMorgennebel

Not an issue here

truthsword avatar Apr 09 '24 15:04 truthsword

Is this paperless or Paperless-ngx?

⁣BlueMail for Android herunterladen ​

Am 9. Apr. 2024, 17:28, um 17:28, truthsword @.***> schrieb:

Not an issue here

-- Reply to this email directly or view it on GitHub: https://github.com/louislam/dockge/issues/474#issuecomment-2045482426 You are receiving this because you authored the thread.

Message ID: @.***>

JarlMorgennebel avatar Apr 09 '24 18:04 JarlMorgennebel

Is this paperless or Paperless-ngx?

ngx ... same as the thread

Your compose file seems off. Maybe that's the source of your issue.

truthsword avatar Apr 09 '24 18:04 truthsword

I changed the name in the .env file COMPOSE_PROJECT_NAME=paperless in my docker-compose folder from paperless to paperless-ngx (thats the name of my container in the docker-compose.yml). After deleting the containers and new docker compose up -d its fine now in dockge!

xtr3-m3 avatar Apr 10 '24 19:04 xtr3-m3

Just FYI... but you have other issues ... for some reason you have defined docker volumes (which aren't used) while you also have defined bind mount volumes. You also have a type on a docker volume, but as that presumably is not used, it is just noise. A check of your compose file using docker compose config should have flagged these things. Good luck.

truthsword avatar Apr 10 '24 19:04 truthsword

Yes , i had unused docker volumes. I removed them now and reverted the .env back to paperless and created new containers. Same Output with the inactive paperless-ngx in dockge. I changed it back to paperless-ngx in the .env and its now working again. At least i have a cleaner compose file now..

xtr3-m3 avatar Apr 10 '24 19:04 xtr3-m3