Skip to content

Entrypoint crashes on fresh deploy — unguarded mkdir under set -e #2

Description

@rmdevpro

Description

Fresh deploy from git clone + docker compose up causes the langgraph container to crash-loop.

Reproduction

  1. Clone the repo to a new path
  2. COMPOSE_FILE=docker-compose.claude-test.yml docker compose -p claude-test up -d
  3. Langgraph container enters restart loop

Observed behavior

entrypoint.sh line 100: mkdir -p /data/downloads fails because Docker Compose creates the data-test/ bind mount directory as root. The container runs as UID 1000. With set -e, the script exits before reaching exec uvicorn.

Line 14 has the same mkdir with 2>/dev/null || true — line 100 does not.

Expected behavior

Stack deploys cleanly from a fresh git pull without manual permission fixing.

Severity

Blocker — prevents deployment.


Migrated from jmorrissette-RMDC/context-broker

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions