{"action":"created","issue":{"url":"https://api.github.com/repos/ustream/openduty/issues/42","labels_url":"https://api.github.com/repos/ustream/openduty/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/ustream/openduty/issues/42/comments","events_url":"https://api.github.com/repos/ustream/openduty/issues/42/events","html_url":"https://github.com/ustream/openduty/issues/42","id":115984884,"number":42,"title":"Failing to create service in heroku-type deployment","user":{"login":"blysik","id":58610,"avatar_url":"https://avatars.githubusercontent.com/u/58610?v=3","gravatar_id":"","url":"https://api.github.com/users/blysik","html_url":"https://github.com/blysik","followers_url":"https://api.github.com/users/blysik/followers","following_url":"https://api.github.com/users/blysik/following{/other_user}","gists_url":"https://api.github.com/users/blysik/gists{/gist_id}","starred_url":"https://api.github.com/users/blysik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blysik/subscriptions","organizations_url":"https://api.github.com/users/blysik/orgs","repos_url":"https://api.github.com/users/blysik/repos","events_url":"https://api.github.com/users/blysik/events{/privacy}","received_events_url":"https://api.github.com/users/blysik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-09T22:45:57Z","updated_at":"2015-11-10T17:00:17Z","closed_at":null,"body":"I have it deployed in a Heroku-like system. (Uses Heroku buildpacks, generally behaves like Heroku.) Everything looks good.  \r\n\r\nHowever, when I try to save a new Service, I get this error:\r\n```\r\nDataError at /services/save\r\ninvalid input syntax for uuid: \"0\"\r\nLINE 1: ... FROM \"openduty_service\" WHERE \"openduty_service\".\"id\" = '0'\r\n```\r\n\r\nIn the Postgres log:\r\n```\r\nERROR:  invalid input syntax for uuid: \"0\" at character 257\r\nSTATEMENT:  SELECT \"openduty_service\".\"name\", \"openduty_service\".\"id\", \"openduty_service\".\"retry\", \"openduty_service\".\"policy_id\", \"openduty_service\".\"escalate_after\", \"openduty_service\".\"notifications_disabled\" FROM \"openduty_service\" WHERE \"openduty_service\".\"id\" = '0'\r\n```\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/ustream/openduty/issues/comments/155486563","html_url":"https://github.com/ustream/openduty/issues/42#issuecomment-155486563","issue_url":"https://api.github.com/repos/ustream/openduty/issues/42","id":155486563,"user":{"login":"blysik","id":58610,"avatar_url":"https://avatars.githubusercontent.com/u/58610?v=3","gravatar_id":"","url":"https://api.github.com/users/blysik","html_url":"https://github.com/blysik","followers_url":"https://api.github.com/users/blysik/followers","following_url":"https://api.github.com/users/blysik/following{/other_user}","gists_url":"https://api.github.com/users/blysik/gists{/gist_id}","starred_url":"https://api.github.com/users/blysik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blysik/subscriptions","organizations_url":"https://api.github.com/users/blysik/orgs","repos_url":"https://api.github.com/users/blysik/repos","events_url":"https://api.github.com/users/blysik/events{/privacy}","received_events_url":"https://api.github.com/users/blysik/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T17:00:17Z","updated_at":"2015-11-10T17:00:17Z","body":"Deploying the fix now.  Here's what I've added to my Procfile for the worker stuff:\r\n```\r\ncelery: celery worker -A openduty --loglevel=INFO -Ofair\r\nscheduler: celery worker -B -A openduty --loglevel=INFO -Ofair\r\n```\r\nThat look fine?"}}