You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did the issue occur at ClassQuiz.de, or on a self-hosted instance?
On a self-hosted instance
How can the issue be reproduced?
checkout repo
edit docker-compose.yml to your needs
build docker-container with docker-compose up -d
Everything works fine except uploading images.
Describe the bug (with screenshots if possible)
You can fix that issue by manually docker exec -it classquiz-api-1 /bin/bash and mkdir data and chmod -R 775 ./data .
So the Issue is, that the initial "data"-folder seems not to initialize itself. You can see that error also in docker-compose logs:
classquiz-api-1 | File "/app/classquiz/storage/local_storage.py", line 39, in upload
classquiz-api-1 | with open(file=os.path.join(self.base_path, file_name), mode="wb") as f:
classquiz-api-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
classquiz-api-1 | FileNotFoundError: [Errno 2] No such file or directory: '/app/data/9ff4a273508041929a16e8ad158639bb'
Device
Laptop/Notebook
Operating System
Manjaro Linux
Browser
Firefox
The text was updated successfully, but these errors were encountered:
Which component is affected?
classquiz-api-1
Did the issue occur at ClassQuiz.de, or on a self-hosted instance?
On a self-hosted instance
How can the issue be reproduced?
docker-compose up -d
Describe the bug (with screenshots if possible)
You can fix that issue by manually
docker exec -it classquiz-api-1 /bin/bash
andmkdir data
andchmod -R 775 ./data
.So the Issue is, that the initial "data"-folder seems not to initialize itself. You can see that error also in
docker-compose logs
:Device
Laptop/Notebook
Operating System
Manjaro Linux
Browser
Firefox
The text was updated successfully, but these errors were encountered: