{"action":"created","issue":{"url":"https://api.github.com/repos/boot2docker/boot2docker/issues/731","labels_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/731/labels{/name}","comments_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/731/comments","events_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/731/events","html_url":"https://github.com/boot2docker/boot2docker/issues/731","id":57245445,"number":731,"title":"`boot2docker upgrade` results in client server version mismatch","user":{"login":"jokeyrhyme","id":479816,"avatar_url":"https://avatars.githubusercontent.com/u/479816?v=3","gravatar_id":"","url":"https://api.github.com/users/jokeyrhyme","html_url":"https://github.com/jokeyrhyme","followers_url":"https://api.github.com/users/jokeyrhyme/followers","following_url":"https://api.github.com/users/jokeyrhyme/following{/other_user}","gists_url":"https://api.github.com/users/jokeyrhyme/gists{/gist_id}","starred_url":"https://api.github.com/users/jokeyrhyme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jokeyrhyme/subscriptions","organizations_url":"https://api.github.com/users/jokeyrhyme/orgs","repos_url":"https://api.github.com/users/jokeyrhyme/repos","events_url":"https://api.github.com/users/jokeyrhyme/events{/privacy}","received_events_url":"https://api.github.com/users/jokeyrhyme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-10T22:10:03Z","updated_at":"2015-02-12T05:25:25Z","closed_at":null,"body":"Just ran `boot2docker upgrade` after the Docker 1.5.0 release but before the matching boot2docker release. So I was on boot2docker 1.4.1.\r\n\r\nThe upgrade process updated my docker binary to 1.5.0, but kept the boot2docker parts at 1.4.1, which is as expected.\r\n\r\nUnfortunately, I now get the following output from `docker version:\r\n>Client version: 1.5.0\r\n>Client API version: 1.17\r\n>Go version (client): go1.4.1\r\n>Git commit (client): a8a31ef\r\n>OS/Arch (client): darwin/amd64\r\n>FATA[0000] Error response from daemon: client and server don't have same version (client : 1.17, server: 1.16) \r\n\r\nAnd the following error for many docker commands:\r\n> time=\"2015-02-11T09:03:17+11:00\" level=\"fatal\" msg=\"Error: client and server don't have same version (client : 1.17, server: 1.16)\"\r\n\r\nI noticed that the old docker binary is backed up to ~/.boot2docker, so this is not the end of the world for me or anything. :)\r\n\r\nI wonder if it's possible for `boot2docker upgrade` to check the API versions and automatically rollback if there is a mismatch? Or maybe somehow know that there will be a mismatch in advance? /shrug"},"comment":{"url":"https://api.github.com/repos/boot2docker/boot2docker/issues/comments/74019706","html_url":"https://github.com/boot2docker/boot2docker/issues/731#issuecomment-74019706","issue_url":"https://api.github.com/repos/boot2docker/boot2docker/issues/731","id":74019706,"user":{"login":"nathanleclaire","id":1476820,"avatar_url":"https://avatars.githubusercontent.com/u/1476820?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanleclaire","html_url":"https://github.com/nathanleclaire","followers_url":"https://api.github.com/users/nathanleclaire/followers","following_url":"https://api.github.com/users/nathanleclaire/following{/other_user}","gists_url":"https://api.github.com/users/nathanleclaire/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanleclaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanleclaire/subscriptions","organizations_url":"https://api.github.com/users/nathanleclaire/orgs","repos_url":"https://api.github.com/users/nathanleclaire/repos","events_url":"https://api.github.com/users/nathanleclaire/events{/privacy}","received_events_url":"https://api.github.com/users/nathanleclaire/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T05:25:25Z","updated_at":"2015-02-12T05:25:25Z","body":"@jokeyrhyme  Hm, this should not happen.  Sorry to hear.  It sounds like the new boot2docker ISO has not been downloaded (it should be).  Could you please paste the output from when you run the `boot2docker upgrade` command?\r\n\r\n> I noticed that the old docker binary is backed up to ~/.boot2docker, so this is not the end of the world for me or anything. :)\r\n\r\nI love it when a plan comes together!\r\n\r\n"}}