{"action":"created","issue":{"url":"https://api.github.com/repos/docker/distribution/issues/861","labels_url":"https://api.github.com/repos/docker/distribution/issues/861/labels{/name}","comments_url":"https://api.github.com/repos/docker/distribution/issues/861/comments","events_url":"https://api.github.com/repos/docker/distribution/issues/861/events","html_url":"https://github.com/docker/distribution/issues/861","id":100584058,"number":861,"title":"Upgrading from registry 2.0 to 2.1","user":{"login":"mariolameiras","id":602242,"avatar_url":"https://avatars.githubusercontent.com/u/602242?v=3","gravatar_id":"","url":"https://api.github.com/users/mariolameiras","html_url":"https://github.com/mariolameiras","followers_url":"https://api.github.com/users/mariolameiras/followers","following_url":"https://api.github.com/users/mariolameiras/following{/other_user}","gists_url":"https://api.github.com/users/mariolameiras/gists{/gist_id}","starred_url":"https://api.github.com/users/mariolameiras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariolameiras/subscriptions","organizations_url":"https://api.github.com/users/mariolameiras/orgs","repos_url":"https://api.github.com/users/mariolameiras/repos","events_url":"https://api.github.com/users/mariolameiras/events{/privacy}","received_events_url":"https://api.github.com/users/mariolameiras/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-12T16:36:21Z","updated_at":"2015-08-12T16:59:17Z","closed_at":null,"body":"I've installed a new registry (v2.1) using the container available here: https://hub.docker.com/_/registry/\r\n\r\nPointing REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY to the same filesystem path where I previously had registry 2.0.\r\n\r\nNow i can't pull the existing images even though they appear on /v2/_catalog listed.\r\n\r\nI get the following error:\r\n\r\nPulling repository registry:5100/tomcat8-oraclejdk8-debian\r\nError: image tomcat8-oraclejdk8-debian:8.0.24 not found\r\n\r\nIf I push the image again, all the layers already exist in the registry, the image is updated and I can already pull it to my local machine.\r\n\r\n\r\nIs there any way to update the images in the new registry version without having to push them all again ?\r\n\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/docker/distribution/issues/comments/130369928","html_url":"https://github.com/docker/distribution/issues/861#issuecomment-130369928","issue_url":"https://api.github.com/repos/docker/distribution/issues/861","id":130369928,"user":{"login":"dmp42","id":332946,"avatar_url":"https://avatars.githubusercontent.com/u/332946?v=3","gravatar_id":"","url":"https://api.github.com/users/dmp42","html_url":"https://github.com/dmp42","followers_url":"https://api.github.com/users/dmp42/followers","following_url":"https://api.github.com/users/dmp42/following{/other_user}","gists_url":"https://api.github.com/users/dmp42/gists{/gist_id}","starred_url":"https://api.github.com/users/dmp42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmp42/subscriptions","organizations_url":"https://api.github.com/users/dmp42/orgs","repos_url":"https://api.github.com/users/dmp42/repos","events_url":"https://api.github.com/users/dmp42/events{/privacy}","received_events_url":"https://api.github.com/users/dmp42/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T16:59:17Z","updated_at":"2015-08-12T16:59:17Z","body":"Hi @mariolameiras \r\n\r\nThere should be no migration needed.\r\nI would need more information.\r\n\r\nCan I ask for the following? \r\n\r\nhttps://github.com/docker/distribution/blob/master/CONTRIBUTING.md#if-you-have-not-found-an-existing-issue-that-describes-your-problem\r\n\r\nSpecifically useful would be the registry logs at the moment you try to pull the image and get a 404 back.\r\n\r\nThanks."}}