plankanban / planka

The realtime kanban board for workgroups built with React and Redux.
https://planka.app
GNU Affero General Public License v3.0
8.14k stars 768 forks source link

docker-entrypoint.sh - Path Unknown #671

Open SkyLostTR opened 8 months ago

SkyLostTR commented 8 months ago

failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "docker-entrypoint.sh": executable file not found in $PATH: unknown

I am having this on arm64 Synology NAS. I guess that's a problem with the paths?

Docker-Compose:

version: '3.9'
services:
  planka:
    image: ghcr.io/plankanban/planka:latest
    container_name: Planka
    command: >
      bash -c
        "for i in `seq 1 30`; do
          ./start.sh &&
          s=$$? && break || s=$$?;
          echo \"Tried $$i times. Waiting 5 seconds...\";
          sleep 5;
        done; (exit $$s)"
    restart: on-failure:5
    volumes:
      - /volume1/docker/planka/avatars:/app/public/user-avatars
      - /volume1/docker/planka/images:/app/public/project-background-images
      - /volume1/docker/planka/files:/app/private/attachments
    ports:
      - 3617:1337
    environment:
      - BASE_URL=https://planka.XXXX
      - TRUST_PROXY=0
      - DATABASE_URL=postgresql://postgres@postgres/planka
      - SECRET_KEY=XXXXXX
      - DEFAULT_ADMIN_EMAIL=yourown@email
      - DEFAULT_ADMIN_PASSWORD=XXXX
      - DEFAULT_ADMIN_NAME=XXX
      - DEFAULT_ADMIN_USERNAME=XXXX
      - NODE_ENV=production
    depends_on:
      - postgres

  postgres:
    image: postgres
    container_name: Planka-DB
    restart: on-failure:5
    volumes:
      - /volume1/docker/planka/db:/var/lib/postgresql/data:rw
    environment:
      - POSTGRES_DB=planka
      - POSTGRES_HOST_AUTH_METHOD=trust
HannesOberreiter commented 7 months ago

Try to manually pull the docker image before starting the container docker pull ghcr.io/plankanban/planka:latest.

Additionally check whats happening if you remove your startup command.

SkyLostTR commented 7 months ago

Try to manually pull the docker image before starting the container docker pull ghcr.io/plankanban/planka:latest.

Additionally check whats happening if you remove your startup command.

Thanks for the help. I will try and update you.