rb-site install /var/www/reviews not working

37 views
Skip to first unread message

Nikhil Sethi

unread,
Nov 18, 2020, 1:12:09 AM11/18/20
to Review Board Community

I am trying to install reviewboard on the local machine

rb-site install /var/www/reviews command returns this:
command not found
please help

David Trowbridge

unread,
Nov 18, 2020, 1:12:58 AM11/18/20
to reviewboard
This sounds like you have not actually installed the Review Board package on your system. Can you explain what steps you've already taken?

David

--
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 "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/443dd19a-8460-4886-ba56-876522b5094dn%40googlegroups.com.

Nikhil Sethi

unread,
Nov 18, 2020, 1:59:13 AM11/18/20
to revie...@googlegroups.com
 1. Installed Aopahe web server
2. installed all the dependencies python2, 3 , patch etc.
apt-get install build-essential python-dev libffi-dev libssl-dev patch memcached
2. installed pip2
3. pip2 install review board
4. started apache2
5. installed rbtools using pip

Now rb-site install returns error command not found.




You received this message because you are subscribed to a topic in the Google Groups "Review Board Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/H2V-sBuEhOQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/CAFS3VNXHdLJ9yTovgM_wojA_p53Ry_C75fnZ4wSd6yhRTOE-_w%40mail.gmail.com.

David Trowbridge

unread,
Nov 18, 2020, 5:47:16 PM11/18/20
to reviewboard
It sounds like whatever directory pip is installing rb-site to isn't in your command-line PATH. I'm not sure exactly what linux distro you're using, but I'd check to see if /usr/local/bin is included.

David

Jimmy Huang

unread,
Nov 19, 2020, 6:09:58 PM11/19/20
to Review Board Community
Make sure that ReviewBoard exist when you do 

$pip2 list

and if I remember correctly, the pip install ReviewBoard without spaces. Otherwise, your rb-site binary isn't in your PATH

Nikhil Sethi

unread,
Nov 20, 2020, 6:44:56 AM11/20/20
to revie...@googlegroups.com
It helped. I purged everything!
AND THEN---->  I reinstalled everything from start and now rb-site install is working. BTW I am using Ubuntu 20.10
But now  I am stuck with apache webserver to work.

I do all these steps...
$ cd /etc/apache2/sites-available
$ cp /var/www/reviews.example.com/conf/apache-wsgi.conf reviews.example.com.conf
$ cd ../sites-enabled
$ ln -s ../sites-available/reviews.example.com.conf 
My apache server does not start after this!





Thanks

David Trowbridge

unread,
Nov 30, 2020, 4:36:42 PM11/30/20
to reviewboard
You'll probably need to make some tweaks to that file to match your desired configuration. If apache isn't starting, you'll find details about why listed in the error logs.

David

Reply all
Reply to author
Forward
0 new messages