{"action":"created","issue":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab-git/issues/212","repository_url":"https://api.github.com/repos/jupyterlab/jupyterlab-git","labels_url":"https://api.github.com/repos/jupyterlab/jupyterlab-git/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/jupyterlab/jupyterlab-git/issues/212/comments","events_url":"https://api.github.com/repos/jupyterlab/jupyterlab-git/issues/212/events","html_url":"https://github.com/jupyterlab/jupyterlab-git/issues/212","id":351162548,"node_id":"MDU6SXNzdWUzNTExNjI1NDg=","number":212,"title":"Always complains \"You aren’t in a git repository\" after launching juputerlab from jupyterhub","user":{"login":"jason4zhu","id":6183589,"node_id":"MDQ6VXNlcjYxODM1ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/6183589?v=4","gravatar_id":"","url":"https://api.github.com/users/jason4zhu","html_url":"https://github.com/jason4zhu","followers_url":"https://api.github.com/users/jason4zhu/followers","following_url":"https://api.github.com/users/jason4zhu/following{/other_user}","gists_url":"https://api.github.com/users/jason4zhu/gists{/gist_id}","starred_url":"https://api.github.com/users/jason4zhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jason4zhu/subscriptions","organizations_url":"https://api.github.com/users/jason4zhu/orgs","repos_url":"https://api.github.com/users/jason4zhu/repos","events_url":"https://api.github.com/users/jason4zhu/events{/privacy}","received_events_url":"https://api.github.com/users/jason4zhu/received_events","type":"User","site_admin":false},"labels":[{"id":1091947245,"node_id":"MDU6TGFiZWwxMDkxOTQ3MjQ1","url":"https://api.github.com/repos/jupyterlab/jupyterlab-git/labels/type:Question","name":"type:Question","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab-git/milestones/11","html_url":"https://github.com/jupyterlab/jupyterlab-git/milestone/11","labels_url":"https://api.github.com/repos/jupyterlab/jupyterlab-git/milestones/11/labels","id":3740304,"node_id":"MDk6TWlsZXN0b25lMzc0MDMwNA==","number":11,"title":"Reference","description":"This milestone is for issues that have no further action planned, but which are useful reference.\r\n\r\n","creator":{"login":"ellisonbg","id":27600,"node_id":"MDQ6VXNlcjI3NjAw","avatar_url":"https://avatars3.githubusercontent.com/u/27600?v=4","gravatar_id":"","url":"https://api.github.com/users/ellisonbg","html_url":"https://github.com/ellisonbg","followers_url":"https://api.github.com/users/ellisonbg/followers","following_url":"https://api.github.com/users/ellisonbg/following{/other_user}","gists_url":"https://api.github.com/users/ellisonbg/gists{/gist_id}","starred_url":"https://api.github.com/users/ellisonbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellisonbg/subscriptions","organizations_url":"https://api.github.com/users/ellisonbg/orgs","repos_url":"https://api.github.com/users/ellisonbg/repos","events_url":"https://api.github.com/users/ellisonbg/events{/privacy}","received_events_url":"https://api.github.com/users/ellisonbg/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2018-10-15T16:17:42Z","updated_at":"2018-10-15T16:25:11Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2018-08-16T11:21:35Z","updated_at":"2018-11-14T21:53:53Z","closed_at":null,"author_association":"NONE","body":"My notebook_url is set to /home/admin, and when admin logged in, it is automatically navigated to /home/admin as default. I've tried to create a new gitlab repo and apply /home/admin to this git repo after commands like (`git init; git add .; git commit -m '...'; git push origin master`). After all these done, the directory looks as below:\r\n\r\n```\r\n[root@9b27d6147671 admin]# pwd\r\n/home/admin\r\n[root@9b27d6147671 admin]# ll -a\r\ntotal 40\r\ndrwxrwx---  8 admin admin 4096 Aug 16 18:56 .\r\ndrwxr-xr-x 14 root  root  4096 Aug 16 18:33 ..\r\n-rw-------  1 admin admin   56 Aug 16 19:10 .bash_history\r\ndrwx------  3 admin admin 4096 Aug 16 18:55 .config\r\ndrwxr-xr-x  7 admin admin 4096 Aug 16 19:16 .git\r\n```\r\n\r\n I launched jupyterhub from path '/' via command `jupyterhub --port 8080` and the git extension always complains \"You aren’t in a git repository\" even though the git repo exists there. Any ideas? Thanks."},"comment":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab-git/issues/comments/438832611","html_url":"https://github.com/jupyterlab/jupyterlab-git/issues/212#issuecomment-438832611","issue_url":"https://api.github.com/repos/jupyterlab/jupyterlab-git/issues/212","id":438832611,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODgzMjYxMQ==","user":{"login":"CerebralMastication","id":126879,"node_id":"MDQ6VXNlcjEyNjg3OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/126879?v=4","gravatar_id":"","url":"https://api.github.com/users/CerebralMastication","html_url":"https://github.com/CerebralMastication","followers_url":"https://api.github.com/users/CerebralMastication/followers","following_url":"https://api.github.com/users/CerebralMastication/following{/other_user}","gists_url":"https://api.github.com/users/CerebralMastication/gists{/gist_id}","starred_url":"https://api.github.com/users/CerebralMastication/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CerebralMastication/subscriptions","organizations_url":"https://api.github.com/users/CerebralMastication/orgs","repos_url":"https://api.github.com/users/CerebralMastication/repos","events_url":"https://api.github.com/users/CerebralMastication/events{/privacy}","received_events_url":"https://api.github.com/users/CerebralMastication/received_events","type":"User","site_admin":false},"created_at":"2018-11-14T21:53:53Z","updated_at":"2018-11-14T21:53:53Z","author_association":"NONE","body":"I'm also getting the \"You aren't in a git repository\" in the git pane. \r\n\r\nI'm running:\r\n\r\njupyterlab~=0.35.0 jupyterhub~=0.9.4 notebook~=5.7\r\n\r\nI thought maybe pypi was out of date so I installed directly from https://github.com/jupyterlab/jupyterlab-git  with no change in behavior. \r\n"}}
{"actor":{"display_login":"CerebralMastication"}}