How to fix Quay Exception: Your configuration bundle is either not mounted or setup has not been completed
Problem
When starting up your quay docker-compose setup, you see the following error message:
Traceback (most recent call last):
File "/quay-registry/boot.py", line 111, in <module>
main()
File "/quay-registry/boot.py", line 98, in main
raise Exception(
Solution
Looking at boot.py where the error occurs:
if not app.config.get("SETUP_COMPLETE", False):
raise Exception(
"Your configuration bundle is either not mounted or setup has not been completed"
)
Therefore, first add
SETUP_COMPLETE: true
to config.yaml
and restart quay.
If the same error message is still, most likely you didn’t mount your config at the right location. It needs to be at /config/stack/config.yaml
, so if you use
quay:
image: quay.io/projectquay/quay:latest
# ...
volumes:
- ./quay_config:/conf/stack
in your docker-compose.yml
, the quay_config
folder needs to contain config.yaml
.