harbor: UI failed to connect to db, retry after 2 seconds... / Bad Gateway
I pulled 864b814 (to test #49 and #59), then cd Deploy, changed hostname = localhost in harbor.cfg.
Then I ran docker-compose up -d
Wenn I open http://localhost I get a nginx 502 Bad Gateway error.
The last few lines of /var/log/harbor/<date>/docker_ui.log look like this:
12:41:10 failed to connect to db, retry after 2 seconds...
After a few seconds, deploy_ui container is stopping completely.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 30 (30 by maintainers)
It seems that you should remove the older volume
/databecause we’ve updated the DB schema of this version.