Re: HTTPS certificate not accepted.
So, I got reviewboard working ! Yay! (but still accessing the wrong cert location). I figured out that I had accidentally goofed up the permissions, which led to /home/varun/.subversion/auth directory being inaccessible by the review board user www-data. Once I got that fixed, my installation started working. However, I am still at mystery why the installation is picking from my home directory instead of using from ~ of www-data user (which is /var/www). Regards Varun On Sep 16, 9:08 pm, Christian Hammond chip...@chipx86.com wrote: Hi Varun, Huh, it's odd that it's trying to use your home directory. To generate that string, Review Board figures out what ~ points to, and in your case, it's your own home directory. You said this was Apache before? Is it an out-of-the-box install? Which distro? Mod_Python or FastCGI? We're looking at making this problem go away by making it easy to download and verify certificates as part of the repository setup process, but I don't have an ETA just yet on it. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.review-board.org VMware, Inc. -http://www.vmware.com On Wed, Sep 16, 2009 at 5:44 PM, Varun Soundararajan s.va...@gmail.comwrote: Hi Christian, So as you have explained here, I did sudo -u www-data it led me to /var/www when i typed cd now I did svn co https rep url it asked me to accept cert permantnety to which i typed p before that I created .subversion directory in /var/www and chowned to www-data I also created the directory for the rep url dir and chowned so that the local copy can be created (otherwise it seems that www-data has no permission to create any file in /var/www Now when I give my diff file and path and click create request, it says - HTTPS certificate not accepted. Please ensure that the proper certificate exists in /home/varun/.subversion/auth for the user that reviewboard is running as. The confusion here is apache runs as www-data, but the error seems to be printing saying that its trying to access /home/varun/.. path. I also chmoded the entire .subversion directory in /home/ varun/.subversion and I still dont see reviewboard picking those certs. (I would practically want reviewboard to use certs in ~/.subversion directory of the user www-data). Is there something that I am missing? Thanks Varun On Aug 25, 6:30 am, Christian Hammond chip...@chipx86.com wrote: Hi, The easiest way to work around this is if you have read-only access to the repository over http. If you do, then set that read-only HTTP URL as your Path in the repository configuration, and set your HTTPS URL as the Mirror Path. If not, then it gets a little more tricky. Essentially (and this may vary a bit between installs on different distros), you'll need to sudo to the Apache user, using its home directory and environment variables, and then do an svn checkout of your repository somewhere. This should store the certificate where the Apache user can get to it. We're looking into making this work in a much smoother manner in a future release without having to use any workarounds. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.review-board.org VMware, Inc. -http://www.vmware.com On Tue, Aug 25, 2009 at 3:16 AM, Pubudu Rathnayake dmpub...@gmail.com wrote: Hi, when i tried to make a new review request ,i got the following message, HTTPS certificate not accepted. Please ensure that the proper certificate exists in ~/.subversion/auth for the user that reviewboard is running as. Any advice how to diagnose it is highly appreciated. Regards, Pubudu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: question about incorrect URl for Documentation
Hi Paul, On Thu, Sep 17, 2009 at 5:41 PM, H. Paul Beebe hpaulbe...@gmail.com wrote: I installed ReviewBoard 1.0.1 and the Documentation link on the login web page points to http://www.review-board.org/docs/manual/1.0/ instead of to http://www.review-board.org/docs/manual/dev/ . I am a beginner at python and ReviewBoard and have not discovered where the actual URL gets defined. Your ReviewBoard URL should be something like http://yourserver.com/reviews/(you would have gone through the RB installation wizard where you gave your server name and the path for RB installation and other details). If you dont understand what is above, then you have not done the installation step. Look through the manual to see what that means (look in isntallation in linux or windows as the case may be). Regards -V http://mailvarun.blogspot.com /* This mail was sent using 100% recycled electrons */ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Installing in Ubuntu 9.04 Issues
Hi, I followed the instructions in: http://www.review-board.org/docs/manual/dev/admin/installation/linux/ for my ubuntu machine. When I run sudo rb-site install /var/www/reviews after providing the admin account with username, password and email, I get this stack trace on the terminal: Traceback (most recent call last): File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 770, in next_page func() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 944, in call_func func() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 257, in generate_config_files os.path.join(conf_dir, web_conf_filename)) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 392, in process_template template = pkg_resources.resource_string(reviewboard, template_path) File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 853, in resource_string self, resource_name File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 1126, in get_resource_string return self._get(self._fn(self.module_path, resource_name)) File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 1247, in _get stream = open(path, 'rb') IOError: [Errno 2] No such file or directory: '/usr/local/lib/ python2.6/dist-packages/ReviewBoard-1.0.2-py2.6.egg/reviewboard/ contrib/conf/apache-modpython.conf.in' I did a quick ls on /usr/local/lib/python2.6/dist-packages/ ReviewBoard-1.0.2-py2.6.egg/reviewboard/ and it has no folder called contrib. What should I do to make a successful installatino? Thanks Varun --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Installing in Ubuntu 9.04 Issues
Thanks Chris for the reply. I will watch out for the 1.0.3 version. I just fired up the installation. Its awesome! Thanks for making an awesome open source review tool. Regards Varun On Sep 16, 7:48 pm, Christian Hammond chip...@chipx86.com wrote: You need to re-run rb-site upgrade on the site. It will fix the media files to point to the 1.0.1 version of Review Board. I don't know that you really want to use the -m option. I think really you'd be better off simply removing the 1.0.2 version from your filesystem and then running rb-site upgrade on the site directory. We're going to put out a 1.0.3 release tonight that will fix this issue. Seems there was an error in generating the packages for this release. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.review-board.org VMware, Inc. -http://www.vmware.com On Wed, Sep 16, 2009 at 4:42 PM, Varun Soundararajan s.va...@gmail.comwrote: Ok, it seems that 1.0.2 has some issues, I did easy_install -m ReviewBoard and then easy_install http://downloads.review-board.org/releases/ReviewBoard/1.0/ReviewBoar... and everything was fine. I still have one question. Why is that my page looks ugly (seems like no CSS access).. Is there some CSS pack I need to download? Regards Varun On Sep 16, 4:09 pm, Varun Soundararajan s.va...@gmail.com wrote: Hi, I followed the instructions in: http://www.review-board.org/docs/manual/dev/admin/installation/linux/ for my ubuntu machine. When I run sudo rb-site install /var/www/reviews after providing the admin account with username, password and email, I get this stack trace on the terminal: Traceback (most recent call last): File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 770, in next_page func() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 944, in call_func func() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 257, in generate_config_files os.path.join(conf_dir, web_conf_filename)) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.0.2- py2.6.egg/reviewboard/cmdline/rbsite.py, line 392, in process_template template = pkg_resources.resource_string(reviewboard, template_path) File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 853, in resource_string self, resource_name File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 1126, in get_resource_string return self._get(self._fn(self.module_path, resource_name)) File /usr/local/lib/python2.6/dist-packages/setuptools-0.6c9- py2.6.egg/pkg_resources.py, line 1247, in _get stream = open(path, 'rb') IOError: [Errno 2] No such file or directory: '/usr/local/lib/ python2.6/dist-packages/ReviewBoard-1.0.2-py2.6.egg/reviewboard/ contrib/conf/apache-modpython.conf.in' I did a quick ls on /usr/local/lib/python2.6/dist-packages/ ReviewBoard-1.0.2-py2.6.egg/reviewboard/ and it has no folder called contrib. What should I do to make a successful installatino? Thanks Varun --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: HTTPS certificate not accepted.
Hi Christian, So as you have explained here, I did sudo -u www-data it led me to /var/www when i typed cd now I did svn co https rep url it asked me to accept cert permantnety to which i typed p before that I created .subversion directory in /var/www and chowned to www-data I also created the directory for the rep url dir and chowned so that the local copy can be created (otherwise it seems that www-data has no permission to create any file in /var/www Now when I give my diff file and path and click create request, it says - HTTPS certificate not accepted. Please ensure that the proper certificate exists in /home/varun/.subversion/auth for the user that reviewboard is running as. The confusion here is apache runs as www-data, but the error seems to be printing saying that its trying to access /home/varun/.. path. I also chmoded the entire .subversion directory in /home/ varun/.subversion and I still dont see reviewboard picking those certs. (I would practically want reviewboard to use certs in ~/.subversion directory of the user www-data). Is there something that I am missing? Thanks Varun On Aug 25, 6:30 am, Christian Hammond chip...@chipx86.com wrote: Hi, The easiest way to work around this is if you have read-only access to the repository over http. If you do, then set that read-only HTTP URL as your Path in the repository configuration, and set your HTTPS URL as the Mirror Path. If not, then it gets a little more tricky. Essentially (and this may vary a bit between installs on different distros), you'll need to sudo to the Apache user, using its home directory and environment variables, and then do an svn checkout of your repository somewhere. This should store the certificate where the Apache user can get to it. We're looking into making this work in a much smoother manner in a future release without having to use any workarounds. Christian -- Christian Hammond - chip...@chipx86.com Review Board -http://www.review-board.org VMware, Inc. -http://www.vmware.com On Tue, Aug 25, 2009 at 3:16 AM, Pubudu Rathnayake dmpub...@gmail.comwrote: Hi, when i tried to make a new review request ,i got the following message, HTTPS certificate not accepted. Please ensure that the proper certificate exists in ~/.subversion/auth for the user that reviewboard is running as. Any advice how to diagnose it is highly appreciated. Regards, Pubudu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---