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

docker-entrypoint.sh - Path Unknown #671

Open
SkyLostTR opened this issue Apr 4, 2024 · 2 comments
Open

docker-entrypoint.sh - Path Unknown #671

SkyLostTR opened this issue Apr 4, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@SkyLostTR
Copy link

SkyLostTR commented Apr 4, 2024

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
@meltyshev meltyshev added the help wanted Extra attention is needed label Apr 5, 2024
@HannesOberreiter
Copy link
Contributor

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants