{"action":"created","issue":{"url":"https://api.github.com/repos/jupyterhub/zero-to-jupyterhub-k8s/issues/819","repository_url":"https://api.github.com/repos/jupyterhub/zero-to-jupyterhub-k8s","labels_url":"https://api.github.com/repos/jupyterhub/zero-to-jupyterhub-k8s/issues/819/labels{/name}","comments_url":"https://api.github.com/repos/jupyterhub/zero-to-jupyterhub-k8s/issues/819/comments","events_url":"https://api.github.com/repos/jupyterhub/zero-to-jupyterhub-k8s/issues/819/events","html_url":"https://github.com/jupyterhub/zero-to-jupyterhub-k8s/issues/819","id":347702839,"node_id":"MDU6SXNzdWUzNDc3MDI4Mzk=","number":819,"title":"Jupyterhub fails to launch server: 500 Internal Server Error","user":{"login":"vishwesh5","id":12136202,"node_id":"MDQ6VXNlcjEyMTM2MjAy","avatar_url":"https://avatars3.githubusercontent.com/u/12136202?v=4","gravatar_id":"","url":"https://api.github.com/users/vishwesh5","html_url":"https://github.com/vishwesh5","followers_url":"https://api.github.com/users/vishwesh5/followers","following_url":"https://api.github.com/users/vishwesh5/following{/other_user}","gists_url":"https://api.github.com/users/vishwesh5/gists{/gist_id}","starred_url":"https://api.github.com/users/vishwesh5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishwesh5/subscriptions","organizations_url":"https://api.github.com/users/vishwesh5/orgs","repos_url":"https://api.github.com/users/vishwesh5/repos","events_url":"https://api.github.com/users/vishwesh5/events{/privacy}","received_events_url":"https://api.github.com/users/vishwesh5/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-08-05T14:28:36Z","updated_at":"2018-08-06T14:11:51Z","closed_at":null,"author_association":"NONE","body":"Hi everyone!\r\nGoing through the documentation, I setup a default jupyterhub k8 cluster on Google cloud and it worked perfectly fine. Later on, I created my own docker image where I built opencv with opencv_contrib from scratch and pushed the docker image on gcr.io. I then referred to the **extending jupyterhub** section in the documentation and followed the steps specified to revise my `config.yaml` file. I then relaunch my jupyterhub server and after waiting for several minutes for the server to start, I get the following error:\r\n\r\n> 500 : Internal Server Error\r\n> Failed to start your server. Please contact admin.\r\n> \r\n> You can try restarting your server from the home page.\r\n\r\n## Contents of `config.yaml`\r\n```\r\nproxy:\r\n    secretToken: \"my secret token\"\r\nsingleuser:\r\n    image:\r\n        name: docker image on gcr.io\r\n        tag: version1\r\n```\r\nI was earlier having a doubt that the docker image I made was somehow screwed up but when I built it on an AWS machine using the [dockerfile](https://github.com/vishwesh5/OpenCV-Docker/blob/master/Dockerfile) and it worked fine.\r\nAnother thing is that when I use `jupyter-repo2docker`, the process stops in mid as there is no more space left on the device. Now I don't want to add more nodes as that will be more expensive, I thought maybe I should add SSD but since I first had no clue how to do that and second the docker image on gcr.io was occupying only 5 GB, I thought that maybe more disk space is not required at all.\r\nHere is the output I get from `df -h` on gcloud:\r\n```\r\nFilesystem      Size  Used Avail Use% Mounted on\r\noverlay          31G   24G  7.3G  77% /\r\ntmpfs           848M     0  848M   0% /dev\r\ntmpfs           848M     0  848M   0% /sys/fs/cgroup\r\n/dev/sdb1       4.8G   82M  4.5G   2% /home\r\noverlayfs       1.0M  100K  924K  10% /etc/ssh/keys\r\ntmpfs           848M  712K  847M   1% /run/metrics\r\n/dev/sda1        31G   24G  7.3G  77% /etc/hosts\r\nshm              64M     0   64M   0% /dev/shm\r\noverlayfs       1.0M  100K  924K  10% /etc/ssh/ssh_host_dsa_key\r\ntmpfs           848M     0  848M   0% /run/google/devshell\r\n```\r\nCan someone please help me out with this?\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/jupyterhub/zero-to-jupyterhub-k8s/issues/comments/410721650","html_url":"https://github.com/jupyterhub/zero-to-jupyterhub-k8s/issues/819#issuecomment-410721650","issue_url":"https://api.github.com/repos/jupyterhub/zero-to-jupyterhub-k8s/issues/819","id":410721650,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDcyMTY1MA==","user":{"login":"consideRatio","id":3837114,"node_id":"MDQ6VXNlcjM4MzcxMTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/3837114?v=4","gravatar_id":"","url":"https://api.github.com/users/consideRatio","html_url":"https://github.com/consideRatio","followers_url":"https://api.github.com/users/consideRatio/followers","following_url":"https://api.github.com/users/consideRatio/following{/other_user}","gists_url":"https://api.github.com/users/consideRatio/gists{/gist_id}","starred_url":"https://api.github.com/users/consideRatio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/consideRatio/subscriptions","organizations_url":"https://api.github.com/users/consideRatio/orgs","repos_url":"https://api.github.com/users/consideRatio/repos","events_url":"https://api.github.com/users/consideRatio/events{/privacy}","received_events_url":"https://api.github.com/users/consideRatio/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T14:11:51Z","updated_at":"2018-08-06T14:11:51Z","author_association":"MEMBER","body":"@vishwesh5 it seems from `Back-off restarting failed container` that the container starts, but it crashes. Then there will be some logs to find in the pod.\r\n\r\n`kubectl logs jupyter-test`"}}
{"actor":{"display_login":"consideRatio"}}