-
Notifications
You must be signed in to change notification settings - Fork 13
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
curl on signed key for a repo as per repo instructions results in a 404 Not Found. #22
Comments
@matthill , @denisgolius, @k0ste , @inistor : Any pointers about how I can fix / workaround this? |
If you access https://127.0.0.1:7376/cfg/repo/test-repo from a browser, do you get the GUI? |
Repeated the exercise and collected logs/ screenshots: all_containers_launch.log all_containers_launch.log : logs right after a clean docker compose up -d. No login, no test repo/ signing key created. Screenshots: p.s: 192.168.56.102 is the IP address of my dev VM. |
There's a problem with your DB container, apparently: From the init log:
From the launch log:
In the I still don't understand how you were able to access the GUI - the logs you sent pretty much only include DB errors |
Actually, I might be wrong and that's before the DB starts; however, I don't see the logs of the |
Noticed those errors in django container - I think the django container was trying to do operations much before the db container is up and running. I think the db container should have a healthcheck that establishes that the db is up and running, which the django container can rely upon properly. Something like this - https://github.com/peter-evans/docker-compose-healthcheck - maybe?
|
Great. Sorry for the confusion with the DB connection, I was mislead by the logs. |
A question though: Shouldn't the gpg key be accessible irrespective of the repo being empty? A probable enhancement? |
Thanks for the help here, @inistor ! |
Created a PR #23 to address this issue.
|
Created an enhancement request: #24 to track this. Will close this issue here.
|
Steps to reproduce:
curl http://127.0.0.1:7376/test-repo/public.gpg
The text was updated successfully, but these errors were encountered: