please, please, please, please help me with installation
It's 8:10 pm and I have been fighting with reviewboard installation for last SIX hours. I tried with apache2 and I ran into 000-default site problem.. from https://www.reviewboard.org/docs/manual/dev/admin/installation/creating-sites/#creating-sites: Some Apache installations (such as the default installs on Debian and Ubuntu) by default define a global virtual host that shares /var/www as the document root. This may lead to problems with your install. If you access your site and see nothing but a directory listing, then you’re affected by this problem. The solution is to remove the “default” site from your /etc/apache2/sites-enabled directory. This may be called something like default or 000-default. Then I had to figure out after an hour that I had to specify --web-server if I want to use lighttpd. After that there were some few more errors (I can go into details but I don't think that's going to help my cause). So here is process I have followed: http://alephnullplex.appspot.com/blog/view/2009/07/09/tutorial-installing-review-board-on-ubuntu Replace installation of apache2 with lighttpd and mod-python with fastcgi. Nothing works. Right now I am here: *rb-site manage /var/www/reviewboard runfcgi method=threaded* WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! WSGIServer: missing FastCGI param SERVER_NAME required by WSGI! WSGIServer: missing FastCGI param SERVER_PORT required by WSGI! WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI! Status: 302 FOUND Content-Length: 0 Content-Language: en Vary: Cookie, Accept-Language Location: http://localhost/r/ Date: Wed, 24 Sep 2014 14:34:37 GMT X-Frame-Options: SAMEORIGIN Content-Type: text/html; charset=utf-8 I don't know what I have done which is causing this. file reviewboard.settings is missing; don't know why. Could someone give me steps to install reviewboard on ubuntu (14.04) with lighttpd? Thanks in advance, -Neel. -- 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/d/optout.
Re: please, please, please, please help me with installation
Hi Neel, lighttpd is not well-supported, which is why it's considered an advanced option. Very few people seem to use it. I'd *strongly* suggest using Apache + mod_wsgi (daemon mode works well these days), if at all possible. You'll have the best support that way. FastCGI is a bad option. We've seen people hit all sorts of issues with it. The Python community has rallied around mod_wsgi and similar solutions instead. I think you'll find that if you use the standard recommended options from rb-site, you'll have a much easier time getting going. As for the 000-default file, I'm sorry it cost you an hour of time. It is annoying that Apache ships that.. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On September 24, 2014 at 7:47:23 AM, neel roy (neelsm...@rediffmail.com) wrote: It's 8:10 pm and I have been fighting with reviewboard installation for last SIX hours. I tried with apache2 and I ran into 000-default site problem.. from https://www.reviewboard.org/docs/manual/dev/admin/installation/creating-sites/#creating-sites: Some Apache installations (such as the default installs on Debian and Ubuntu) by default define a global virtual host that shares /var/www as the document root. This may lead to problems with your install. If you access your site and see nothing but a directory listing, then you’re affected by this problem. The solution is to remove the “default” site from your /etc/apache2/sites-enabled directory. This may be called something like default or 000-default. Then I had to figure out after an hour that I had to specify --web-server if I want to use lighttpd. After that there were some few more errors (I can go into details but I don't think that's going to help my cause). So here is process I have followed: http://alephnullplex.appspot.com/blog/view/2009/07/09/tutorial-installing-review-board-on-ubuntu Replace installation of apache2 with lighttpd and mod-python with fastcgi. Nothing works. Right now I am here: *rb-site manage /var/www/reviewboard runfcgi method=threaded* WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! WSGIServer: missing FastCGI param SERVER_NAME required by WSGI! WSGIServer: missing FastCGI param SERVER_PORT required by WSGI! WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI! Status: 302 FOUND Content-Length: 0 Content-Language: en Vary: Cookie, Accept-Language Location: http://localhost/r/ Date: Wed, 24 Sep 2014 14:34:37 GMT X-Frame-Options: SAMEORIGIN Content-Type: text/html; charset=utf-8 I don't know what I have done which is causing this. file reviewboard.settings is missing; don't know why. Could someone give me steps to install reviewboard on ubuntu (14.04) with lighttpd? Thanks in advance, -Neel. -- 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/d/optout. -- 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/d/optout.
Re: please, please, please, please help me with installation
Hi Neel, You definitely want to remove the 000-default file. If the site isn't showing, that's often an indicator that Apache either isn't seeing the Review Board config file, or the VirtualHost setup is wrong. Can you provide the reviewboard.conf file along with Apache's httpd.conf? Can you also look in the error_log in /var/log/{apache2|httpd} to see if it says anything? By the way, how are you accessing the site? Can you show me the exact URL you're using? Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On September 24, 2014 at 10:35:19 AM, neel roy (neelsm...@rediffmail.com) wrote: Hi Christian, Thanks for the reply. The problem with Apache was that even if I removed 000-default folder or disabled it, I still could not get apache2 to display reviewboard site. here are the complete steps I did; these are basically the same steps mentioned in the tutorial site I mentioned above but little bit of changes which I have made bold in listing below. Do you think I need to change something: sudo apt-get install apache2 *sudo apt-get install libapache2-mod-wsgi* sudo a2enmod python sudo apt-get install mysql-server sudo apt-get install python-mysqldb sudo apt-get install memcached sudo apt-get install memcached-dev sudo apt-get install python-memcache mysql -uroot -p mysql create database reviewboard; Query OK, 1 row affected (0.00 sec) mysql create user 'rb'@'localhost' identified by 'rb_password'; Query OK, 0 rows affected (0.00 sec) mysql grant all on reviewboard.* to 'rb'@'localhost' Query OK, 0 rows affected (0.00 sec) mysql exit Bye sudo apt-get install patch sudo apt-get install subversion sudo apt-get install python-svn sudo apt-get install python-setuptools sudo easy_install reviewboard sudo rb-site install /var/www/reviewboard *sudo chown -R www-data /var/www/reviewboard/htdocs/media/uploaded* *sudo chown -R www-data /var/www/reviewboard/data* *cd /etc/apache2/sites-available* *cp /var/www/reviewboard/conf/apache-wsgi.conf reviewboard.conf* *cd ../sites-enabled* *ln -s ../sites-available/reviewboard.conf .* *If I remove 000-default folder\file, I get this webpage not available error..* optional steps (Because default site is still enabled) sudo a2dissite 000-default sudo a2ensite reviewboard sudo /etc/init.d/apache2 restart -Neel. On Wednesday, September 24, 2014 10:43:18 PM UTC+5:30, Christian Hammond wrote: Hi Neel, lighttpd is not well-supported, which is why it's considered an advanced option. Very few people seem to use it. I'd *strongly* suggest using Apache + mod_wsgi (daemon mode works well these days), if at all possible. You'll have the best support that way. FastCGI is a bad option. We've seen people hit all sorts of issues with it. The Python community has rallied around mod_wsgi and similar solutions instead. I think you'll find that if you use the standard recommended options from rb-site, you'll have a much easier time getting going. As for the 000-default file, I'm sorry it cost you an hour of time. It is annoying that Apache ships that.. Christian -- Christian Hammond - chri...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On September 24, 2014 at 7:47:23 AM, neel roy (neel...@rediffmail.com ) wrote: It's 8:10 pm and I have been fighting with reviewboard installation for last SIX hours. I tried with apache2 and I ran into 000-default site problem.. from https://www.reviewboard.org/docs/manual/dev/admin/installation/creating-sites/#creating-sites: Some Apache installations (such as the default installs on Debian and Ubuntu) by default define a global virtual host that shares /var/www as the document root. This may lead to problems with your install. If you access your site and see nothing but a directory listing, then you’re affected by this problem. The solution is to remove the “default” site from your /etc/apache2/sites-enabled directory. This may be called something like default or 000-default. Then I had to figure out after an hour that I had to specify --web-server if I want to use lighttpd. After that there were some few more errors (I can go into details but I don't think that's going to help my cause). So here is process I have followed: http://alephnullplex.appspot.com/blog/view/2009/07/09/tutorial-installing-review-board-on-ubuntu Replace installation of apache2 with lighttpd and mod-python with fastcgi. Nothing works. Right now I am here: *rb-site manage /var/www/reviewboard runfcgi method=threaded* WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! WSGIServer: missing FastCGI param SERVER_NAME required
Re: please, please, please, please help me with installation
Okay, I fixed the problem. here are the couple of changes I did: sudo apt-get install apache2 sudo apt-get install libapache2-mod-wsgi sudo a2enmod *wsgi* sudo apt-get install mysql-server sudo apt-get install python-mysqldb sudo apt-get install memcached sudo apt-get install memcached-dev sudo apt-get install python-memcache mysql -uroot -p mysql create database reviewboard; Query OK, 1 row affected (0.00 sec) mysql create user 'rb'@'localhost' identified by 'rb_password'; Query OK, 0 rows affected (0.00 sec) mysql grant all on reviewboard.* to 'rb'@'localhost'; Query OK, 0 rows affected (0.00 sec) mysql exit Bye sudo apt-get install patch sudo apt-get install subversion sudo apt-get install python-svn sudo apt-get install python-setuptools sudo easy_install reviewboard sudo rb-site install /var/www/reviewboard sudo chown -R www-data /var/www/reviewboard/htdocs/media/uploaded sudo chown -R www-data /var/www/reviewboard/data *sudo chown -R www-data /var/www/reviewboard/htdocs/media/ext* sudo chown -R www-data /var/www/reviewboard/htdocs/static/ext cd /etc/apache2/sites-available cp /var/www/reviewboard/conf/apache-wsgi.conf reviewboard.conf cd ../sites-enabled ln -s ../sites-available/reviewboard.conf . *If I remove 000-default folder\file, I get this webpage not available error..* optional steps (Because default site is still enabled) === *These do NOT seem to be optional steps anymore* sudo a2dissite 000-default sudo a2ensite reviewboard sudo /etc/init.d/apache2 restart *This is a very important step; got it from https://groups.google.com/forum/#!topic/reviewboard/_D12QMhA8OY* *change the /var/www/reviews/conf/settings_local.py ALLOWED_HOSTS = ['localhost'] to ALLOWED_HOSTS = ['*'].* *May be we can put this in the installation instructions page as concrete steps instead of general directions?* Now to the next steps.. playing with rb-tools. I will post problems if any.. -Neel. On Wednesday, September 24, 2014 11:05:16 PM UTC+5:30, neel roy wrote: Hi Christian, Thanks for the reply. The problem with Apache was that even if I removed 000-default folder or disabled it, I still could not get apache2 to display reviewboard site. here are the complete steps I did; these are basically the same steps mentioned in the tutorial site I mentioned above but little bit of changes which I have made bold in listing below. Do you think I need to change something: sudo apt-get install apache2 *sudo apt-get install libapache2-mod-wsgi* sudo a2enmod python sudo apt-get install mysql-server sudo apt-get install python-mysqldb sudo apt-get install memcached sudo apt-get install memcached-dev sudo apt-get install python-memcache mysql -uroot -p mysql create database reviewboard; Query OK, 1 row affected (0.00 sec) mysql create user 'rb'@'localhost' identified by 'rb_password'; Query OK, 0 rows affected (0.00 sec) mysql grant all on reviewboard.* to 'rb'@'localhost' Query OK, 0 rows affected (0.00 sec) mysql exit Bye sudo apt-get install patch sudo apt-get install subversion sudo apt-get install python-svn sudo apt-get install python-setuptools sudo easy_install reviewboard sudo rb-site install /var/www/reviewboard *sudo chown -R www-data /var/www/reviewboard/htdocs/media/uploaded* *sudo chown -R www-data /var/www/reviewboard/data* *cd /etc/apache2/sites-available* *cp /var/www/reviewboard/conf/apache-wsgi.conf reviewboard.conf* *cd ../sites-enabled* *ln -s ../sites-available/reviewboard.conf .* *If I remove 000-default folder\file, I get this webpage not available error..* optional steps (Because default site is still enabled) sudo a2dissite 000-default sudo a2ensite reviewboard sudo /etc/init.d/apache2 restart -Neel. On Wednesday, September 24, 2014 10:43:18 PM UTC+5:30, Christian Hammond wrote: Hi Neel, lighttpd is not well-supported, which is why it's considered an advanced option. Very few people seem to use it. I'd *strongly* suggest using Apache + mod_wsgi (daemon mode works well these days), if at all possible. You'll have the best support that way. FastCGI is a bad option. We've seen people hit all sorts of issues with it. The Python community has rallied around mod_wsgi and similar solutions instead. I think you'll find that if you use the standard recommended options from rb-site, you'll have a much easier time getting going. As for the 000-default file, I'm sorry it cost you an hour of time. It is annoying that Apache ships that.. Christian -- Christian Hammond - chri...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On September 24, 2014 at 7:47:23 AM, neel roy (neel...@rediffmail.com) wrote: It's 8:10 pm and I have been fighting with reviewboard installation for last SIX hours. I tried with apache2 and I ran into 000-default site problem.. from