{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/ginsys/ansible-role-seafile/pulls/11","id":83188555,"html_url":"https://github.com/ginsys/ansible-role-seafile/pull/11","diff_url":"https://github.com/ginsys/ansible-role-seafile/pull/11.diff","patch_url":"https://github.com/ginsys/ansible-role-seafile/pull/11.patch","issue_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/issues/11","number":11,"state":"closed","locked":false,"title":"fix init script when running MySQL on an external host","user":{"login":"gronke","id":473924,"avatar_url":"https://avatars.githubusercontent.com/u/473924?v=3","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},"body":"When provisioning Seafile connecting to a MySQL backend on a machine that does not run it's own MySQL server, installing the init.d script fails.\r\n\r\n```\r\nTASK [ginsys.seafile : enable init services] ***********************************\r\n[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment value uses the full variable syntax \r\n('{{SEAFILE_INIT_SCRIPTS}}').\r\nThis feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in \r\nansible.cfg.\r\nfailed: [127.0.0.1] (item={u'os_family': [u'Debian', u'RedHat'], u'name': u'seafile'}) => {\"failed\": true, \"item\": {\"name\": \"seafile\", \"os_family\": [\"Debian\", \"RedHat\"]}, \"msg\": \"Error when trying to enable seafile: rc=-6 Synchronizing state for seafile.service with sysvinit using update-rc.d...\\nExecuting /usr/sbin/update-rc.d seafile defaults\\ninsserv: Service mysql has to be enabled to start service seafile-server\\ninsserv: exiting now!\\nupdate-rc.d: error: insserv rejected the script header\\n*** Error in `/bin/systemctl': double free or corruption (fasttop): 0x00007f0cf6dba9c0 ***\\n\"}\r\nskipping: [127.0.0.1] => (item={u'os_family': [u'RedHat'], u'name': u'seahub'}) \r\n```\r\n\r\nThe init script for Debian required mysql to be running before starting seafile. When the MySQL server is running on an external host, there is obviously no init script for mysql on the machine running Seafile, which caused the error above.\r\n","created_at":"2016-08-30T00:04:52Z","updated_at":"2016-08-30T10:12:00Z","closed_at":"2016-08-30T10:12:00Z","merged_at":"2016-08-30T10:12:00Z","merge_commit_sha":"4aa24aed9b668b18fb707b46b484eebc977fcd8b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/pulls/11/commits","review_comments_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/pulls/11/comments","review_comment_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/issues/11/comments","statuses_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/statuses/a5452a4f9a9dd7aaeb275a3940424109f06b963c","head":{"label":"gronke:mysql-on-external-host","ref":"mysql-on-external-host","sha":"a5452a4f9a9dd7aaeb275a3940424109f06b963c","user":{"login":"gronke","id":473924,"avatar_url":"https://avatars.githubusercontent.com/u/473924?v=3","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},"repo":{"id":66889737,"name":"ansible-role-seafile","full_name":"gronke/ansible-role-seafile","owner":{"login":"gronke","id":473924,"avatar_url":"https://avatars.githubusercontent.com/u/473924?v=3","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},"private":false,"html_url":"https://github.com/gronke/ansible-role-seafile","description":"An ansible role to deploy Seafile, an Open Source Cloud Storage. http://seafile.com/","fork":true,"url":"https://api.github.com/repos/gronke/ansible-role-seafile","forks_url":"https://api.github.com/repos/gronke/ansible-role-seafile/forks","keys_url":"https://api.github.com/repos/gronke/ansible-role-seafile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gronke/ansible-role-seafile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gronke/ansible-role-seafile/teams","hooks_url":"https://api.github.com/repos/gronke/ansible-role-seafile/hooks","issue_events_url":"https://api.github.com/repos/gronke/ansible-role-seafile/issues/events{/number}","events_url":"https://api.github.com/repos/gronke/ansible-role-seafile/events","assignees_url":"https://api.github.com/repos/gronke/ansible-role-seafile/assignees{/user}","branches_url":"https://api.github.com/repos/gronke/ansible-role-seafile/branches{/branch}","tags_url":"https://api.github.com/repos/gronke/ansible-role-seafile/tags","blobs_url":"https://api.github.com/repos/gronke/ansible-role-seafile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gronke/ansible-role-seafile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gronke/ansible-role-seafile/git/refs{/sha}","trees_url":"https://api.github.com/repos/gronke/ansible-role-seafile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gronke/ansible-role-seafile/statuses/{sha}","languages_url":"https://api.github.com/repos/gronke/ansible-role-seafile/languages","stargazers_url":"https://api.github.com/repos/gronke/ansible-role-seafile/stargazers","contributors_url":"https://api.github.com/repos/gronke/ansible-role-seafile/contributors","subscribers_url":"https://api.github.com/repos/gronke/ansible-role-seafile/subscribers","subscription_url":"https://api.github.com/repos/gronke/ansible-role-seafile/subscription","commits_url":"https://api.github.com/repos/gronke/ansible-role-seafile/commits{/sha}","git_commits_url":"https://api.github.com/repos/gronke/ansible-role-seafile/git/commits{/sha}","comments_url":"https://api.github.com/repos/gronke/ansible-role-seafile/comments{/number}","issue_comment_url":"https://api.github.com/repos/gronke/ansible-role-seafile/issues/comments{/number}","contents_url":"https://api.github.com/repos/gronke/ansible-role-seafile/contents/{+path}","compare_url":"https://api.github.com/repos/gronke/ansible-role-seafile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gronke/ansible-role-seafile/merges","archive_url":"https://api.github.com/repos/gronke/ansible-role-seafile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gronke/ansible-role-seafile/downloads","issues_url":"https://api.github.com/repos/gronke/ansible-role-seafile/issues{/number}","pulls_url":"https://api.github.com/repos/gronke/ansible-role-seafile/pulls{/number}","milestones_url":"https://api.github.com/repos/gronke/ansible-role-seafile/milestones{/number}","notifications_url":"https://api.github.com/repos/gronke/ansible-role-seafile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gronke/ansible-role-seafile/labels{/name}","releases_url":"https://api.github.com/repos/gronke/ansible-role-seafile/releases{/id}","deployments_url":"https://api.github.com/repos/gronke/ansible-role-seafile/deployments","created_at":"2016-08-29T23:58:20Z","updated_at":"2016-08-29T23:58:22Z","pushed_at":"2016-08-30T09:58:34Z","git_url":"git://github.com/gronke/ansible-role-seafile.git","ssh_url":"git@github.com:gronke/ansible-role-seafile.git","clone_url":"https://github.com/gronke/ansible-role-seafile.git","svn_url":"https://github.com/gronke/ansible-role-seafile","homepage":null,"size":50,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"stable"}},"base":{"label":"ginsys:stable","ref":"stable","sha":"4ad0956322f3e6594681f2fd644bd67060e18197","user":{"login":"ginsys","id":4183827,"avatar_url":"https://avatars.githubusercontent.com/u/4183827?v=3","gravatar_id":"","url":"https://api.github.com/users/ginsys","html_url":"https://github.com/ginsys","followers_url":"https://api.github.com/users/ginsys/followers","following_url":"https://api.github.com/users/ginsys/following{/other_user}","gists_url":"https://api.github.com/users/ginsys/gists{/gist_id}","starred_url":"https://api.github.com/users/ginsys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ginsys/subscriptions","organizations_url":"https://api.github.com/users/ginsys/orgs","repos_url":"https://api.github.com/users/ginsys/repos","events_url":"https://api.github.com/users/ginsys/events{/privacy}","received_events_url":"https://api.github.com/users/ginsys/received_events","type":"Organization","site_admin":false},"repo":{"id":20358012,"name":"ansible-role-seafile","full_name":"ginsys/ansible-role-seafile","owner":{"login":"ginsys","id":4183827,"avatar_url":"https://avatars.githubusercontent.com/u/4183827?v=3","gravatar_id":"","url":"https://api.github.com/users/ginsys","html_url":"https://github.com/ginsys","followers_url":"https://api.github.com/users/ginsys/followers","following_url":"https://api.github.com/users/ginsys/following{/other_user}","gists_url":"https://api.github.com/users/ginsys/gists{/gist_id}","starred_url":"https://api.github.com/users/ginsys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ginsys/subscriptions","organizations_url":"https://api.github.com/users/ginsys/orgs","repos_url":"https://api.github.com/users/ginsys/repos","events_url":"https://api.github.com/users/ginsys/events{/privacy}","received_events_url":"https://api.github.com/users/ginsys/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ginsys/ansible-role-seafile","description":"An ansible role to deploy Seafile, an Open Source Cloud Storage. http://seafile.com/","fork":false,"url":"https://api.github.com/repos/ginsys/ansible-role-seafile","forks_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/forks","keys_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/teams","hooks_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/hooks","issue_events_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/issues/events{/number}","events_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/events","assignees_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/assignees{/user}","branches_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/branches{/branch}","tags_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/tags","blobs_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/git/refs{/sha}","trees_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/statuses/{sha}","languages_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/languages","stargazers_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/stargazers","contributors_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/contributors","subscribers_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/subscribers","subscription_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/subscription","commits_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/commits{/sha}","git_commits_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/git/commits{/sha}","comments_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/comments{/number}","issue_comment_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/issues/comments{/number}","contents_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/contents/{+path}","compare_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/merges","archive_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/downloads","issues_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/issues{/number}","pulls_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/pulls{/number}","milestones_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/milestones{/number}","notifications_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/labels{/name}","releases_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/releases{/id}","deployments_url":"https://api.github.com/repos/ginsys/ansible-role-seafile/deployments","created_at":"2014-05-31T15:03:08Z","updated_at":"2016-06-21T00:20:29Z","pushed_at":"2016-08-30T10:12:01Z","git_url":"git://github.com/ginsys/ansible-role-seafile.git","ssh_url":"git@github.com:ginsys/ansible-role-seafile.git","clone_url":"https://github.com/ginsys/ansible-role-seafile.git","svn_url":"https://github.com/ginsys/ansible-role-seafile","homepage":null,"size":55,"stargazers_count":21,"watchers_count":21,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":0,"forks":14,"open_issues":0,"watchers":21,"default_branch":"stable"}},"_links":{"self":{"href":"https://api.github.com/repos/ginsys/ansible-role-seafile/pulls/11"},"html":{"href":"https://github.com/ginsys/ansible-role-seafile/pull/11"},"issue":{"href":"https://api.github.com/repos/ginsys/ansible-role-seafile/issues/11"},"comments":{"href":"https://api.github.com/repos/ginsys/ansible-role-seafile/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/ginsys/ansible-role-seafile/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/ginsys/ansible-role-seafile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ginsys/ansible-role-seafile/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/ginsys/ansible-role-seafile/statuses/a5452a4f9a9dd7aaeb275a3940424109f06b963c"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"srvg","id":382239,"avatar_url":"https://avatars.githubusercontent.com/u/382239?v=3","gravatar_id":"","url":"https://api.github.com/users/srvg","html_url":"https://github.com/srvg","followers_url":"https://api.github.com/users/srvg/followers","following_url":"https://api.github.com/users/srvg/following{/other_user}","gists_url":"https://api.github.com/users/srvg/gists{/gist_id}","starred_url":"https://api.github.com/users/srvg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srvg/subscriptions","organizations_url":"https://api.github.com/users/srvg/orgs","repos_url":"https://api.github.com/users/srvg/repos","events_url":"https://api.github.com/users/srvg/events{/privacy}","received_events_url":"https://api.github.com/users/srvg/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"srvg"}}