{"action":"closed","issue":{"url":"https://api.github.com/repos/iocage/iocage/issues/503","repository_url":"https://api.github.com/repos/iocage/iocage","labels_url":"https://api.github.com/repos/iocage/iocage/issues/503/labels{/name}","comments_url":"https://api.github.com/repos/iocage/iocage/issues/503/comments","events_url":"https://api.github.com/repos/iocage/iocage/issues/503/events","html_url":"https://github.com/iocage/iocage/issues/503","id":301603339,"node_id":"MDU6SXNzdWUzMDE2MDMzMzk=","number":503,"title":"Migrating jails fails if one is running a release that has not been fetched","user":{"login":"asomers","id":129721,"node_id":"MDQ6VXNlcjEyOTcyMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/129721?v=4","gravatar_id":"","url":"https://api.github.com/users/asomers","html_url":"https://github.com/asomers","followers_url":"https://api.github.com/users/asomers/followers","following_url":"https://api.github.com/users/asomers/following{/other_user}","gists_url":"https://api.github.com/users/asomers/gists{/gist_id}","starred_url":"https://api.github.com/users/asomers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asomers/subscriptions","organizations_url":"https://api.github.com/users/asomers/orgs","repos_url":"https://api.github.com/users/asomers/repos","events_url":"https://api.github.com/users/asomers/events{/privacy}","received_events_url":"https://api.github.com/users/asomers/received_events","type":"User","site_admin":false},"labels":[{"id":517778784,"node_id":"MDU6TGFiZWw1MTc3Nzg3ODQ=","url":"https://api.github.com/repos/iocage/iocage/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/iocage/iocage/milestones/4","html_url":"https://github.com/iocage/iocage/milestone/4","labels_url":"https://api.github.com/repos/iocage/iocage/milestones/4/labels","id":3710493,"node_id":"MDk6TWlsZXN0b25lMzcxMDQ5Mw==","number":4,"title":"1.1","description":"The next release cut from the iocage version 1 tree.","creator":{"login":"gronke","id":473924,"node_id":"MDQ6VXNlcjQ3MzkyNA==","avatar_url":"https://avatars3.githubusercontent.com/u/473924?v=4","gravatar_id":"","url":"https://api.github.com/users/gronke","html_url":"https://github.com/gronke","followers_url":"https://api.github.com/users/gronke/followers","following_url":"https://api.github.com/users/gronke/following{/other_user}","gists_url":"https://api.github.com/users/gronke/gists{/gist_id}","starred_url":"https://api.github.com/users/gronke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gronke/subscriptions","organizations_url":"https://api.github.com/users/gronke/orgs","repos_url":"https://api.github.com/users/gronke/repos","events_url":"https://api.github.com/users/gronke/events{/privacy}","received_events_url":"https://api.github.com/users/gronke/received_events","type":"User","site_admin":false},"open_issues":49,"closed_issues":6,"state":"open","created_at":"2018-10-03T20:40:59Z","updated_at":"2018-12-06T21:40:06Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-03-01T23:49:46Z","updated_at":"2018-12-06T21:40:06Z","closed_at":"2018-12-06T21:40:06Z","author_association":"CONTRIBUTOR","body":"- [x] Supply `iocage --version`\r\n- [x] Supply the commands used, along with any steps to recreate it.\r\n- [x] Provide the output from the command you issued.\r\n- [x] Supply what you expected the result or output to be\r\n- [ ] Checked that the problem has not already been fixed on `master` if using\r\n a stable release.\r\n\r\nI previously installed some 11.0-RELEASE clone jails, and later upgraded one of them to 11.1-RELEASE with \"iocage upgrade\".  Today I upgraded iocage to a new version with pkg.  It told me I had to convert the jails to a new format.  When I tried, iocage crashed.  Apparently it was looking for a 11.1-RELEASE directory that isn't there.  Migrating the jails failed.\r\n\r\n```\r\n> iocage list\r\nYou need to be root to convert the configurations to the new format!\r\n> sudo iocage list\r\nPassword:\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/iocage\", line 10, in <module>\r\n    sys.exit(cli())\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 722, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 697, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 1066, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 895, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/usr/local/lib/python3.6/site-packages/click/core.py\", line 535, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.6/site-packages/iocage/cli/list.py\", line 114, in cli\r\n    dataset_type, header, _long, _sort, plugin=plugins, quick=quick)\r\n  File \"/usr/local/lib/python3.6/site-packages/iocage/lib/iocage.py\", line 1200, in list\r\n    exit_on_error=self.exit_on_error).list_datasets()\r\n  File \"/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_list.py\", line 76, in list_datasets\r\n    _all = self.list_all(ds)\r\n  File \"/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_list.py\", line 154, in list_all\r\n    conf = iocage.lib.ioc_json.IOCJson(mountpoint).json_load()\r\n  File \"/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_json.py\", line 404, in json_load\r\n    conf = self.json_check_config(conf)\r\n  File \"/usr/local/lib/python3.6/site-packages/iocage/lib/ioc_json.py\", line 866, in json_check_config\r\n    with open(freebsd_version, \"r\") as r:\r\nFileNotFoundError: [Errno 2] No such file or directory: '/iocage/releases/11.1-RELEASE/root/bin/freebsd-version'\r\n> iocage --version\r\nVersion 0.9.10 2017/12/22\r\n```"}}
{"actor":{"display_login":"skarekrow"}}