Re: when install reviewboard on centOS, I get this error
same issue here... how did you guys resolve it? On Wednesday, August 21, 2013 8:46:33 PM UTC-5, xuh...@gmail.com wrote: 在 2013年8月22日星期四UTC+8上午3时38分04秒,Christian Hammond写道: On Wed, Aug 21, 2013 at 4:06 AM, Stephen Gallagher ste...@gallagherhome.com wrote: On 08/21/2013 04:41 AM, xuh...@gmail.com wrote: *it seems many people meet same problem, but don't find a good solution* it seems many people meet that problem, but can't find a good solution Manual server updates required A recent upgrade requires manual updates to be made on this server. After these changes are made, you should restart your server. If you have any questions or problems, please contact us on our mailing list http://groups.google.com/group/reviewboard. Data directory changes Your site's data directory isn't properly set up. This directory is where Review Board will store various state and configuration needed to access repositories. Your data directory is currently at: /space/work/tflex_builder/192.168.58.238/data Permission problems The data directory must be writable by the web server. On Linux/Unix/Mac, you can fix this by typing: $ sudo chown -R root /space/work/tflex_builder/ 192.168.58.238/data On Windows, right-click the data directory and change the ownership to root and restart the server. Extensions media directory changes Your site's extensions media directory isn't properly set up. This directory is where Review Board will store various extension media files. Your extensions media directory is currently at:/space/work/tflex_builder/192.168.58.238/htdocs/media/ext Permission problems The directory must be writable by the web server. On Linux/Unix/Mac, you can fix this by typing: $ sudo chown -R root /space/work/tflex_builder/ 192.168.58.238/htdocs/media/ext On Windows, right-click the data directory and change the ownership to root. Well, the obvious question here is whether you followed the 'chown' instructions above, since it should be telling you exactly what you need to do for ReviewBoard to start working. (You will also need to restart apache httpd). It concerns me that the server is running as root. This is a very bad thing, and you should revisit your server setup. If root is unable to access that directory, make sure it exists. If it does not, then something weird happened with your rb-site install. If it does exist, and SELinux is enabled, that may be the cause. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com It does exist and SELinux is disable -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: GIT Repository - Local vs Remote Setup
Hi guys Apologize if my issue is slightly off than the topic - but I cannot get my Reviewboard to work. My ReviewBoard is on a different server than git server. I have already installed gitweb on git server and can view git code tree through browser using url ( http://[ipaddress]/?p=reponame.git;a=summary). Below are the fields I entered in ReviewBoard: *Path*: ansyed@[ipaddress]:/pathtorepo/reponame.git *Raw file url mask*: http://[ipaddress]/cgi-bin/gitweb/gitweb.cgi?p=reponame.git;a=blob_plain;f=filename;h=revision I provided username and password, also added ssh key generated by reviewboard to git server. Here is the error I get in ReviewBoard webpage: - A repository was not found at the specified path. Here are error logs: 2013-09-19 14:35:53,194 - DEBUG - - GitTool: Attempting ssh connection with host: [ipaddress], username: abc 2013-09-19 14:35:53,223 - DEBUG - - starting thread (client mode): 0x60a5a50L 2013-09-19 14:35:53,223 - INFO - - Connected (version 2.0, client OpenSSH_4.3) 2013-09-19 14:35:53,227 - DEBUG - - kex algos:['diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client encrypt:['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', 'rijndael-...@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr'] server encrypt:['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc', 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', 'rijndael-...@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr'] client mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 'hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', 'hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', 'z...@openssh.com'] server compress:['none', 'z...@openssh.com'] client lang:[''] server lang:[''] kex follows?False 2013-09-19 14:35:53,227 - DEBUG - - Ciphers agreed: local=aes128-ctr, remote=aes128-ctr 2013-09-19 14:35:53,229 - DEBUG - - using kex diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local aes128-ctr, remote aes128-ctr; mac: local hmac-sha1, remote hmac-sha1; compression: local none, remote none 2013-09-19 14:35:53,305 - DEBUG - - Switch to new keys ... 2013-09-19 14:35:53,313 - DEBUG - - Trying SSH key 7d5c466f04987b925e1ffddfa28a8c68 2013-09-19 14:35:53,345 - DEBUG - - userauth is OK 2013-09-19 14:35:55,463 - INFO - - Authentication (publickey) successful! 2013-09-19 14:35:55,562 - DEBUG - - EOF in transport thread 2013-09-19 14:35:55,578 - ERROR - - Git: Failed to find valid repository ssh://username@[ipaddress]/pathtorepo/reponame.git: error: cannot spawn rbssh: No such file or directory fatal: unable to fork I notice that colon is gone in highlighted path (colon exists in Path field). Please help!!! regards - Atif On Tuesday, January 18, 2011 11:51:59 PM UTC-6, Christian Hammond wrote: You know, it's a good question. We do it by default regardless of the code path, in order to verify that the repository was correctly set up. Maybe we want to revisit that, though I need to think more about it. Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Tue, Jan 18, 2011 at 9:26 PM, NicBinkley nbin...@vmem.comjavascript: wrote: Thanks for the assistance. I upgraded to 1.5.2 and was able to get the GIT repositories setup in conjunction with SSH keys. I'm still confused as to why ReviewBoard needs git style access when it's setup to use gitweb URLs. On Jan 11, 12:59 pm, Christian Hammond chip...@chipx86.com wrote: Hi, The http one is just an example. I'll give you a real-world example. http://reviews.reviewboard.orguses the following for our Review Board Git repo: Path: git://github.com/reviewboard/reviewboard.git Mirror Path: g...@github.com:reviewboard/reviewboard.git Raw file URL mask: http://github.com/api/v2/yaml/blob/show/reviewboard/reviewboard/ revision The problem in your case is that it's backed by SSH, and you likely don't have a proper key setup that Review Board can access. We just put out the 1.5.2 release, which does a lot to make this clearer. It provides a more meaningful error when it's hitting key issues with SSH, and it fixes authentication issues (sometimes leading to repository not found errors) due to some parsing problems. It also provides SSH key management (admin UI - Settings - SSH), allowing you to create a brand new SSH key for your RB setup (you can then use the public key provided after creation) to allow access on the server end. Or you can upload an existing private key for RB to use. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.reviewboard.org VMware, Inc
Re: remote git repository issue
I have gotten gitweb setup on git server. However, I am not able to get it right - here is the issue: Below are the values I have put for the following field (Add repository-Repository information): *Path:* 10.10.94.12:/absolutepath/repo1.git *Raw file URL mask:* http://10.10.94.12:1234/?p=repo1.git However, I still get the same error: 2013-09-18 15:30:49,783 - ERROR - - Git: Failed to find valid repository ssh://10.10.94.12/absolutepath/repo1.git: error: cannot spawn rbssh: No such file or directory fatal: unable to fork What should I do? Is there a way to remove path? - Atif On Wed, Sep 11, 2013 at 2:07 PM, David Trowbridge trowb...@gmail.comwrote: It's converting the host:path syntax into URL syntax, which is why the colon is going away. The actual failure here seems to be error: cannot spawn rbssh: No such file or directory. It sounds like the paths aren't set up properly. Note also that using remote git *requires* that you use the raw file url with a frontend like cgit or gitweb due to insufficiencies in git's remote protocols. The admin docs explain how to set this up. -David On Tue, Sep 10, 2013 at 8:48 AM, Atif syedatifna...@gmail.com wrote: I am posting this issue again - Will greatly appreciate if someone can help me. I am trying to add git repository on a remote machine. Along with other info in Manage-Repositories-Add, I entered the following path for the remote repo: 10.10.94.4: /localhome/gitusers/username/reponame.git. However, I keep getting the error below: A repository was not found at the specified path. When I looked at the log, it shows the following error: 2013-09-10 10:38:22,201 - DEBUG - - Switch to new keys ... 2013-09-10 10:38:22,217 - DEBUG - - Trying SSH key 7d5c466f04987b925e1ffddfa28a8c68 2013-09-10 10:38:22,233 - DEBUG - - userauth is OK 2013-09-10 10:38:24,313 - INFO - - Authentication (publickey) successful! 2013-09-10 10:38:24,424 - DEBUG - - EOF in transport thread 2013-09-10 10:38:24,438 - ERROR - - Git: Failed to find valid repository ssh://10.10.94.12/localhome/gitusers/username/reponame.git: error: cannot spawn rbssh: No such file or directory fatal: unable to fork Here are my questions: 1. Why is it giving the error? 2. Why does the path (see highlighted in green) in log error removes semicolon in ssh path? I think that may be causing the issue. thanks in advance Atif -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to a topic in the Google Groups reviewboard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/HivNEAtS7Fs/unsubscribe. To unsubscribe from this group and all its topics, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
remote git repository issue
I am posting this issue again - Will greatly appreciate if someone can help me. I am trying to add git repository on a remote machine. Along with other info in Manage-Repositories-Add, I entered the following path for the remote repo: 10.10.94.4:/localhome/gitusers/username/reponame.git. However, I keep getting the error below: A repository was not found at the specified path. When I looked at the log, it shows the following error: 2013-09-10 10:38:22,201 - DEBUG - - Switch to new keys ... 2013-09-10 10:38:22,217 - DEBUG - - Trying SSH key 7d5c466f04987b925e1ffddfa28a8c68 2013-09-10 10:38:22,233 - DEBUG - - userauth is OK 2013-09-10 10:38:24,313 - INFO - - Authentication (publickey) successful! 2013-09-10 10:38:24,424 - DEBUG - - EOF in transport thread 2013-09-10 10:38:24,438 - ERROR - - Git: Failed to find valid repository ssh://10.10.94.12/localhome/gitusers/username/reponame.git: error: cannot spawn rbssh: No such file or directory fatal: unable to fork Here are my questions: 1. Why is it giving the error? 2. Why does the path (see highlighted in green) in log error removes semicolon in ssh path? I think that may be causing the issue. thanks in advance Atif -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Error while adding remote git repository
Hi I am trying to setup ReviewBoard (1.7.13). I want to add a git repository which resides on remote machine. Here are the steps, I am tried to add remote repository: 1) Goto Manage-Repositories-Add 2) Add Name 3) select Hosting service as None 4) Repository type is Git 5) Path is username@10.10.94.4:/localhome/gitusers/username/reponame.git 6) Mirror Path, Raw file URL mask are empty 7) Entered Username and Password. After saving, I get the following error: A repository was not found at the specified path. I looked at the logs, it shows as: 2013-08-27 14:07:18,035 - INFO - - Authentication (publickey) failed. 2013-08-27 14:07:18,046 - DEBUG - - userauth is OK 2013-08-27 14:07:23,062 - INFO - - Authentication (password) successful! 2013-08-27 14:07:23,161 - DEBUG - - EOF in transport thread 2013-08-27 14:07:23,187 - ERROR - - Git: Failed to find valid repository ssh://username@10.10.94.4/localhome/gitusers/username/reponame.git: error: cannot spawn rbssh: No such file or directory fatal: unable to fork I noticed in the log above that there : is no more there. How to resolve the issue? thanks -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.