{"action":"closed","issue":{"url":"https://api.github.com/repos/it-projects-llc/odoo-saas-tools/issues/322","repository_url":"https://api.github.com/repos/it-projects-llc/odoo-saas-tools","labels_url":"https://api.github.com/repos/it-projects-llc/odoo-saas-tools/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/it-projects-llc/odoo-saas-tools/issues/322/comments","events_url":"https://api.github.com/repos/it-projects-llc/odoo-saas-tools/issues/322/events","html_url":"https://github.com/it-projects-llc/odoo-saas-tools/issues/322","id":164889195,"number":322,"title":"Installation problem  INTERNAL SERVER ERROR ","user":{"login":"nadiaafa","id":20404183,"avatar_url":"https://avatars.githubusercontent.com/u/20404183?v=3","gravatar_id":"","url":"https://api.github.com/users/nadiaafa","html_url":"https://github.com/nadiaafa","followers_url":"https://api.github.com/users/nadiaafa/followers","following_url":"https://api.github.com/users/nadiaafa/following{/other_user}","gists_url":"https://api.github.com/users/nadiaafa/gists{/gist_id}","starred_url":"https://api.github.com/users/nadiaafa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadiaafa/subscriptions","organizations_url":"https://api.github.com/users/nadiaafa/orgs","repos_url":"https://api.github.com/users/nadiaafa/repos","events_url":"https://api.github.com/users/nadiaafa/events{/privacy}","received_events_url":"https://api.github.com/users/nadiaafa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/it-projects-llc/odoo-saas-tools/labels/installation%20problems","name":"installation problems","color":"e99695"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-11T17:19:04Z","updated_at":"2016-07-18T05:31:39Z","closed_at":"2016-07-18T05:31:39Z","body":"I have followed Ivan's instruction and read all the support docs .\r\nI've used db-filter=%h.\r\n\r\ncreate two database:\r\nportal: saas-portal-8.local\r\nserver: s1.saas-portal-8.local\r\ni configured nginx : \r\n`server {\r\nlisten 80 default_server;\r\n\r\nserver_name .local;\r\nproxy_next_upstream error timeout invalid_header http_500 http$\r\nproxy_redirect off;\r\nproxy_set_header Host $host;\r\n\r\nproxy_set_header X-Real-IP $remote_addr;\r\n\r\nproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n\r\nproxy_set_header X-Forwarded-Proto $scheme;\r\nlocation /longpolling {\r\nproxy_pass http://127.0.0.1:8072;\r\n}\r\n\r\nlocation / {\r\nproxy_pass http://127.0.0.1:80;\r\n}\r\n\r\n}\r\n`\r\n\r\nhere is my hosts:\r\n\r\n`# generated by odoo-saas-tools\r\n127.0.0.1 saas-portal-8.local\r\n127.0.0.1 s1.saas-portal-8.local\r\n127.0.0.1 template-1.saas-portal-8.local\r\n127.0.0.1 client-001.saas-portal-8.local\r\n127.0.0.1 client-002.saas-portal-8.local\r\n127.0.0.1 client-003.saas-portal-8.local\r\n127.0.0.1 client-004.saas-portal-8.local\r\n127.0.0.1 client-005.saas-portal-8.local\r\n127.0.0.1 client-006.saas-portal-8.local\r\n127.0.0.1 client-007.saas-portal-8.local\r\n127.0.0.1 client-008.saas-portal-8.local\r\n127.0.0.1 client-009.saas-portal-8.local\r\n127.0.0.1 client-010.saas-portal-8.local\r\n`\r\n\r\nbut on creating template db i get this error:\r\n`2016-07-11 17:05:50,191 6423 ERROR saas-portal-8.local openerp.http: Exception during JSON request handling.\r\nTraceback (most recent call last):\r\n  File \"/opt/odoo/openerp/http.py\", line 543, in _handle_exception\r\n    return super(JsonRequest, self)._handle_exception(exception)\r\n  File \"/opt/odoo/openerp/http.py\", line 580, in dispatch\r\n    result = self._call_function(**self.params)\r\n  File \"/opt/odoo/openerp/http.py\", line 316, in _call_function\r\n    return checked_call(self.db, *args, **kwargs)\r\n  File \"/opt/odoo/openerp/service/model.py\", line 118, in wrapper\r\n    return f(dbname, *args, **kwargs)\r\n  File \"/opt/odoo/openerp/http.py\", line 313, in checked_call\r\n    return self.endpoint(*a, **kw)\r\n  File \"/opt/odoo/openerp/http.py\", line 809, in __call__\r\n    return self.method(*args, **kw)\r\n  File \"/opt/odoo/openerp/http.py\", line 409, in response_wrap\r\n    response = f(*args, **kw)\r\n  File \"/opt/odoo/openerp/addons/web/controllers/main.py\", line 948, in call_button\r\n    action = self._call_kw(model, method, args, {})\r\n  File \"/opt/odoo/openerp/addons/web/controllers/main.py\", line 936, in _call_kw\r\n    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)\r\n  File \"/opt/odoo/openerp/api.py\", line 268, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/openerp/api.py\", line 399, in old_api\r\n    result = method(recs, *args, **kwargs)\r\n  File \"/opt/odoo/odoo-saas-tools/saas_portal/models/saas_portal.py\", line 367, in create_template\r\n    return self.action_sync_server()\r\n  File \"/opt/odoo/openerp/api.py\", line 266, in wrapper\r\n    return new_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/odoo-saas-tools/saas_portal/models/saas_portal.py\", line 372, in action_sync_server\r\n    r.server_id.action_sync_server()\r\n  File \"/opt/odoo/openerp/api.py\", line 266, in wrapper\r\n    return new_api(self, *args, **kwargs)\r\n  File \"/opt/odoo/openerp/api.py\", line 443, in new_api\r\n    result = [method(rec, *args, **kwargs) for rec in self]\r\n  File \"/opt/odoo/odoo-saas-tools/saas_portal/models/saas_portal.py\", line 136, in action_sync_server\r\n    raise Warning('Reason: %s \\n Message: %s' % (res.reason, res.content))\r\nWarning: Reason: INTERNAL SERVER ERROR \r\n Message: expected string or buffer\r\n`\r\n\r\ncan someone help me fix this issue please.\r\n"}}
{"actor":{"display_login":"yelizariev"}}