{"action":"created","issue":{"url":"https://api.github.com/repos/tidusjar/Ombi/issues/2422","repository_url":"https://api.github.com/repos/tidusjar/Ombi","labels_url":"https://api.github.com/repos/tidusjar/Ombi/issues/2422/labels{/name}","comments_url":"https://api.github.com/repos/tidusjar/Ombi/issues/2422/comments","events_url":"https://api.github.com/repos/tidusjar/Ombi/issues/2422/events","html_url":"https://github.com/tidusjar/Ombi/issues/2422","id":347081071,"node_id":"MDU6SXNzdWUzNDcwODEwNzE=","number":2422,"title":"Ombi API breaks when ran as a service user in linux","user":{"login":"samwiseg00","id":2241731,"node_id":"MDQ6VXNlcjIyNDE3MzE=","avatar_url":"https://avatars1.githubusercontent.com/u/2241731?v=4","gravatar_id":"","url":"https://api.github.com/users/samwiseg00","html_url":"https://github.com/samwiseg00","followers_url":"https://api.github.com/users/samwiseg00/followers","following_url":"https://api.github.com/users/samwiseg00/following{/other_user}","gists_url":"https://api.github.com/users/samwiseg00/gists{/gist_id}","starred_url":"https://api.github.com/users/samwiseg00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samwiseg00/subscriptions","organizations_url":"https://api.github.com/users/samwiseg00/orgs","repos_url":"https://api.github.com/users/samwiseg00/repos","events_url":"https://api.github.com/users/samwiseg00/events{/privacy}","received_events_url":"https://api.github.com/users/samwiseg00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-02T16:15:06Z","updated_at":"2018-08-03T17:17:27Z","closed_at":null,"author_association":"NONE","body":"#### Ombi build Version:\r\n\r\nV 3.0.3529\r\n\r\n#### Update Branch:\r\n\r\nOpen Beta\r\n\r\n#### Media Sever:\r\n\r\nPlex\r\n\r\n#### Operating System:\r\n\r\nLinux 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018\r\n\r\n#### Problem Description:\r\n\r\nI am unable to run Ombi as a service user it must be ran as root.  This is the same problem that happened with issue https://github.com/tidusjar/Ombi/issues/2342. \r\n\r\n#### Reproduction Steps:\r\nsetup ombi \r\nrun as a service user with no login\r\nStart ombi and navigate to the webui\r\n\r\nyou can also hit the API and see the error. \r\n`/api/v1/Update/develop` it throws this error `{\"error\":\"error:2006D002:BIO routines:BIO_new_file:system lib\"}`\r\n\r\n```\r\nombi:x:1004:1004::/home/ombi:/bin/nologin\r\n```\r\nThe workaround right now is to run Ombi as root and then everything works correctly.\r\n\r\nPerms on the folder/files have been verified and are set to `ombi` correctly. \r\n\r\nErrors on the client side. \r\n![unknown](https://user-images.githubusercontent.com/2241731/41624555-136fd60a-73e4-11e8-83c5-fb9ab372f935.png)\r\n"},"comment":{"url":"https://api.github.com/repos/tidusjar/Ombi/issues/comments/410319628","html_url":"https://github.com/tidusjar/Ombi/issues/2422#issuecomment-410319628","issue_url":"https://api.github.com/repos/tidusjar/Ombi/issues/2422","id":410319628,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDMxOTYyOA==","user":{"login":"samwiseg00","id":2241731,"node_id":"MDQ6VXNlcjIyNDE3MzE=","avatar_url":"https://avatars1.githubusercontent.com/u/2241731?v=4","gravatar_id":"","url":"https://api.github.com/users/samwiseg00","html_url":"https://github.com/samwiseg00","followers_url":"https://api.github.com/users/samwiseg00/followers","following_url":"https://api.github.com/users/samwiseg00/following{/other_user}","gists_url":"https://api.github.com/users/samwiseg00/gists{/gist_id}","starred_url":"https://api.github.com/users/samwiseg00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samwiseg00/subscriptions","organizations_url":"https://api.github.com/users/samwiseg00/orgs","repos_url":"https://api.github.com/users/samwiseg00/repos","events_url":"https://api.github.com/users/samwiseg00/events{/privacy}","received_events_url":"https://api.github.com/users/samwiseg00/received_events","type":"User","site_admin":false},"created_at":"2018-08-03T17:17:27Z","updated_at":"2018-08-03T17:17:27Z","author_association":"NONE","body":"Leaving a comment here from the .Net core team incase someone else has this issue. \r\n\r\nAnother workaround (other than running as root) for the moment is to set `DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0` in your env variable to use the older WinHttpHandler/CurlHandler HTTP stack.\r\n\r\n```\r\nexport DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0\r\nprintenv DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER\r\n0\r\n```"}}
{"actor":{"display_login":"samwiseg00"}}