-
Notifications
You must be signed in to change notification settings - Fork 117
error getting Gitolite infos #444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
After following steps provided in #440 by seberoth (https://github.com/seberoth), most of the error lines are gone and this new error line appeared in git_hosting.log: How to fix this? |
What does |
hi, I upgraded the plugin to 1.1.0. 2015-06-09 15:23:32 +0000 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user. 2015-06-09 15:23:33 +0000 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user. When I issued your command, strangely it returned 'info' result: git@fhysvr:/opt/redmine/redmine-3.0.3/plugins/redmine_git_hosting$ ssh -i ssh_keys/redmine_gitolite_admin_id_rsa git@localhost info /usr/share/info/dir File: dir, Node: Top This is the top of the INFO tree This (the Directory node) gives a menu of major topics. Typing "q" exits, "?" lists all Info commands, "d" returns here, "h" gives a primer for first-timers, "mEmacs" visits the Emacs manual, etc. In Emacs, you can click mouse button 2 on a menu item or cross reference to select it. * Menu: Basics * Common options: (coreutils)Common options. * Coreutils: (coreutils). Core GNU (file, text, shell) utilities. * Date input formats: (coreutils)Date input formats. * Ed: (ed). The GNU line editor * File permissions: (coreutils)File permissions. Access modes. * Finding files: (find). Operating on files matching certain criteria. ... |
Gitolite seems to be not well installed : http://redmine-git-hosting.io/get_started/#step-4-user-running-redmine-must-have-rw-access-to-gitolite-admin |
hi Nicolas, This error: 2015-06-09 15:23:32 +0000 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user. 2015-06-09 15:23:33 +0000 [ERROR] Error while getting Gitolite infos, check your SSH keys (path, permissions) or your Git user. was gone after I set properly permission of redmine_gitolite_admin_id_rsa to 0600. Now I see other ERRORs like these: 2015-06-10 19:13:57 +0000 [INFO] Accessing gitolite-admin.git at '/tmp/redmine_git_hosting/git/gitolite-admin.git' 2015-06-10 19:13:58 +0000 [ERROR] Access denied for Gitolite Admin SSH Keys 2015-06-10 19:13:58 +0000 [ERROR] Early EOF 2015-06-10 19:13:58 +0000 [INFO] Enable README creation for repositories 2015-06-10 19:13:58 +0000 [INFO] Create tmp directory : '/tmp/redmine_git_hosting/git/gitolite-admin.git' 2015-06-10 19:13:58 +0000 [INFO] Accessing gitolite-admin.git at '/tmp/redmine_git_hosting/git/gitolite-admin.git' 2015-06-10 19:13:59 +0000 [ERROR] Access denied for Gitolite Admin SSH Keys 2015-06-10 19:13:59 +0000 [ERROR] Early EOF 2015-06-10 19:14:00 +0000 [INFO] Create tmp directory : '/tmp/redmine_git_hosting/git/gitolite-admin.git' 2015-06-10 19:14:00 +0000 [INFO] Testing if Redmine user 'www-data' can sudo to Gitolite user 'git'... 2015-06-10 19:14:00 +0000 [INFO] OK! 2015-06-10 19:14:16 +0000 [INFO] Installing Redmine Gitolite mirroring SSH keys ... 2015-06-10 19:14:16 +0000 [INFO] Done! 2015-06-10 19:14:28 +0000 [ERROR] Git exited with non-zero status : 128 What're those error referring to? I have:
... but my gitolite banner is still not right. |
This means that this SSH key has no read access to Gitolite Admin repo thus the next error : |
Hi,
I saw many ERROR like below in my git_hosting.log
I have created the ssh_keys for "git" user.
I have configured so "git" user can run as "www-data" and vice versa.
Can you tell me what I 've possibly missed?
Thanks,
Abubobe
/opt/redmine-3.0.3/log/git_hosting.log:
My redmine environment:
Redmine 3.0.3.stable
Default administrator account changed True
Attachments directory writable True
Plugin assets directory writable (./public/plugin_assets) True
RMagick available (optional) True
ImageMagick convert available (optional) True
The text was updated successfully, but these errors were encountered: