{"action":"created","issue":{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/463","labels_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/463/comments","events_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/463/events","html_url":"https://github.com/jbox-web/redmine_git_hosting/issues/463","id":90613325,"number":463,"title":"Can't clone/init my new repositories","user":{"login":"lukemorel","id":6604351,"avatar_url":"https://avatars.githubusercontent.com/u/6604351?v=3","gravatar_id":"","url":"https://api.github.com/users/lukemorel","html_url":"https://github.com/lukemorel","followers_url":"https://api.github.com/users/lukemorel/followers","following_url":"https://api.github.com/users/lukemorel/following{/other_user}","gists_url":"https://api.github.com/users/lukemorel/gists{/gist_id}","starred_url":"https://api.github.com/users/lukemorel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukemorel/subscriptions","organizations_url":"https://api.github.com/users/lukemorel/orgs","repos_url":"https://api.github.com/users/lukemorel/repos","events_url":"https://api.github.com/users/lukemorel/events{/privacy}","received_events_url":"https://api.github.com/users/lukemorel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"n-rodriguez","id":3433835,"avatar_url":"https://avatars.githubusercontent.com/u/3433835?v=3","gravatar_id":"","url":"https://api.github.com/users/n-rodriguez","html_url":"https://github.com/n-rodriguez","followers_url":"https://api.github.com/users/n-rodriguez/followers","following_url":"https://api.github.com/users/n-rodriguez/following{/other_user}","gists_url":"https://api.github.com/users/n-rodriguez/gists{/gist_id}","starred_url":"https://api.github.com/users/n-rodriguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-rodriguez/subscriptions","organizations_url":"https://api.github.com/users/n-rodriguez/orgs","repos_url":"https://api.github.com/users/n-rodriguez/repos","events_url":"https://api.github.com/users/n-rodriguez/events{/privacy}","received_events_url":"https://api.github.com/users/n-rodriguez/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-06-24T08:46:30Z","updated_at":"2015-06-25T07:41:56Z","closed_at":"2015-06-25T07:41:56Z","body":"Hello again !\r\n\r\n> Redmine 2.6.0\r\n> VM Ubuntu 14.04 server\r\n> Plugiin 1.1.0\r\n\r\nMy redmine works fine and the plugin is configurable .\r\nNow I've some projects and try to create a Gitolite repo. Okay, but when I try to clone the project via ssh with another PC (which have an user for redmine and ssh key configured in redmine too) its says me to make sure that repo exists and the access rights are good.\r\n\r\nHere is the git_hosting.log, but I'm not sure that something get into it when trying to clone, btw something get wrong :\r\n<pre>\r\n2015-06-24 09:38:50 +0200 [INFO] User 'admin' created a new repository 'deledalle/test-deledalle'\r\n2015-06-24 09:38:50 +0200 [INFO] Accessing gitolite-admin.git at '/tmp/redmine_git_hosting/git/gitolite-admin.git'\r\n2015-06-24 09:38:50 +0200 [INFO] add_repository : repository 'deledalle/test-deledalle' does not exist in Gitolite, create it ...\r\n2015-06-24 09:38:50 +0200 [INFO] add_repository : commiting to Gitolite...\r\n2015-06-24 09:38:50 +0200 [INFO] add_repository : let Gitolite create empty repository 'repositories/deledalle/test-deledalle.git'\r\n2015-06-24 09:38:51 +0200 [INFO] Execute Gitolite Plugins\r\n2015-06-24 09:38:51 +0200 [INFO] Create README file for repository 'deledalle/test-deledalle'\r\n2015-06-24 09:38:52 +0200 [ERROR] Error while creating README file for repository 'deledalle/test-deledalle'\r\n2015-06-24 09:38:52 +0200 [ERROR] Early EOF\r\n2015-06-24 09:39:05 +0200 [INFO] Installing Redmine Gitolite mirroring SSH keys ...\r\n2015-06-24 09:39:05 +0200 [INFO] Done!\r\n2015-06-24 10:06:07 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:07 +0200 [INFO] Testing if Redmine user 'www-data' can sudo to Gitolite user 'git'...\r\n2015-06-24 10:06:07 +0200 [INFO] OK!\r\n2015-06-24 10:06:07 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:07 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:07 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:07 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:07 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:07 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:07 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:07 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:07 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:07 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:07 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:08 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:08 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:08 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:08 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:08 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:08 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:08 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n2015-06-24 10:06:08 +0200 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user.\r\n</pre>\r\n\r\nI need to precise that I'm not sure of some configurations of the plugin, for example... : \r\nSSH >> SSH/Gitolite server adress (ip or ip/redmine ?)\r\nAccess >> SSH server domain (ip or ip/redmine ?)\r\nAccess >> HTTP server domain (ip or ip/redmine ?)\r\nHooks >> hoks URL (what ?)\r\n\r\nAlso I think that there are some permission problems with gitolite, www-data can sudo git (like said in the log file) but I think that www-data can't reach all the informations he needs.\r\nCan you tell me which files needs www-data permissions in a gitolite installation ?\r\n\r\nThanks again for you time. "},"comment":{"url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/comments/115149739","html_url":"https://github.com/jbox-web/redmine_git_hosting/issues/463#issuecomment-115149739","issue_url":"https://api.github.com/repos/jbox-web/redmine_git_hosting/issues/463","id":115149739,"user":{"login":"lukemorel","id":6604351,"avatar_url":"https://avatars.githubusercontent.com/u/6604351?v=3","gravatar_id":"","url":"https://api.github.com/users/lukemorel","html_url":"https://github.com/lukemorel","followers_url":"https://api.github.com/users/lukemorel/followers","following_url":"https://api.github.com/users/lukemorel/following{/other_user}","gists_url":"https://api.github.com/users/lukemorel/gists{/gist_id}","starred_url":"https://api.github.com/users/lukemorel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukemorel/subscriptions","organizations_url":"https://api.github.com/users/lukemorel/orgs","repos_url":"https://api.github.com/users/lukemorel/repos","events_url":"https://api.github.com/users/lukemorel/events{/privacy}","received_events_url":"https://api.github.com/users/lukemorel/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T07:41:56Z","updated_at":"2015-06-25T07:41:56Z","body":"Thanks again for your help Nicolas !\r\n\r\nIt seems that everything works fine, the plugin IPs were good.\r\nI think that the problem was in the roles setup.\r\n\r\nAwesome work ! :heavy_check_mark:"}}