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

Generation crashing in docker #231

Open
leonardpauli opened this issue Aug 14, 2024 · 1 comment
Open

Generation crashing in docker #231

leonardpauli opened this issue Aug 14, 2024 · 1 comment

Comments

@leonardpauli
Copy link

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!)

@marcusschiesser
Copy link
Collaborator

@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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants