{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/harbor/issues/859","repository_url":"https://api.github.com/repos/vmware/harbor","labels_url":"https://api.github.com/repos/vmware/harbor/issues/859/labels{/name}","comments_url":"https://api.github.com/repos/vmware/harbor/issues/859/comments","events_url":"https://api.github.com/repos/vmware/harbor/issues/859/events","html_url":"https://github.com/vmware/harbor/issues/859","id":181351877,"number":859,"title":"Swagger : Problems in installing swagger and containers are in 'restarting' state","user":{"login":"vikas027","id":6998650,"avatar_url":"https://avatars.githubusercontent.com/u/6998650?v=3","gravatar_id":"","url":"https://api.github.com/users/vikas027","html_url":"https://github.com/vikas027","followers_url":"https://api.github.com/users/vikas027/followers","following_url":"https://api.github.com/users/vikas027/following{/other_user}","gists_url":"https://api.github.com/users/vikas027/gists{/gist_id}","starred_url":"https://api.github.com/users/vikas027/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikas027/subscriptions","organizations_url":"https://api.github.com/users/vikas027/orgs","repos_url":"https://api.github.com/users/vikas027/repos","events_url":"https://api.github.com/users/vikas027/events{/privacy}","received_events_url":"https://api.github.com/users/vikas027/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-06T08:23:27Z","updated_at":"2016-10-06T10:58:07Z","closed_at":null,"body":"If you are reporting a problem, please make sure the following information are provided:\r\n1)Version of docker engine and docker-compose\r\n2)Config files of harbor, you can get them by packaging \"Deploy/config\" directory\r\n3)Log files, you can get them by package the /var/log/harbor/ \r\n\r\n# Environment\r\n\r\n- Docker Engine 1.12.1\r\n- Docker Compose 1.8.1\r\n- Python Version 2.7.5\r\n- CentOS 7.2\r\n- Harbor server 0.4.1 (http://192.168.1.88)\r\n- Swagger on 192.168.1.90\r\n\r\n# Problem\r\n\r\nFollowed this [guide](https://github.com/vmware/harbor/blob/master/docs/configure_swagger.md) to test swagger, had to do some tweaks (first three lines below) before `docker-compose build`, otherwise it was throwing errors for `env` files not found; like these  `ERROR: Couldn't find env file: /root/harbor/Deploy/config/ui/env`.\r\n\r\n```\r\n# cat templates/ui/env > config/ui/env\r\n# mkdir config/db && cat templates/db/env > config/db/env\r\n# cat templates/jobservice/env > config/jobservice/env\r\n# docker-compose build\r\n# docker-compose up -d\r\n```\r\n \r\nAnd, containers `deploy_jobservice_1` and `deploy_registry_1` keeps going in `restarting` state. Probably there is some issue(s) with the variables defined in `env` files.\r\n![2016-10-06_19-16-30](https://cloud.githubusercontent.com/assets/6998650/19145263/f800cf9c-8bf9-11e6-9650-e3965ae95e5a.png)\r\n\r\nLogs files are here \r\n[2016-10-06.tar.gz](https://github.com/vmware/harbor/files/513187/2016-10-06.tar.gz)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/vmware/harbor/issues/comments/251930637","html_url":"https://github.com/vmware/harbor/issues/859#issuecomment-251930637","issue_url":"https://api.github.com/repos/vmware/harbor/issues/859","id":251930637,"user":{"login":"vikas027","id":6998650,"avatar_url":"https://avatars.githubusercontent.com/u/6998650?v=3","gravatar_id":"","url":"https://api.github.com/users/vikas027","html_url":"https://github.com/vikas027","followers_url":"https://api.github.com/users/vikas027/followers","following_url":"https://api.github.com/users/vikas027/following{/other_user}","gists_url":"https://api.github.com/users/vikas027/gists{/gist_id}","starred_url":"https://api.github.com/users/vikas027/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikas027/subscriptions","organizations_url":"https://api.github.com/users/vikas027/orgs","repos_url":"https://api.github.com/users/vikas027/repos","events_url":"https://api.github.com/users/vikas027/events{/privacy}","received_events_url":"https://api.github.com/users/vikas027/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T10:58:07Z","updated_at":"2016-10-06T10:58:07Z","body":"Hello @hainingzhang Yes, my Harbor was running well for `box88 (192.168.1.88)` and I did ran the `prepare-swagger.sh` script. "}}
{"actor":{"display_login":"vikas027"}}