Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paperless-ngx: running stack is shown as inactive #474

Open
2 tasks done
JarlMorgennebel opened this issue Apr 1, 2024 · 10 comments
Open
2 tasks done

paperless-ngx: running stack is shown as inactive #474

JarlMorgennebel opened this issue Apr 1, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@JarlMorgennebel
Copy link

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

  • 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 JarlMorgennebel added the bug Something isn't working label Apr 1, 2024
@JarlMorgennebel
Copy link
Author

Bildschirmfoto 2024-04-01 um 12 20 23

@djismgaming
Copy link
Contributor

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

@pusi77
Copy link

pusi77 commented Apr 6, 2024

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

@JarlMorgennebel
Copy link
Author

Same here.

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

@truthsword
Copy link

Not an issue here

@JarlMorgennebel
Copy link
Author

JarlMorgennebel commented Apr 9, 2024 via email

@truthsword
Copy link

truthsword commented Apr 9, 2024

Is this paperless or Paperless-ngx?

ngx ... same as the thread

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

@xtr3-m3
Copy link

xtr3-m3 commented Apr 10, 2024

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!

@truthsword
Copy link

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.

@xtr3-m3
Copy link

xtr3-m3 commented Apr 10, 2024

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants