{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/1109","labels_url":"https://api.github.com/repos/gogits/gogs/issues/1109/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/1109/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/1109/events","html_url":"https://github.com/gogits/gogs/issues/1109","id":63376203,"number":1109,"title":"Run user isn't the current user","user":{"login":"JesusIslam","id":1462021,"avatar_url":"https://avatars.githubusercontent.com/u/1462021?v=3","gravatar_id":"","url":"https://api.github.com/users/JesusIslam","html_url":"https://github.com/JesusIslam","followers_url":"https://api.github.com/users/JesusIslam/followers","following_url":"https://api.github.com/users/JesusIslam/following{/other_user}","gists_url":"https://api.github.com/users/JesusIslam/gists{/gist_id}","starred_url":"https://api.github.com/users/JesusIslam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JesusIslam/subscriptions","organizations_url":"https://api.github.com/users/JesusIslam/orgs","repos_url":"https://api.github.com/users/JesusIslam/repos","events_url":"https://api.github.com/users/JesusIslam/events{/privacy}","received_events_url":"https://api.github.com/users/JesusIslam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/deployment","name":"deployment","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-21T08:11:25Z","updated_at":"2015-03-21T10:44:18Z","closed_at":null,"body":"On installing gogs, I get `Run user isn't the current user: git -> ` error.\r\n\r\nI use docker-compose and run gogs in a container.\r\n\r\nI've tried changing the Run user into `root` but it says the same error `Run user isn't the current user: root -> `\r\n\r\nHow to fix this?"},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/84308555","html_url":"https://github.com/gogits/gogs/issues/1109#issuecomment-84308555","issue_url":"https://api.github.com/repos/gogits/gogs/issues/1109","id":84308555,"user":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"created_at":"2015-03-21T10:44:18Z","updated_at":"2015-03-21T10:44:18Z","body":"Hi @JesusIslam , Gogs reads `USER` and `USERNAME` to determine which user it is running under, you may want to assign one of those env vars in the Docker compose file."}}