{"action":"created","issue":{"url":"https://api.github.com/repos/YunoHost-Apps/synapse_ynh/issues/33","repository_url":"https://api.github.com/repos/YunoHost-Apps/synapse_ynh","labels_url":"https://api.github.com/repos/YunoHost-Apps/synapse_ynh/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/YunoHost-Apps/synapse_ynh/issues/33/comments","events_url":"https://api.github.com/repos/YunoHost-Apps/synapse_ynh/issues/33/events","html_url":"https://github.com/YunoHost-Apps/synapse_ynh/pull/33","id":294244361,"number":33,"title":"Refactoring upgrade (not finished yet)","user":{"login":"maniackcrudelis","id":8302225,"avatar_url":"https://avatars2.githubusercontent.com/u/8302225?v=4","gravatar_id":"","url":"https://api.github.com/users/maniackcrudelis","html_url":"https://github.com/maniackcrudelis","followers_url":"https://api.github.com/users/maniackcrudelis/followers","following_url":"https://api.github.com/users/maniackcrudelis/following{/other_user}","gists_url":"https://api.github.com/users/maniackcrudelis/gists{/gist_id}","starred_url":"https://api.github.com/users/maniackcrudelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maniackcrudelis/subscriptions","organizations_url":"https://api.github.com/users/maniackcrudelis/orgs","repos_url":"https://api.github.com/users/maniackcrudelis/repos","events_url":"https://api.github.com/users/maniackcrudelis/events{/privacy}","received_events_url":"https://api.github.com/users/maniackcrudelis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-02-05T00:09:37Z","updated_at":"2018-02-06T23:32:44Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/YunoHost-Apps/synapse_ynh/pulls/33","html_url":"https://github.com/YunoHost-Apps/synapse_ynh/pull/33","diff_url":"https://github.com/YunoHost-Apps/synapse_ynh/pull/33.diff","patch_url":"https://github.com/YunoHost-Apps/synapse_ynh/pull/33.patch"},"body":"I just commented the code that I don't used anymore.\r\nFor now, it doesn't work...\r\n```\r\nFile \"/opt/yunohost/matrix-synapse/bin/synapse_port_db\", line 17, in <module>                \r\nfrom twisted.internet import defer, reactor                                                \r\nImportError: No module named twisted.internet\r\n```\r\nBut, I hope I will make it works."},"comment":{"url":"https://api.github.com/repos/YunoHost-Apps/synapse_ynh/issues/comments/363602704","html_url":"https://github.com/YunoHost-Apps/synapse_ynh/pull/33#issuecomment-363602704","issue_url":"https://api.github.com/repos/YunoHost-Apps/synapse_ynh/issues/33","id":363602704,"user":{"login":"maniackcrudelis","id":8302225,"avatar_url":"https://avatars2.githubusercontent.com/u/8302225?v=4","gravatar_id":"","url":"https://api.github.com/users/maniackcrudelis","html_url":"https://github.com/maniackcrudelis","followers_url":"https://api.github.com/users/maniackcrudelis/followers","following_url":"https://api.github.com/users/maniackcrudelis/following{/other_user}","gists_url":"https://api.github.com/users/maniackcrudelis/gists{/gist_id}","starred_url":"https://api.github.com/users/maniackcrudelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maniackcrudelis/subscriptions","organizations_url":"https://api.github.com/users/maniackcrudelis/orgs","repos_url":"https://api.github.com/users/maniackcrudelis/repos","events_url":"https://api.github.com/users/maniackcrudelis/events{/privacy}","received_events_url":"https://api.github.com/users/maniackcrudelis/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T23:32:44Z","updated_at":"2018-02-06T23:32:44Z","author_association":"NONE","body":"```\r\n2018-02-07 00:14:25,310 INFO     yunohost.hook <lambda> - [4692.1] ++ ynh_string_random 30\r\n2018-02-07 00:14:25,311 INFO     yunohost.hook <lambda> - [4692.1] ++ sed -n 's/\\(.\\{30\\}\\).*/\\1/p'\r\n2018-02-07 00:14:25,312 INFO     yunohost.hook <lambda> - [4692.1] ++ tr -c -d A-Za-z0-9\r\n2018-02-07 00:14:25,312 INFO     yunohost.hook <lambda> - [4692.1] ++ dd if=/dev/urandom bs=1 count=200\r\n2018-02-07 00:14:25,324 INFO     yunohost.hook <lambda> - [4692.1] + synapse_db_pwd=9xonMNqZFo51nmqAv0DyC8oxDBy5Xe\r\n2018-02-07 00:14:25,324 INFO     yunohost.hook <lambda> - [4692.1] + ynh_app_setting_set synapse synapse_db_pwd 9xonMNqZFo51nmqAv0DyC8oxDB\r\ny5Xe\r\n2018-02-07 00:14:25,324 INFO     yunohost.hook <lambda> - [4692.1] + sudo yunohost app setting synapse synapse_db_pwd --value=9xonMNqZFo51\r\nnmqAv0DyC8oxDBy5Xe --quiet\r\n2018-02-07 00:14:25,491 INFO     moulinette.actionsmap process - processing action [4921.1]: yunohost.app.setting\r\n2018-02-07 00:14:25,509 INFO     yunohost.hook <lambda> - [4692.1] + ynh_psql_create_user matrix_synapse 9xonMNqZFo51nmqAv0DyC8oxDBy5Xe\r\n2018-02-07 00:14:25,509 INFO     yunohost.hook <lambda> - [4692.1] + user=matrix_synapse\r\n2018-02-07 00:14:25,509 INFO     yunohost.hook <lambda> - [4692.1] + pwd=9xonMNqZFo51nmqAv0DyC8oxDBy5Xe\r\n2018-02-07 00:14:25,509 INFO     yunohost.hook <lambda> - [4692.1] + su '--command=psql -c\"CREATE USER matrix_synapse WITH PASSWORD '\\''9x\r\nonMNqZFo51nmqAv0DyC8oxDBy5Xe'\\''\"' postgres\r\n2018-02-07 00:14:25,517 WARNING  yunohost.hook <lambda> - [4692.1] Pas de mot de passe pour l'utilisateur « postgres »\r\n2018-02-07 00:14:25,522 INFO     yunohost.hook <lambda> - [4692.1] + ynh_exit_properly\r\n```"}}
{"actor":{"display_login":"maniackcrudelis"}}