Re: rb-site install fails on RedHat EL 7 with "Site matching query does not exist"

2015-11-27 Thread Stephen Gallagher
I plan to look into the EPEL 7 packages when I get back from holiday on
Monday. I'll be upgrading EPEL 7 to Review Board 2.5 as well.

I'm not sure of the specific issue you're seeing, but I will be testing new
deployments.

Could you at least identify the database you are using?

On Thu, Nov 26, 2015, 12:17 PM Vikrant Gatne 
wrote:

> Hi,
>
> I am trying to do a fresh installation for ReviewBoard on a RedHat EL 7
> VM. I could successfully install the ReviewBoard 2.0.11 with 'yum install
> ReviewBoard' after getting the EPEL package repositories. But my attempt to
> create a review board site fails with the following error -
> "django,contrib.sites.models.DoesNotExist: Site matching query does not
> exist." If I query the database, I can see quite a few tables have been
> created by the installation process. The table names relevant to the error
> are as follows
>
> site_localsite
> site_localsite_admins
> site_localsite_users
> siteconfig_siteconfiguration
>
> But none of these tables contain any data in it. Not sure what's wrong.
> Any help will be highly appreciated on this.
>
> Cheers,
> Vik
>
> --
> 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 reviewboard+unsubscr...@googlegroups.com.
> 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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


rb-site install fails on RedHat EL 7 with "Site matching query does not exist"

2015-11-26 Thread Vikrant Gatne
Hi,

I am trying to do a fresh installation for ReviewBoard on a RedHat EL 7 VM. 
I could successfully install the ReviewBoard 2.0.11 with 'yum install 
ReviewBoard' after getting the EPEL package repositories. But my attempt to 
create a review board site fails with the following error - 
"django,contrib.sites.models.DoesNotExist: Site matching query does not 
exist." If I query the database, I can see quite a few tables have been 
created by the installation process. The table names relevant to the error 
are as follows

site_localsite
site_localsite_admins
site_localsite_users
siteconfig_siteconfiguration

But none of these tables contain any data in it. Not sure what's wrong. Any 
help will be highly appreciated on this.

Cheers,
Vik

-- 
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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: rb-site install fails

2012-03-30 Thread Christian Hammond
Glad it works!

Do you have any info on what the failures were for 2.4/2.5? Also, what
version of Python?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Mar 30, 2012 at 3:41 AM, magnus  wrote:

> Hi Christian,
>
> Thanks a lot for the information.
> We downgraded Django and did the installation again but we ran into
> problems with the SCMTool handler.
> We managed to solve it by downgrading the pycrypto to 2.3 (2.5 didnt work
> and 2.4 had problems compiling).
>
> Now we have an up-and-running reviewboard installation.
>
> Thanks for making this great tool!
>
>
> BR,
> Magnus
>
> --
> 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
>

-- 
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

Re: rb-site install fails

2012-03-30 Thread magnus
Hi Christian,

Thanks a lot for the information.
We downgraded Django and did the installation again but we ran into 
problems with the SCMTool handler.
We managed to solve it by downgrading the pycrypto to 2.3 (2.5 didnt work 
and 2.4 had problems compiling).

Now we have an up-and-running reviewboard installation.

Thanks for making this great tool!

BR,
Magnus

-- 
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

Re: rb-site install fails

2012-03-30 Thread Christian Hammond
If you upgrade to Review Board 1.6.5 (just now released), it should work
better.

You'll need to re-create your site.

If you still have trouble, delete your Django 1.4 install and try again.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Mar 30, 2012 at 1:05 AM, magnus  wrote:

> Here is the version information:
>
> # pip freeze
> Warning: cannot find svn location for flup==1.0.3.dev-20110405
> Django==1.4
> Djblets==0.6.16
> MySQL-python==1.2.3c1
> PIL==1.1.6
> PyGreSQL==3.8.1
> Pygments==1.5
> ReviewBoard==1.6.4.1
> SSSDConfig==1
> cas==0.15
> distribute==0.6.10
> django-evolution==0.6.5
> ethtool==0.6
> ## FIXME: could not find svn URL in dependency_links for this package:
> flup==1.0.3.dev-20110405
> freeipa==2.0.0.alpha.0
> iniparse==0.3.1
> iotop==0.3.2
> ipapython==2.1.3
> iwlib==1.0
> kerberos==1.0
> lxml==2.2.3
> matplotlib==0.99.1.1
> netaddr==0.7.5
> nose==0.10.4
> numpy==1.3.0
> paramiko==1.7.7.1
> psycopg2==2.0.14
> pyOpenSSL==0.10
> pycrypto==2.5
> pycurl==7.19.0
> pygpgme==0.1
> python-dateutil==1.5
> python-default-encoding==0.1
> python-ldap==2.3.10
> python-memcached==1.48
> python-nss==0.11
> pytz==2010h
> recaptcha-client==1.0.6
> urlgrabber==3.9.1
> yum-metadata-parser==1.1.2
>
> BR,
> Magnus
>
> Den fredagen den 30:e mars 2012 kl. 10:11:30 UTC+3 skrev magnus:
>
>> Hi,
>> We are using CentOs 6 and are trying to setup Reviewboard.
>> Our setup is:
>> MySql
>> Apache2
>> mod_wsgi
>> memcached
>>
>> when running 'rb-site install /var/www/html/rb/' it seems like the
>> installation is successful. We get the reviewboard to show up in the
>> browser and we can login/create users and such. When trying to add the
>> repository (local git on same server) it fails and in /var/log/httpd/
>> error_log we get a lot of errors but this is the first:
>> [client 10.0.0.124] Symbolic link not allowed or link target not
>> accessible: /var/www/html/rb/htdocs/media/**admin, referer:
>> http:///rb/admin/
>> db/scmtools/repository/add/
>>
>> Looking up /var/www/html/rb/htdocs/media/**admin links to a nonexisting
>> path /usr/lib/python2.6/site-**packages/django/contrib/admin/**media
>>
>> media folder does not exist in the admin folder.
>>
>> We cleanup the created site and db and rerun the rb-site but this time
>> as follow:
>> 'rb-site install -d --copy-media /var/www/html/rb/'
>>
>> This fails with:
>>
>> * Installing the site...
>> Building site directories ... Traceback (most recent call last):
>>   File "/usr/bin/rb-site", line 9, in 
>> load_entry_point('ReviewBoard=**=1.6.4.1', 'console_scripts', 'rb-
>> site')()
>>   File "/usr/lib/python2.6/site-**packages/reviewboard/cmdline/
>> rbsite.py", line 1745, in main
>> command.run()
>>   File "/usr/lib/python2.6/site-**packages/reviewboard/cmdline/
>> rbsite.py", line 1293, in run
>> self.show_install_status()
>>   File "/usr/lib/python2.6/site-**packages/reviewboard/cmdline/
>> rbsite.py", line 1559, in show_install_status
>> site.rebuild_site_directory)
>>   File "/usr/lib/python2.6/site-**packages/reviewboard/cmdline/
>> rbsite.py", line 787, in step
>> func()
>>   File "/usr/lib/python2.6/site-**packages/reviewboard/cmdline/
>> rbsite.py", line 207, in rebuild_site_directory
>> rb_admins_dest)
>>   File "/usr/lib/python2.6/site-**packages/reviewboard/cmdline/
>> rbsite.py", line 500, in link_pkg_dir
>> shutil.copytree(src_dir, dest_dir)
>>   File "/usr/lib64/python2.6/shutil.**py", line 136, in copytree
>> names = os.listdir(src)
>> OSError: [Errno 2] No such file or directory: '/usr/lib/python2.6/site-
>> packages/django/contrib/admin/**media'
>>
>> Any help with this would be much appreciated (we have tried installing
>> Reviewboard (which fetches django) with both easy_install and pip).
>>
>> BR,
>> Magnus
>>
>  --
> 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
>

-- 
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

Re: rb-site install fails

2012-03-30 Thread magnus
Here is the version information:

# pip freeze
Warning: cannot find svn location for flup==1.0.3.dev-20110405
Django==1.4
Djblets==0.6.16
MySQL-python==1.2.3c1
PIL==1.1.6
PyGreSQL==3.8.1
Pygments==1.5
ReviewBoard==1.6.4.1
SSSDConfig==1
cas==0.15
distribute==0.6.10
django-evolution==0.6.5
ethtool==0.6
## FIXME: could not find svn URL in dependency_links for this package:
flup==1.0.3.dev-20110405
freeipa==2.0.0.alpha.0
iniparse==0.3.1
iotop==0.3.2
ipapython==2.1.3
iwlib==1.0
kerberos==1.0
lxml==2.2.3
matplotlib==0.99.1.1
netaddr==0.7.5
nose==0.10.4
numpy==1.3.0
paramiko==1.7.7.1
psycopg2==2.0.14
pyOpenSSL==0.10
pycrypto==2.5
pycurl==7.19.0
pygpgme==0.1
python-dateutil==1.5
python-default-encoding==0.1
python-ldap==2.3.10
python-memcached==1.48
python-nss==0.11
pytz==2010h
recaptcha-client==1.0.6
urlgrabber==3.9.1
yum-metadata-parser==1.1.2

BR,
Magnus

Den fredagen den 30:e mars 2012 kl. 10:11:30 UTC+3 skrev magnus:
>
> Hi, 
> We are using CentOs 6 and are trying to setup Reviewboard. 
> Our setup is: 
> MySql 
> Apache2 
> mod_wsgi 
> memcached 
>
> when running 'rb-site install /var/www/html/rb/' it seems like the 
> installation is successful. We get the reviewboard to show up in the 
> browser and we can login/create users and such. When trying to add the 
> repository (local git on same server) it fails and in /var/log/httpd/ 
> error_log we get a lot of errors but this is the first: 
> [client 10.0.0.124] Symbolic link not allowed or link target not 
> accessible: /var/www/html/rb/htdocs/media/admin, referer: 
> http:///rb/admin/ 
> db/scmtools/repository/add/ 
>
> Looking up /var/www/html/rb/htdocs/media/admin links to a nonexisting 
> path /usr/lib/python2.6/site-packages/django/contrib/admin/media 
>
> media folder does not exist in the admin folder. 
>
> We cleanup the created site and db and rerun the rb-site but this time 
> as follow: 
> 'rb-site install -d --copy-media /var/www/html/rb/' 
>
> This fails with: 
>
> * Installing the site... 
> Building site directories ... Traceback (most recent call last): 
>   File "/usr/bin/rb-site", line 9, in  
> load_entry_point('ReviewBoard==1.6.4.1', 'console_scripts', 'rb- 
> site')() 
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/ 
> rbsite.py", line 1745, in main 
> command.run() 
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/ 
> rbsite.py", line 1293, in run 
> self.show_install_status() 
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/ 
> rbsite.py", line 1559, in show_install_status 
> site.rebuild_site_directory) 
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/ 
> rbsite.py", line 787, in step 
> func() 
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/ 
> rbsite.py", line 207, in rebuild_site_directory 
> rb_admins_dest) 
>   File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/ 
> rbsite.py", line 500, in link_pkg_dir 
> shutil.copytree(src_dir, dest_dir) 
>   File "/usr/lib64/python2.6/shutil.py", line 136, in copytree 
> names = os.listdir(src) 
> OSError: [Errno 2] No such file or directory: '/usr/lib/python2.6/site- 
> packages/django/contrib/admin/media' 
>
> Any help with this would be much appreciated (we have tried installing 
> Reviewboard (which fetches django) with both easy_install and pip). 
>
> BR, 
> Magnus 
>

-- 
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

Re: rb-site install fails

2012-03-30 Thread Christian Hammond
Hi Magnus,

Django just released their version 1.4, which breaks Review Board 1.6. You
can work around this by deleting the installed Django-1.4 directory in your
Python's site-packages directory, and then do:

easy_install Django==1.3.1

I'll be doing a release tonight that addresses this.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Mar 30, 2012 at 12:11 AM, magnus  wrote:

> Hi,
> We are using CentOs 6 and are trying to setup Reviewboard.
> Our setup is:
> MySql
> Apache2
> mod_wsgi
> memcached
>
> when running 'rb-site install /var/www/html/rb/' it seems like the
> installation is successful. We get the reviewboard to show up in the
> browser and we can login/create users and such. When trying to add the
> repository (local git on same server) it fails and in /var/log/httpd/
> error_log we get a lot of errors but this is the first:
> [client 10.0.0.124] Symbolic link not allowed or link target not
> accessible: /var/www/html/rb/htdocs/media/admin, referer:
> http:///rb/admin/
> db/scmtools/repository/add/
>
> Looking up /var/www/html/rb/htdocs/media/admin links to a nonexisting
> path /usr/lib/python2.6/site-packages/django/contrib/admin/media
>
> media folder does not exist in the admin folder.
>
> We cleanup the created site and db and rerun the rb-site but this time
> as follow:
> 'rb-site install -d --copy-media /var/www/html/rb/'
>
> This fails with:
>
> * Installing the site...
> Building site directories ... Traceback (most recent call last):
>  File "/usr/bin/rb-site", line 9, in 
>load_entry_point('ReviewBoard==1.6.4.1', 'console_scripts', 'rb-
> site')()
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 1745, in main
>command.run()
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 1293, in run
>self.show_install_status()
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 1559, in show_install_status
>site.rebuild_site_directory)
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 787, in step
>func()
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 207, in rebuild_site_directory
>rb_admins_dest)
>  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
> rbsite.py", line 500, in link_pkg_dir
>shutil.copytree(src_dir, dest_dir)
>  File "/usr/lib64/python2.6/shutil.py", line 136, in copytree
>names = os.listdir(src)
> OSError: [Errno 2] No such file or directory: '/usr/lib/python2.6/site-
> packages/django/contrib/admin/media'
>
> Any help with this would be much appreciated (we have tried installing
> Reviewboard (which fetches django) with both easy_install and pip).
>
> BR,
> Magnus
>
> --
> 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

-- 
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

rb-site install fails

2012-03-30 Thread magnus
Hi,
We are using CentOs 6 and are trying to setup Reviewboard.
Our setup is:
MySql
Apache2
mod_wsgi
memcached

when running 'rb-site install /var/www/html/rb/' it seems like the
installation is successful. We get the reviewboard to show up in the
browser and we can login/create users and such. When trying to add the
repository (local git on same server) it fails and in /var/log/httpd/
error_log we get a lot of errors but this is the first:
[client 10.0.0.124] Symbolic link not allowed or link target not
accessible: /var/www/html/rb/htdocs/media/admin, referer:
http:///rb/admin/
db/scmtools/repository/add/

Looking up /var/www/html/rb/htdocs/media/admin links to a nonexisting
path /usr/lib/python2.6/site-packages/django/contrib/admin/media

media folder does not exist in the admin folder.

We cleanup the created site and db and rerun the rb-site but this time
as follow:
'rb-site install -d --copy-media /var/www/html/rb/'

This fails with:

* Installing the site...
Building site directories ... Traceback (most recent call last):
  File "/usr/bin/rb-site", line 9, in 
load_entry_point('ReviewBoard==1.6.4.1', 'console_scripts', 'rb-
site')()
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 1745, in main
command.run()
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 1293, in run
self.show_install_status()
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 1559, in show_install_status
site.rebuild_site_directory)
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 787, in step
func()
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 207, in rebuild_site_directory
rb_admins_dest)
  File "/usr/lib/python2.6/site-packages/reviewboard/cmdline/
rbsite.py", line 500, in link_pkg_dir
shutil.copytree(src_dir, dest_dir)
  File "/usr/lib64/python2.6/shutil.py", line 136, in copytree
names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '/usr/lib/python2.6/site-
packages/django/contrib/admin/media'

Any help with this would be much appreciated (we have tried installing
Reviewboard (which fetches django) with both easy_install and pip).

BR,
Magnus

-- 
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