{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/jupyterhub/issues/291","labels_url":"https://api.github.com/repos/jupyter/jupyterhub/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/jupyterhub/issues/291/comments","events_url":"https://api.github.com/repos/jupyter/jupyterhub/issues/291/events","html_url":"https://github.com/jupyter/jupyterhub/issues/291","id":102927111,"number":291,"title":"500 : Internal Server Error - jupyterhub with dockerspawner","user":{"login":"mattwg","id":8468061,"avatar_url":"https://avatars.githubusercontent.com/u/8468061?v=3","gravatar_id":"","url":"https://api.github.com/users/mattwg","html_url":"https://github.com/mattwg","followers_url":"https://api.github.com/users/mattwg/followers","following_url":"https://api.github.com/users/mattwg/following{/other_user}","gists_url":"https://api.github.com/users/mattwg/gists{/gist_id}","starred_url":"https://api.github.com/users/mattwg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattwg/subscriptions","organizations_url":"https://api.github.com/users/mattwg/orgs","repos_url":"https://api.github.com/users/mattwg/repos","events_url":"https://api.github.com/users/mattwg/events{/privacy}","received_events_url":"https://api.github.com/users/mattwg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-08-25T01:18:08Z","updated_at":"2015-09-22T03:44:11Z","closed_at":"2015-08-25T06:33:43Z","body":"I have JupyterHub running at here at eBay.   The whole Jupyter project is awesome - thanks for all your hard work!  \r\n\r\nI now want to try and get this working to use our OpenStack cloud - spawning notebooks on a small cluster using Docker Swarm.  As a first step I want to get the DockerSpawner working on the server.  BTW - I am a data scientist not a sysadmin/coder so please bear with me ;-)\r\n\r\nI have a problem now that I am trying to using DockerSpawner and in particular SystemUserSpawner.\r\n\r\nI followed the instructions here. I can log into the hub and when I start a server I get no errors in the log:\r\n\r\n```\r\nroot@jupyter01-8523:~# [I 2015-08-24 17:54:15.073 JupyterHub app:518] Loading cookie_secret from /root/jupyterhub_cookie_secret\r\n[W 2015-08-24 17:54:15.109 JupyterHub app:257] \r\n    Generating CONFIGPROXY_AUTH_TOKEN. Restarting the Hub will require restarting the proxy.\r\n    Set CONFIGPROXY_AUTH_TOKEN env or JupyterHub.proxy_auth_token config to avoid this message.\r\n    \r\n[I 2015-08-24 17:54:15.117 JupyterHub app:654] Not using whitelist. Any authenticated user will be allowed.\r\n[I 2015-08-24 17:54:15.128 JupyterHub app:1032] Hub API listening on http://localhost:8081/hub/\r\n[I 2015-08-24 17:54:15.132 JupyterHub app:789] Starting proxy @ http://*:8000/\r\n17:54:15.255 - info: [ConfigProxy] Proxying http://*:8000 to http://localhost:8081\r\n17:54:15.258 - info: [ConfigProxy] Proxy API at http://localhost:8001/api/routes\r\n[I 2015-08-24 17:54:15.340 JupyterHub app:1055] JupyterHub is now running at http://localhost:8000/\r\n[I 2015-08-24 17:54:18.943 JupyterHub log:100] 200 GET /hub/ (@10.254.185.51) 31.87ms\r\n[I 2015-08-24 17:54:23.109 JupyterHub dockerspawner:333] Found existing container 'jupyter-magardner' (id: a6cba20)\r\n[I 2015-08-24 17:54:23.109 JupyterHub dockerspawner:338] Starting container 'jupyter-magardner' (id: a6cba20)\r\n[I 2015-08-24 17:54:24.434 JupyterHub base:277] User magardner server took 1.378 seconds to start\r\n[I 2015-08-24 17:54:24.434 JupyterHub orm:170] Adding user magardner to proxy /user/magardner => http://127.0.0.1:32770\r\n[I 2015-08-24 17:54:24.462 JupyterHub log:100] 302 POST /hub/login?next= (@10.254.185.51) 1637.46ms\r\n[I 2015-08-24 17:54:24.462 JupyterHub login:76] User logged in: magardner\r\n[I 2015-08-24 17:54:24.501 JupyterHub log:100] 302 GET /hub/ (magardner@10.254.185.51) 11.75ms\r\n```\r\nBut in the web browser I get 500 : Internal Server Error.  Any ideas what could be going on?  I can stop the server from the Control Panel just fine.  \r\n\r\nFor now I am running JupyterHub as sudo - I will tighten that up when I can spawn docker containers.  \r\n\r\nAny ideas that might help me here? \r\n\r\nThanks,\r\nMatt"},"comment":{"url":"https://api.github.com/repos/jupyter/jupyterhub/issues/comments/142171153","html_url":"https://github.com/jupyter/jupyterhub/issues/291#issuecomment-142171153","issue_url":"https://api.github.com/repos/jupyter/jupyterhub/issues/291","id":142171153,"user":{"login":"jerrylam","id":1611684,"avatar_url":"https://avatars.githubusercontent.com/u/1611684?v=3","gravatar_id":"","url":"https://api.github.com/users/jerrylam","html_url":"https://github.com/jerrylam","followers_url":"https://api.github.com/users/jerrylam/followers","following_url":"https://api.github.com/users/jerrylam/following{/other_user}","gists_url":"https://api.github.com/users/jerrylam/gists{/gist_id}","starred_url":"https://api.github.com/users/jerrylam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerrylam/subscriptions","organizations_url":"https://api.github.com/users/jerrylam/orgs","repos_url":"https://api.github.com/users/jerrylam/repos","events_url":"https://api.github.com/users/jerrylam/events{/privacy}","received_events_url":"https://api.github.com/users/jerrylam/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T03:44:10Z","updated_at":"2015-09-22T03:44:10Z","body":"It will definitely help if the documentation can be updated according to the configurations here. As of now, one cannot use the dockerspawner following the user guide. "}}