Hi Terry, We use file permissions by default and everyone can clone from git. We validate user's group on git push.
The user "git" has read access to the repository. I can clone as this user (on the same machine running RB) without any issues. # git clone ssh://git@*xxxx*/gitrepo/*yyyy* apps Cloning into 'apps'... git@*xxxx*'s password: **** remote: Counting objects: 708635, done. [...] This is the same user that I configured in RB. Note that the web server (apache) is running under the "apache" user (RHEL 7). I was initially thinking this is a SELinux issue - but it's set to "permissive". Thanks! Pierre On Wednesday, January 27, 2016 at 9:42:52 AM UTC-5, Dunnigan, Terrence J wrote: > > How do you manage permissions to your git server? Does Reviewboard have > read access to your repo? > > > > Terry > > > > *From:* [email protected] <javascript:> [mailto: > [email protected] <javascript:>] *On Behalf Of *Pierre Bouffard > *Sent:* Tuesday, January 26, 2016 11:40 PM > *To:* reviewboard > *Subject:* Remote git server: No authentication methods available > > > > Hello, > > > > Long term Review Board fan here. :). > > > > I am in the process of migrating from CVS to git. One piece of the puzzle > is to "migrate" Review Board as well. > > > > However I am encountering difficulties with setting up a (remote) git > repository. Could you please assist me? > > > > Under "Add Repository", I am providing the following parameters: > > - Name: GIT-TEST > - Hosting Service: (None - Custom Repository) > - Repository Type: Git > - Path: ssh://git@*xxxx*/gitrepo/*yyyy* > - Mirror Path: > - Raw file URL mask: http://*xxxx*/?p=*yyyy* > ;a=blob_plain;f=<filename>;h=<revision > <http://xxxx/?p=yyyy;a=blob_plain;f=%3cfilename%3e;h=%3crevision>> > - Username: git > - Password: ******* > > When attempting to save, I see the following in the logs: > > > > <LOG> > > 2016-01-27 05:22:26,923 - DEBUG - - GitTool: Attempting ssh connection > with host: *xxxx*, username: git > > 2016-01-27 05:22:26,925 - DEBUG - - starting thread (client mode): > 0xb7c48ad0L > > 2016-01-27 05:22:26,952 - INFO - - Connected (version 2.0, client > OpenSSH_5.3) > > 2016-01-27 05:22:26,954 - DEBUG - - kex > algos:[u'diffie-hellman-group-exchange-sha256', > u'diffie-hellman-group-exchange-sha1', u'diffie-hellman-group14-sha1', > u'diffie-hellman-group1-sha1'] server key:[u'ssh-rsa', u'ssh-dss'] client > encrypt:[u'aes128-ctr', u'aes192-ctr', u'aes256-ctr', u'arcfour256', > u'arcfour128', u'aes128-cbc', u'3des-cbc', u'blowfish-cbc', u'cast128-cbc', > u'aes192-cbc', u'aes256-cbc', u'arcfour', u'[email protected] > <javascript:>'] server encrypt:[u'aes128-ctr', u'aes192-ctr', > u'aes256-ctr', u'arcfour256', u'arcfour128', u'aes128-cbc', u'3des-cbc', > u'blowfish-cbc', u'cast128-cbc', u'aes192-cbc', u'aes256-cbc', u'arcfour', > u'[email protected] <javascript:>'] client mac:[u'hmac-md5', > u'hmac-sha1', u'[email protected] <javascript:>', u'hmac-sha2-256', > u'hmac-sha2-512', u'hmac-ripemd160', u'[email protected] <javascript:>', > u'hmac-sha1-96', u'hmac-md5-96'] server mac:[u'hmac-md5', u'hmac-sha1', > u'[email protected] <javascript:>', u'hmac-sha2-256', u'hmac-sha2-512', > u'hmac-ripemd160', u'[email protected] <javascript:>', > u'hmac-sha1-96', u'hmac-md5-96'] client compress:[u'none', > u'[email protected] <javascript:>'] server compress:[u'none', > u'[email protected] <javascript:>'] client lang:[u''] server lang:[u''] > kex follows?False > > 2016-01-27 05:22:26,954 - DEBUG - - Ciphers agreed: local=aes128-ctr, > remote=aes128-ctr > > 2016-01-27 05:22:26,954 - DEBUG - - using kex > diffie-hellman-group14-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 > > 2016-01-27 05:22:26,990 - DEBUG - - Switch to new keys ... > > 2016-01-27 05:22:27,030 - DEBUG - - userauth is OK > > 2016-01-27 05:22:29,190 - INFO - - Authentication (password) successful! > > 2016-01-27 05:22:29,290 - DEBUG - - EOF in transport thread > > 2016-01-27 05:22:29,686 - ERROR - - Git: Failed to find valid repository > ssh://git@*xxxx*/gitrepo/*yyyy*: Error connecting to server: No > authentication methods available > > fatal: Could not read from remote repository. > > > > Please make sure you have the correct access rights > > and the repository exists. > > </LOG> > > > > In the UI, I see the following error: "A repository was not found at the > specified path." > > > > I am using Review Board Version: 2.0.18 > > > > I have been referring to the following in the docs: > > > https://www.reviewboard.org/docs/manual/2.0/admin/configuration/repositories/#repository-information > > > https://www.reviewboard.org/docs/manual/2.0/admin/configuration/repositories/#determining-repository-information > > > > Many thanks! > > > > Cheers, > > Pierre > > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://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 [email protected] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://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 [email protected]. For more options, visit https://groups.google.com/d/optout.
