{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/mbugeia/kanboard_ynh/pulls/9","id":47536569,"html_url":"https://github.com/mbugeia/kanboard_ynh/pull/9","diff_url":"https://github.com/mbugeia/kanboard_ynh/pull/9.diff","patch_url":"https://github.com/mbugeia/kanboard_ynh/pull/9.patch","issue_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/issues/9","number":9,"state":"closed","locked":false,"title":"Update backup","user":{"login":"rgarrigue","id":1872031,"avatar_url":"https://avatars.githubusercontent.com/u/1872031?v=3","gravatar_id":"","url":"https://api.github.com/users/rgarrigue","html_url":"https://github.com/rgarrigue","followers_url":"https://api.github.com/users/rgarrigue/followers","following_url":"https://api.github.com/users/rgarrigue/following{/other_user}","gists_url":"https://api.github.com/users/rgarrigue/gists{/gist_id}","starred_url":"https://api.github.com/users/rgarrigue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgarrigue/subscriptions","organizations_url":"https://api.github.com/users/rgarrigue/orgs","repos_url":"https://api.github.com/users/rgarrigue/repos","events_url":"https://api.github.com/users/rgarrigue/events{/privacy}","received_events_url":"https://api.github.com/users/rgarrigue/received_events","type":"User","site_admin":false},"body":"chown $backup_dir is a way to fix the sudo mysqldump, which somehow can't write his dump without it.\r\nThe column in admin: is equivalent to \"user = admin, group = admin's primary group\".\r\n\r\nWith the other PR I just made, it works on my server.\r\n\r\n    Exécution du script...\r\n    + app=kanboard\r\n    + backup_dir=/home/yunohost.backup/tmp/test5/apps/kanboard\r\n    + sudo mkdir -p /home/yunohost.backup/tmp/test5/apps/kanboard\r\n    + sudo chown admin: /home/yunohost.backup/tmp/test5/apps/kanboard\r\n    + sudo cp -a /var/www/kanboard/. /home/yunohost.backup/tmp/test5/apps/kanboard/sources\r\n    ++ sudo yunohost app setting kanboard mysqlpwd\r\n    + db_pwd=kkkkkkkk\r\n    + sudo mysqldump -u kanboard -hhhhhhhh kanboard\r\n    + sudo cp -a /etc/yunohost/apps/kanboard/. /home/yunohost.backup/tmp/test5/apps/kanboard/yunohost\r\n    ++ sudo yunohost app setting kanboard domain\r\n    + domain=xxxx\r\n    + sudo cp -a /etc/nginx/conf.d/xxxxxxxxxx/kanboard.conf /home/yunohost.backup/tmp/test5/apps/kanboard/nginx.conf","created_at":"2015-10-13T14:01:05Z","updated_at":"2015-10-14T12:31:33Z","closed_at":"2015-10-14T12:31:33Z","merged_at":null,"merge_commit_sha":"2f3e31efbeda5a0e2c4f840927c4ce0f709b2b14","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/pulls/9/commits","review_comments_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/pulls/9/comments","review_comment_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/issues/9/comments","statuses_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/statuses/1569281bb19fe717e4cb1f894ea4649092fd056c","head":{"label":"rgarrigue:patch-2","ref":"patch-2","sha":"1569281bb19fe717e4cb1f894ea4649092fd056c","user":{"login":"rgarrigue","id":1872031,"avatar_url":"https://avatars.githubusercontent.com/u/1872031?v=3","gravatar_id":"","url":"https://api.github.com/users/rgarrigue","html_url":"https://github.com/rgarrigue","followers_url":"https://api.github.com/users/rgarrigue/followers","following_url":"https://api.github.com/users/rgarrigue/following{/other_user}","gists_url":"https://api.github.com/users/rgarrigue/gists{/gist_id}","starred_url":"https://api.github.com/users/rgarrigue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgarrigue/subscriptions","organizations_url":"https://api.github.com/users/rgarrigue/orgs","repos_url":"https://api.github.com/users/rgarrigue/repos","events_url":"https://api.github.com/users/rgarrigue/events{/privacy}","received_events_url":"https://api.github.com/users/rgarrigue/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"mbugeia:master","ref":"master","sha":"161eebeaabf0f09035b7f68146be74eecf2ceeca","user":{"login":"mbugeia","id":6364564,"avatar_url":"https://avatars.githubusercontent.com/u/6364564?v=3","gravatar_id":"","url":"https://api.github.com/users/mbugeia","html_url":"https://github.com/mbugeia","followers_url":"https://api.github.com/users/mbugeia/followers","following_url":"https://api.github.com/users/mbugeia/following{/other_user}","gists_url":"https://api.github.com/users/mbugeia/gists{/gist_id}","starred_url":"https://api.github.com/users/mbugeia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbugeia/subscriptions","organizations_url":"https://api.github.com/users/mbugeia/orgs","repos_url":"https://api.github.com/users/mbugeia/repos","events_url":"https://api.github.com/users/mbugeia/events{/privacy}","received_events_url":"https://api.github.com/users/mbugeia/received_events","type":"User","site_admin":false},"repo":{"id":22030776,"name":"kanboard_ynh","full_name":"mbugeia/kanboard_ynh","owner":{"login":"mbugeia","id":6364564,"avatar_url":"https://avatars.githubusercontent.com/u/6364564?v=3","gravatar_id":"","url":"https://api.github.com/users/mbugeia","html_url":"https://github.com/mbugeia","followers_url":"https://api.github.com/users/mbugeia/followers","following_url":"https://api.github.com/users/mbugeia/following{/other_user}","gists_url":"https://api.github.com/users/mbugeia/gists{/gist_id}","starred_url":"https://api.github.com/users/mbugeia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbugeia/subscriptions","organizations_url":"https://api.github.com/users/mbugeia/orgs","repos_url":"https://api.github.com/users/mbugeia/repos","events_url":"https://api.github.com/users/mbugeia/events{/privacy}","received_events_url":"https://api.github.com/users/mbugeia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbugeia/kanboard_ynh","description":"Kanboard for Yunohost","fork":false,"url":"https://api.github.com/repos/mbugeia/kanboard_ynh","forks_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/forks","keys_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/teams","hooks_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/hooks","issue_events_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/issues/events{/number}","events_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/events","assignees_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/assignees{/user}","branches_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/branches{/branch}","tags_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/tags","blobs_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/statuses/{sha}","languages_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/languages","stargazers_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/stargazers","contributors_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/contributors","subscribers_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/subscribers","subscription_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/subscription","commits_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/contents/{+path}","compare_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/merges","archive_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/downloads","issues_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/issues{/number}","pulls_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/pulls{/number}","milestones_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/milestones{/number}","notifications_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/labels{/name}","releases_url":"https://api.github.com/repos/mbugeia/kanboard_ynh/releases{/id}","created_at":"2014-07-20T10:14:55Z","updated_at":"2015-07-30T17:51:26Z","pushed_at":"2015-10-13T14:01:18Z","git_url":"git://github.com/mbugeia/kanboard_ynh.git","ssh_url":"git@github.com:mbugeia/kanboard_ynh.git","clone_url":"https://github.com/mbugeia/kanboard_ynh.git","svn_url":"https://github.com/mbugeia/kanboard_ynh","homepage":null,"size":5967,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mbugeia/kanboard_ynh/pulls/9"},"html":{"href":"https://github.com/mbugeia/kanboard_ynh/pull/9"},"issue":{"href":"https://api.github.com/repos/mbugeia/kanboard_ynh/issues/9"},"comments":{"href":"https://api.github.com/repos/mbugeia/kanboard_ynh/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/mbugeia/kanboard_ynh/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/mbugeia/kanboard_ynh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mbugeia/kanboard_ynh/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/mbugeia/kanboard_ynh/statuses/1569281bb19fe717e4cb1f894ea4649092fd056c"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":2,"deletions":1,"changed_files":1}}