{"action":"created","issue":{"url":"https://api.github.com/repos/SUSE/Portus/issues/168","labels_url":"https://api.github.com/repos/SUSE/Portus/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/SUSE/Portus/issues/168/comments","events_url":"https://api.github.com/repos/SUSE/Portus/issues/168/events","html_url":"https://github.com/SUSE/Portus/issues/168","id":90629770,"number":168,"title":"appliance: issue when running portus-firstboot script","user":{"login":"flavio","id":22728,"avatar_url":"https://avatars.githubusercontent.com/u/22728?v=3","gravatar_id":"","url":"https://api.github.com/users/flavio","html_url":"https://github.com/flavio","followers_url":"https://api.github.com/users/flavio/followers","following_url":"https://api.github.com/users/flavio/following{/other_user}","gists_url":"https://api.github.com/users/flavio/gists{/gist_id}","starred_url":"https://api.github.com/users/flavio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flavio/subscriptions","organizations_url":"https://api.github.com/users/flavio/orgs","repos_url":"https://api.github.com/users/flavio/repos","events_url":"https://api.github.com/users/flavio/events{/privacy}","received_events_url":"https://api.github.com/users/flavio/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SUSE/Portus/labels/appliance","name":"appliance","color":"f7c6c7"},{"url":"https://api.github.com/repos/SUSE/Portus/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jordimassaguerpla","id":1148215,"avatar_url":"https://avatars.githubusercontent.com/u/1148215?v=3","gravatar_id":"","url":"https://api.github.com/users/jordimassaguerpla","html_url":"https://github.com/jordimassaguerpla","followers_url":"https://api.github.com/users/jordimassaguerpla/followers","following_url":"https://api.github.com/users/jordimassaguerpla/following{/other_user}","gists_url":"https://api.github.com/users/jordimassaguerpla/gists{/gist_id}","starred_url":"https://api.github.com/users/jordimassaguerpla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordimassaguerpla/subscriptions","organizations_url":"https://api.github.com/users/jordimassaguerpla/orgs","repos_url":"https://api.github.com/users/jordimassaguerpla/repos","events_url":"https://api.github.com/users/jordimassaguerpla/events{/privacy}","received_events_url":"https://api.github.com/users/jordimassaguerpla/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/SUSE/Portus/milestones/4","html_url":"https://github.com/SUSE/Portus/milestones/1st%20stable%20release%20of%20Portus","labels_url":"https://api.github.com/repos/SUSE/Portus/milestones/4/labels","id":1104465,"number":4,"title":"1st stable release of Portus","description":"","creator":{"login":"flavio","id":22728,"avatar_url":"https://avatars.githubusercontent.com/u/22728?v=3","gravatar_id":"","url":"https://api.github.com/users/flavio","html_url":"https://github.com/flavio","followers_url":"https://api.github.com/users/flavio/followers","following_url":"https://api.github.com/users/flavio/following{/other_user}","gists_url":"https://api.github.com/users/flavio/gists{/gist_id}","starred_url":"https://api.github.com/users/flavio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flavio/subscriptions","organizations_url":"https://api.github.com/users/flavio/orgs","repos_url":"https://api.github.com/users/flavio/repos","events_url":"https://api.github.com/users/flavio/events{/privacy}","received_events_url":"https://api.github.com/users/flavio/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":30,"state":"open","created_at":"2015-05-11T09:53:16Z","updated_at":"2015-06-24T13:14:25Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-06-24T09:59:22Z","updated_at":"2015-06-24T13:16:03Z","closed_at":null,"body":"How to reproduce:\r\n  * complete the 1st boot installation\r\n  * run the following command: `/etc/init.d/portus-firstboot portus.test.lan`\r\n\r\nThe following error message is printed (note well, I added `set -x` to have more debugging details):\r\n```bash\r\n++ echo 'Disabling firstboot'\r\nDisabling firstboot\r\n++ mv /portus-firstboot /portus-firstboot.disabled\r\nmv: cannot stat ‘/portus-firstboot’: No such file or directory\r\n```\r\n\r\nTo fix that just change the end of the script to something like that:\r\n```bash\r\necho \"Disabling firstboot\"\r\n\r\nif [ -f /portus-firstboot ]; then\r\n  mv /portus-firstboot /portus-firstboot.disabled\r\nfi\r\n```\r\n\r\nThis file is not inside of this repo, that's why I'm not creating a PR."},"comment":{"url":"https://api.github.com/repos/SUSE/Portus/issues/comments/114864020","html_url":"https://github.com/SUSE/Portus/issues/168#issuecomment-114864020","issue_url":"https://api.github.com/repos/SUSE/Portus/issues/168","id":114864020,"user":{"login":"flavio","id":22728,"avatar_url":"https://avatars.githubusercontent.com/u/22728?v=3","gravatar_id":"","url":"https://api.github.com/users/flavio","html_url":"https://github.com/flavio","followers_url":"https://api.github.com/users/flavio/followers","following_url":"https://api.github.com/users/flavio/following{/other_user}","gists_url":"https://api.github.com/users/flavio/gists{/gist_id}","starred_url":"https://api.github.com/users/flavio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flavio/subscriptions","organizations_url":"https://api.github.com/users/flavio/orgs","repos_url":"https://api.github.com/users/flavio/repos","events_url":"https://api.github.com/users/flavio/events{/privacy}","received_events_url":"https://api.github.com/users/flavio/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T13:16:03Z","updated_at":"2015-06-24T13:16:03Z","body":"oh.. maybe try running the script more than one time..."}}