{"action":"created","issue":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/843","repository_url":"https://api.github.com/repos/sameersbn/docker-gitlab","labels_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/843/labels{/name}","comments_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/843/comments","events_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/843/events","html_url":"https://github.com/sameersbn/docker-gitlab/issues/843","id":171852414,"number":843,"title":"Upgrading to 8.10.6 fails","user":{"login":"QuickJack","id":1119210,"avatar_url":"https://avatars.githubusercontent.com/u/1119210?v=3","gravatar_id":"","url":"https://api.github.com/users/QuickJack","html_url":"https://github.com/QuickJack","followers_url":"https://api.github.com/users/QuickJack/followers","following_url":"https://api.github.com/users/QuickJack/following{/other_user}","gists_url":"https://api.github.com/users/QuickJack/gists{/gist_id}","starred_url":"https://api.github.com/users/QuickJack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuickJack/subscriptions","organizations_url":"https://api.github.com/users/QuickJack/orgs","repos_url":"https://api.github.com/users/QuickJack/repos","events_url":"https://api.github.com/users/QuickJack/events{/privacy}","received_events_url":"https://api.github.com/users/QuickJack/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-18T09:03:58Z","updated_at":"2016-08-19T08:21:26Z","closed_at":null,"body":"I am currently using GitLab 8.9.6-1 with docker-compose and I am sitting behind a corporate proxy. The update procedure for the postgresql container fails. I am using 9.4-23 and the version recommended for GitLab 8.10.6 is 9.5. I am using GitLab for several month and never had an upgrade problem.\r\n\r\nThis is part of the output after a docker-compose up:\r\n\u001B[33mpostgresql2_1  |\u001B[0m Initializing certdir...\r\n\u001B[33mpostgresql2_1  |\u001B[0m Initializing logdir...\r\n\u001B[33mpostgresql2_1  |\u001B[0m Initializing rundir...\r\n\u001B[33mpostgresql2_1  |\u001B[0m Setting resolv.conf ACLs...\r\n\u001B[33mpostgresql2_1  |\u001B[0m Initializing database...\r\n\u001B[33mpostgresql2_1  |\u001B[0m ‣ Migrating PostgreSQL 9.4 data to 9.5...\r\n\u001B[33mpostgresql2_1  |\u001B[0m ‣ Installing PostgreSQL 9.4...\r\n\u001B[32mgitlab2_1      |\u001B[0m Initializing logdir...\r\n\u001B[32mgitlab2_1      |\u001B[0m Initializing datadir...\r\n\u001B[32mgitlab2_1      |\u001B[0m Updating CA certificates...\r\n\u001B[33mpostgresql2_1  |\u001B[0m W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease  \r\n\u001B[33mpostgresql2_1  |\u001B[0m \r\n\u001B[33mpostgresql2_1  |\u001B[0m W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease  \r\n\u001B[33mpostgresql2_1  |\u001B[0m \r\n\u001B[33mpostgresql2_1  |\u001B[0m W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease  \r\n\u001B[33mpostgresql2_1  |\u001B[0m \r\n\u001B[33mpostgresql2_1  |\u001B[0m W: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/trusty-pgdg/InRelease  \r\n\u001B[33mpostgresql2_1  |\u001B[0m \r\n\u001B[33mpostgresql2_1  |\u001B[0m W: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/trusty-pgdg/Release.gpg  Cannot initiate the connection to apt.postgresql.org:80 (2001:4800:1501:1::246). - connect (101: Network is unreachable) [IP: 2001:4800:1501:1::246 80]\r\n\u001B[33mpostgresql2_1  |\u001B[0m \r\n\u001B[33mpostgresql2_1  |\u001B[0m W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1560:8001::14). - connect (101: Network is unreachable) [IP: 2001:67c:1560:8001::14 80]\r\n\u001B[33mpostgresql2_1  |\u001B[0m \r\n\u001B[33mpostgresql2_1  |\u001B[0m W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1560:8001::14). - connect (101: Network is unreachable) [IP: 2001:67c:1560:8001::14 80]\r\n\u001B[33mpostgresql2_1  |\u001B[0m \r\n\u001B[33mpostgresql2_1  |\u001B[0m W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg  Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:1560:8001::14). - connect (101: Network is unreachable) [IP: 2001:67c:1560:8001::14 80]\r\n\u001B[33mpostgresql2_1  |\u001B[0m \r\n\u001B[33mpostgresql2_1  |\u001B[0m W: Some index files failed to download. They have been ignored, or old ones used instead.\r\n\u001B[33mpostgresql2_1  |\u001B[0m E: Unable to locate package postgresql-9.4\r\n\u001B[33mpostgresql2_1  |\u001B[0m E: Couldn't find any package by regex 'postgresql-9.4'\r\n\u001B[33mpostgresql2_1  |\u001B[0m E: Unable to locate package postgresql-client-9.4\r\n\u001B[33mpostgresql2_1  |\u001B[0m E: Couldn't find any package by regex 'postgresql-client-9.4'\r\n\u001B[33mpostgresql2_1  |\u001B[0m ERROR! Failed to install PostgreSQL 9.4. Exiting...\r\n\u001B[33m2_postgresql2_1 exited with code 1"},"comment":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/comments/240957882","html_url":"https://github.com/sameersbn/docker-gitlab/issues/843#issuecomment-240957882","issue_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/843","id":240957882,"user":{"login":"QuickJack","id":1119210,"avatar_url":"https://avatars.githubusercontent.com/u/1119210?v=3","gravatar_id":"","url":"https://api.github.com/users/QuickJack","html_url":"https://github.com/QuickJack","followers_url":"https://api.github.com/users/QuickJack/followers","following_url":"https://api.github.com/users/QuickJack/following{/other_user}","gists_url":"https://api.github.com/users/QuickJack/gists{/gist_id}","starred_url":"https://api.github.com/users/QuickJack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuickJack/subscriptions","organizations_url":"https://api.github.com/users/QuickJack/orgs","repos_url":"https://api.github.com/users/QuickJack/repos","events_url":"https://api.github.com/users/QuickJack/events{/privacy}","received_events_url":"https://api.github.com/users/QuickJack/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T08:21:26Z","updated_at":"2016-08-19T08:21:26Z","body":"You are right and I do know how http_proxy works. But something like that was never required in the past.\r\n\r\nI think it's a good idea to add some notes on this special upgrade procedure in order to prevent people to hit this problem."}}
{"actor":{"display_login":"QuickJack"}}