Generation crashing in docker #35

Closed
opened 2026-02-15 19:15:21 -05:00 by yindo · 1 comment
Owner

Originally created by @leonardpauli on GitHub (Aug 13, 2024).

As per the readme:

docker run \
  --rm \
  -v $(pwd)/.env:/app/.env \
  -v $(pwd)/config:/app/config \
  -v $(pwd)/data:/app/data \
  -v $(pwd)/storage:/app/storage \
  hacknight \
  poetry run generate

crashed after a while at SimpleDocumentStore.from_persist_dir(STORAGE_DIR) in backend/app/engine/generate.py

removing the -v $(pwd)/storage:/app/storage made it work (but obviously not persisting)

(not reproducing now, but posting issue on request from the event!)

Originally created by @leonardpauli on GitHub (Aug 13, 2024). As per the readme: ``` docker run \ --rm \ -v $(pwd)/.env:/app/.env \ -v $(pwd)/config:/app/config \ -v $(pwd)/data:/app/data \ -v $(pwd)/storage:/app/storage \ hacknight \ poetry run generate ``` crashed after a while at `SimpleDocumentStore.from_persist_dir(STORAGE_DIR)` in backend/app/engine/generate.py removing the `-v $(pwd)/storage:/app/storage` made it work (but obviously not persisting) (not reproducing now, but posting issue on request from the event!)
yindo closed this issue 2026-02-15 19:15:21 -05:00
Author
Owner

@marcusschiesser commented on GitHub (Aug 18, 2024):

@leonardpauli, did it work in the end? This kind of error might be related to Docker being unable to mount the volume due to file system restrictions

@marcusschiesser commented on GitHub (Aug 18, 2024): @leonardpauli, did it work in the end? This kind of error might be related to Docker being unable to mount the volume due to file system restrictions
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#35