Re: ReviewBoard 2.0.15 does not like ./ as basedir or as path to file in diff

2015-06-11 Thread Papaswede
Some more info here as well.

If I generated a diff in /trunk/path and the patch file then ends up with 
../../trunk/path/File.java in it, reviewboard is not liking the ../../ and 
I always get an error that says "../../trunk/path/File.java was not found 
in the repository", so it seems that it's not interpreting the ../../ 
correctly.

On Thursday, June 11, 2015 at 9:22:17 AM UTC-4, Papaswede wrote:
>
> I recently upgraded our instance of ReviewBoard from 1.6.11 to 2.0.15. 
> Quite a few people have been reporting issues with uploading diffs that 
> contain ./ as the beginning of the file path and also using ./ as the base 
> directory. They just get an "Unknown Error" on the patch upload screen. For 
> example, if the patch file has this
>
> --- ./path/to/File.java
> +++ ./path/to/File.java
>
> that won't work. I've had to ask them to do a find and replace in the file 
> and replace ./ with just / and use / as the basedir. So, the patch file 
> ends up looking like this:
>
> --- /path/to/File.java
> +++ /path/to/File.java
>
> Should ./ not work anymore? Also, I know that ideally, we should be using 
> the RBTools to upload files, but it hasn't been approved by our security 
> department as a tool we can have installed yet. So, in the meantime I'm 
> trying to make people's lives as simple as possible.
>
> Thanks!
>

-- 
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: ReviewBoard 2.0.15 does not like ./ as basedir or as path to file in diff

2015-06-11 Thread Papaswede
Also got some more emails from other users that are generating paths from 
the IDE, so the path in those diffs may be something like 
../root/path/to/File.java and when they try to submit a diff there is no 
way to get it to work. They were able to make things work in ReviewBoard 
1.6.11 by using . or ./ as the base path. I know that path is a little 
strange because it's essentially going up one from the root directory and 
then back into it, but for some reason about 80% of the people here get 
patch files like that generated from the IDE. Is there any way to make 
these work? I'm having lots of people freaking out on me today because 
things are breaking and they're having to do find and replaces in their 
patch files.

On Thursday, June 11, 2015 at 9:22:17 AM UTC-4, Papaswede wrote:
>
> I recently upgraded our instance of ReviewBoard from 1.6.11 to 2.0.15. 
> Quite a few people have been reporting issues with uploading diffs that 
> contain ./ as the beginning of the file path and also using ./ as the base 
> directory. They just get an "Unknown Error" on the patch upload screen. For 
> example, if the patch file has this
>
> --- ./path/to/File.java
> +++ ./path/to/File.java
>
> that won't work. I've had to ask them to do a find and replace in the file 
> and replace ./ with just / and use / as the basedir. So, the patch file 
> ends up looking like this:
>
> --- /path/to/File.java
> +++ /path/to/File.java
>
> Should ./ not work anymore? Also, I know that ideally, we should be using 
> the RBTools to upload files, but it hasn't been approved by our security 
> department as a tool we can have installed yet. So, in the meantime I'm 
> trying to make people's lives as simple as possible.
>
> Thanks!
>

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


ReviewBoard 2.0.15 does not like ./ as basedir or as path to file in diff

2015-06-11 Thread Papaswede
I recently upgraded our instance of ReviewBoard from 1.6.11 to 2.0.15. 
Quite a few people have been reporting issues with uploading diffs that 
contain ./ as the beginning of the file path and also using ./ as the base 
directory. They just get an "Unknown Error" on the patch upload screen. For 
example, if the patch file has this

--- ./path/to/File.java
+++ ./path/to/File.java

that won't work. I've had to ask them to do a find and replace in the file 
and replace ./ with just / and use / as the basedir. So, the patch file 
ends up looking like this:

--- /path/to/File.java
+++ /path/to/File.java

Should ./ not work anymore? Also, I know that ideally, we should be using 
the RBTools to upload files, but it hasn't been approved by our security 
department as a tool we can have installed yet. So, in the meantime I'm 
trying to make people's lives as simple as possible.

Thanks!

-- 
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: Weird expat error on some reviews.

2015-06-04 Thread Papaswede
I was able to solve this. I'm not sure if this is the "right" way, but it 
worked for me. Since I noticed that the libexpat.so.0 symlink in my apache 
lib dir was pointed at the one in /usr/local/lib and that one did in fact 
not contain the strings that the error was complaining about, I deleted 
that symlink and created a new one that pointed at 
/lib64/libexpat.so.1.5.2, like so:

sudo ln -s /lib64/libexpat.so.1.5.2 libexpat.so.0

Then I restarted the machine and everything works as expected.

On Wednesday, June 3, 2015 at 4:02:22 PM UTC-4, Papaswede wrote:
>
> I got ReviewBoard 1.6.11 successfully migrated to 2.0.15 and it seems to 
> be working fine for the most part. However, I noticed that there are a 
> couple of existing reviews that throw an error as soon as I try to access 
> them. I have no idea why only some reviews throw this error.
>
> ImportError at /reviews/r/2228/
>
> /usr/lib64/python2.6/lib-dynload/pyexpat.so: symbol XML_SetHashSalt, version 
> EXPAT_2_0_1_RH not defined in file libexpat.so.1 with link time reference
>
> Request Method:GETRequest URL:http://reviewboard/reviews/r/2228/Django 
> Version:1.6.11Exception Type:ImportErrorException Value:
>
> /usr/lib64/python2.6/lib-dynload/pyexpat.so: symbol XML_SetHashSalt, version 
> EXPAT_2_0_1_RH not defined in file libexpat.so.1 with link time reference
>
> Exception Location:/usr/lib64/python2.6/xml/parsers/expat.py in , 
> line 4Python Executable:/usr/bin/pythonPython Version:2.6.6Python Path:
>
> ['/opt/local/revboard/reviewboard/conf',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/setuptools-15.2-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/python_memcached-1.54-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/six-1.9.0-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Whoosh-2.7.0-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/recaptcha_client-1.0.6-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/pytz-2015.2-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Pygments-2.0.2-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/paramiko-1.15.2-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/mimeparse-0.1.3-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Markdown-2.4.1-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/docutils-0.12-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Djblets-0.8.18-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/django_haystack-2.3.1-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/ecdsa-0.13-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/pillowfight-0.2-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/django_pipeline-1.3.27-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Pillow-2.8.1-py2.6-linux-x86_64.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/futures-2.2.0-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/MySQL_python-1.2.5-py2.6-linux-x86_64.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/ReviewBoard-2.0.15-py2.6.egg',
>  '/opt/local/revboard/reviewboard',
>  '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages',
>  '/usr/lib/python2.6/site-packages/python_memcached-1.54-py2.6.egg',
>  '/usr/lib/python2.6/site-packages/six-1.9.0-py2.6.egg',
>  '/usr/lib/python2.6/site-packages/Whoosh-2.7.0-py2.6.egg',
>  '/usr/lib/python2.6/site-packages/recaptcha_client-1.0.6-py2.6.egg',
>  '/usr/lib/python2.6/site-packages/pytz-2015.2-py2.6.egg',
>  '/usr/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg',
>  '/usr/lib/pyth

Re: Weird expat error on some reviews.

2015-06-04 Thread Papaswede
I get this:

>>> import pyexpat
>>> print pyexpat.__file__
/opt/local/revboard/python/virtualenv/lib64/python2.6/lib-dynload/pyexpat.so

So, are there any circumstances under which ReviewBoard would trigger some 
functionality in expat? I can't find anything in common with the few 
reviews that cause this issue, and if I use the patch file from those 
reviews to re-post them, then the newly posted review works just fine. I'm 
just trying to gauge whether there is just something funky left over from 
when I upgraded from 1.6.11 with those existing reviews and I don't really 
need to worry about it, or if it could potentially cause problems in the 
future with new reviews as well.

I did notice one thing. The libexpat.so that apache is using points to 
/usr/local/lib/libexpat.so, and if I run the following on that file I get 
no results:

(virtualenv)[eberglind@rbdev301 lib]$ strings libexpat.so.1.5.2 | grep 
XML_SetHashSalt
(virtualenv)[eberglind@rbdev301 lib]$ strings libexpat.so.1.5.2 | grep 
EXPAT_2_0_1_RH

However, when I check which expat Python is using, I get this:

(virtualenv)[eberglind@rbdev301 lib-dynload]$ ldd pyexpat.so 
linux-vdso.so.1 =>  (0x7252a000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x7f52afbae000)
libpython2.6.so.1.0 => /usr/lib64/libpython2.6.so.1.0 (0x7f52af802000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x7f52af5e4000)
libc.so.6 => /lib64/libc.so.6 (0x7f52af25)
libdl.so.2 => /lib64/libdl.so.2 (0x7f52af04c000)
libutil.so.1 => /lib64/libutil.so.1 (0x7f52aee48000)
libm.so.6 => /lib64/libm.so.6 (0x7f52aebc4000)
/lib64/ld-linux-x86-64.so.2 (0x7f52affe3000)

So, python is using the one in /lib64. If I run the same commands on that 
one, I do get results.

(virtualenv)[eberglind@rbdev301 lib64]$ strings libexpat.so.1.5.2 | grep 
XML_SetHashSalt
XML_SetHashSalt
(virtualenv)[eberglind@rbdev301 lib64]$ strings libexpat.so.1.5.2 | grep 
EXPAT_2_0_1_RH
EXPAT_2_0_1_RH

The one that Apache is using was compiled from the same source as the one 
that python is using, and they're both the same version. It just seems that 
Python is using the 64bit one and Apache is not?

On Wednesday, June 3, 2015 at 5:43:45 PM UTC-4, Christian Hammond wrote:
>
> Hi,
>
> What does it say when you do:
>
> >>> import pyexpat
> >>> print pyexpat.__file__
>
> We don't directly use expat, and this looks very much like an issue with 
> the build of pyexpat or a LD_LIBRARY_PATH issue, so it's unlikely to be us. 
> Perhaps it's something with your Apache environment?
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On Wed, Jun 3, 2015 at 1:41 PM, Papaswede 
> > wrote:
>
>> Also, might be worth noting. If I fire up a python shell using the same 
>> virtualenv that ReviewBoard is running under, I can import expat fine:
>>
>>  bin]$ python
>> Python 2.6.6 (r266:84292, Jan 22 2014, 01:49:05) 
>> [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> from pyexpat import *
>> >>> 
>>
>> So, something seems to be going awry within ReviewBoard.
>>
>> On Wednesday, June 3, 2015 at 4:02:22 PM UTC-4, Papaswede wrote:
>>>
>>> I got ReviewBoard 1.6.11 successfully migrated to 2.0.15 and it seems to 
>>> be working fine for the most part. However, I noticed that there are a 
>>> couple of existing reviews that throw an error as soon as I try to access 
>>> them. I have no idea why only some reviews throw this error.
>>>
>>> ImportError at /reviews/r/2228/
>>>
>>> /usr/lib64/python2.6/lib-dynload/pyexpat.so: symbol XML_SetHashSalt, 
>>> version EXPAT_2_0_1_RH not defined in file libexpat.so.1 with link time 
>>> reference
>>>
>>> Request Method:GETRequest URL:http://reviewboard/reviews/r/2228/Django 
>>> Version:1.6.11Exception Type:ImportErrorException Value:
>>>
>>> /usr/lib64/python2.6/lib-dynload/pyexpat.so: symbol XML_SetHashSalt, 
>>> version EXPAT_2_0_1_RH not defined in file libexpat.so.1 with link time 
>>> reference
>>>
>>> Exception Location:/usr/lib64/python2.6/xml/parsers/expat.py in 
>>> , line 4Python Executable:/usr/bin/pythonPython Version:2.6.6Python 
>>> Path:
>>>
>>> ['/opt/local/revboard/reviewboard/conf',
>>>  
>>> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/setuptools-15.2-py2.6.egg',
>>>  
>>

Re: Weird expat error on some reviews.

2015-06-03 Thread Papaswede
Also, might be worth noting. If I fire up a python shell using the same 
virtualenv that ReviewBoard is running under, I can import expat fine:

 bin]$ python
Python 2.6.6 (r266:84292, Jan 22 2014, 01:49:05) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyexpat import *
>>> 

So, something seems to be going awry within ReviewBoard.

On Wednesday, June 3, 2015 at 4:02:22 PM UTC-4, Papaswede wrote:
>
> I got ReviewBoard 1.6.11 successfully migrated to 2.0.15 and it seems to 
> be working fine for the most part. However, I noticed that there are a 
> couple of existing reviews that throw an error as soon as I try to access 
> them. I have no idea why only some reviews throw this error.
>
> ImportError at /reviews/r/2228/
>
> /usr/lib64/python2.6/lib-dynload/pyexpat.so: symbol XML_SetHashSalt, version 
> EXPAT_2_0_1_RH not defined in file libexpat.so.1 with link time reference
>
> Request Method:GETRequest URL:http://reviewboard/reviews/r/2228/Django 
> Version:1.6.11Exception Type:ImportErrorException Value:
>
> /usr/lib64/python2.6/lib-dynload/pyexpat.so: symbol XML_SetHashSalt, version 
> EXPAT_2_0_1_RH not defined in file libexpat.so.1 with link time reference
>
> Exception Location:/usr/lib64/python2.6/xml/parsers/expat.py in , 
> line 4Python Executable:/usr/bin/pythonPython Version:2.6.6Python Path:
>
> ['/opt/local/revboard/reviewboard/conf',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/setuptools-15.2-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/python_memcached-1.54-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/six-1.9.0-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Whoosh-2.7.0-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/recaptcha_client-1.0.6-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/pytz-2015.2-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Pygments-2.0.2-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/paramiko-1.15.2-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/mimeparse-0.1.3-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Markdown-2.4.1-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/docutils-0.12-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Djblets-0.8.18-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/django_haystack-2.3.1-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/ecdsa-0.13-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/pillowfight-0.2-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/django_pipeline-1.3.27-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Pillow-2.8.1-py2.6-linux-x86_64.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/futures-2.2.0-py2.6.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/MySQL_python-1.2.5-py2.6-linux-x86_64.egg',
>  
> '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/ReviewBoard-2.0.15-py2.6.egg',
>  '/opt/local/revboard/reviewboard',
>  '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages',
>  '/usr/lib/python2.6/site-packages/python_memcached-1.54-py2.6.egg',
>  '/usr/lib/python2.6/site-packages/six-1.9.0-py2.6.egg',
>  '/usr/lib/python2.6/site-packages/Whoosh-2.7.0-py2.6.egg',
>  '/usr/lib/python2.6/site-packages/recaptcha_client-1.0.6-py2.6.egg',
>  '/usr/lib/python2.6/site-packages/pytz-2015.2-py2.6.egg',
>  '/usr/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg',
>  '/usr/lib/python2.6/site-packages/Pygments-2.0.2-py2.6.egg&#x

Weird expat error on some reviews.

2015-06-03 Thread Papaswede
I got ReviewBoard 1.6.11 successfully migrated to 2.0.15 and it seems to be 
working fine for the most part. However, I noticed that there are a couple 
of existing reviews that throw an error as soon as I try to access them. I 
have no idea why only some reviews throw this error.

ImportError at /reviews/r/2228/

/usr/lib64/python2.6/lib-dynload/pyexpat.so: symbol XML_SetHashSalt, version 
EXPAT_2_0_1_RH not defined in file libexpat.so.1 with link time reference

Request Method:GETRequest URL:http://reviewboard/reviews/r/2228/Django 
Version:1.6.11Exception Type:ImportErrorException Value:

/usr/lib64/python2.6/lib-dynload/pyexpat.so: symbol XML_SetHashSalt, version 
EXPAT_2_0_1_RH not defined in file libexpat.so.1 with link time reference

Exception Location:/usr/lib64/python2.6/xml/parsers/expat.py in , 
line 4Python Executable:/usr/bin/pythonPython Version:2.6.6Python Path:

['/opt/local/revboard/reviewboard/conf',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/setuptools-15.2-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/python_memcached-1.54-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/six-1.9.0-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Whoosh-2.7.0-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/recaptcha_client-1.0.6-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/pytz-2015.2-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Pygments-2.0.2-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/paramiko-1.15.2-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/mimeparse-0.1.3-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Markdown-2.4.1-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/docutils-0.12-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Djblets-0.8.18-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/django_haystack-2.3.1-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/ecdsa-0.13-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/pillowfight-0.2-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/django_pipeline-1.3.27-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/Pillow-2.8.1-py2.6-linux-x86_64.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/futures-2.2.0-py2.6.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/MySQL_python-1.2.5-py2.6-linux-x86_64.egg',
 
'/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/ReviewBoard-2.0.15-py2.6.egg',
 '/opt/local/revboard/reviewboard',
 '/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages',
 '/usr/lib/python2.6/site-packages/python_memcached-1.54-py2.6.egg',
 '/usr/lib/python2.6/site-packages/six-1.9.0-py2.6.egg',
 '/usr/lib/python2.6/site-packages/Whoosh-2.7.0-py2.6.egg',
 '/usr/lib/python2.6/site-packages/recaptcha_client-1.0.6-py2.6.egg',
 '/usr/lib/python2.6/site-packages/pytz-2015.2-py2.6.egg',
 '/usr/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg',
 '/usr/lib/python2.6/site-packages/Pygments-2.0.2-py2.6.egg',
 '/usr/lib/python2.6/site-packages/paramiko-1.15.2-py2.6.egg',
 '/usr/lib/python2.6/site-packages/mimeparse-0.1.3-py2.6.egg',
 '/usr/lib/python2.6/site-packages/Markdown-2.4.1-py2.6.egg',
 '/usr/lib/python2.6/site-packages/docutils-0.12-py2.6.egg',
 '/usr/lib/python2.6/site-packages/Djblets-0.8.18-py2.6.egg',
 '/usr/lib/python2.6/site-packages/django_haystack-2.3.1-py2.6.egg',
 '/usr/lib/python2.6/site-packages/django_evolution-0.7.5-py2.6.egg',
 '/usr/lib/python2.6/site-packages/ecdsa-0.13-py2.6.egg',
 '/usr/lib/python2.6/site-packages/pillowfight-0.2-py2.6.egg',
 '/usr/lib/python2.6/site-packages/feedparser-5.2.0-py2.6.egg',
 '/usr/lib/python2.6/site-packages/django_pipeline-1.3.27-py2.6.egg',
 '/usr/lib/python2.6/site-packages/Pillow-2.8.1-py2.6-linux-x86_64.egg',
 '/usr/lib/python2.6/site-packages/futures-2.2.0-py2.6.egg',
 '/usr/lib/python2.6/site-packages/pip-6.1.1-py2.6.egg',
 '/usr/lib/python2.6/site-packages/virtualenv-12.1.1-py2.6.egg',
 '/usr/lib64/python26.zip',
 '/usr/lib64/python2.6',
 '/usr/lib64/python2.6/plat-linux2',
 '/usr/lib64/python2.6/lib-tk',
 '/usr/lib64/python2.6/lib-old',
 '/usr/lib64/python2.6/lib-dynload',
 '/usr/lib64/python2.6/site-packages',
 '/usr/lib64/python2.6/site-packages/gtk-2.0',
 '/usr/

Re: After upgrading to ReviewBoard 2.0.15 the existing reviews do not display the diffs correctly

2015-05-29 Thread Papaswede
Oh ok, thanks for the info! We typically just use the IDE to generate a 
.patch file and then upload it to reviewboard. The projects in our IDE are 
usually set up as one for trunk and one for each branch, so when it 
generates the .patch files it generates them with relative paths using 
/trunk or /branches/ as the "root" directory, so that's why 
we have the repositories configured that way in ReviewBoard. If we change 
the repo configuration in ReviewBoard around to not target the individual 
branches then we'd have to start hand editing the patch files after 
generating them to make sure the path in there references the full path 
including the branch. It looks like this woud be the case even if using 
RBTools because I don't see a way for RBTools to target a changelist, or am 
I missing something? We might have 4 or more separate changelists at any 
given time in the IDE and those could encompass hundreds of files, so 
targeting a whole changelist for posting the review is pretty crucial for 
us. Is there a way for RBTools to do this? 



On Thursday, May 28, 2015 at 6:32:06 PM UTC-4, Christian Hammond wrote:
>
> Hi, 
>
> If svn/Repo1, svn/Repo2, etc. are all independent Subversion repositories, 
> and not subdirectories within a larger repository, then you should have a 
> repository entry in Review Board for each. 
>
> You shouldn't target trunk, branches, etc., because those are 
> subdirectories. When posting a change for review against a Subversion 
> repository, RBTools will send paths that are relative to the root of the 
> repository (say, /trunk/myproject/README). That then gets accessed relative 
> to the repository path, giving you something like 
> https://vcs.ourdomain.com/svn/Repo1/trunk/myproject/README, or, if 
> misconfigured, something like 
> https://vcs.ourdomain.com/svn/Repo1/trunk/trunk/myproject/README. 
>
> To fix things up by hand, you'll need to modify the diffviewer_filediff 
> table entries (or FileDiff in the database editor in the admin UI) and 
> change the paths shown there. The trick is associating the entries with a 
> given review request. For that, you can try something like: 
>
> $ rb-site manage /path/to/site shell 
> >>> from reviewboard.diffviewer.models import FileDiff 
> >>> print 
> FileDiff.objects.filter(diffset__history__review_request= ID>).values_list('pk', 'source_file') 
>
> Where "" is replaced with the numeric ID of the review 
> reuqest. That would show you all FileDiff IDs and their paths for a given 
> review request. 
>
> Christian 
>
> --   
> Christian Hammond - chri...@beanbaginc.com
> Review Board - https://www.reviewboard.org   
> Beanbag, Inc. - https://www.beanbaginc.com 
>
> -Original Message- 
> From: Papaswede > 
> Reply: revie...@googlegroups.com   >> 
> Date: May 28, 2015 at 2:32:20 PM 
> To: revie...@googlegroups.com   >> 
> Subject:  Re: After upgrading to ReviewBoard 2.0.15 the existing reviews 
> do not display the diffs correctly 
>
> > Ok, thank you. 
> >   
> > If I wanted to go through and fix the paths of the existing reviews, 
> which 
> > tables, specifically, would I need to go through and look at? 
> >   
> > Aslo, this may be a dumb question, but I'm not the most Subversion savvy 
> > person in the world. We have our repositories set up like 
> >   
> > https://vcs.ourdomain.com/svn/ 
> >   
> > and then we have the Repositories within there, like 
> >   
> > https://vcs.ourdomain.com/svn/Repo1 
> > https://vcs.ourdomain.com/svn/Repo2 
> >   
> > and then each repository has 
> >   
> > https://vcs.ourdomain.com/svn/Repo1/trunk 
> > https://vcs.ourdomain.com/svn/Repo1/branches 
> > https://vcs.ourdomain.com/svn/Repo1/branches/2012.REL 
> > https://vcs.ourdomain.com/svn/Repo1/branches/2013.REL 
> > ... 
> >   
> > Are you saying we'd need to point straight to 
> > https://vcs.ourdomain.com/svn/Repo1/ in order for Reviewboard to work 
> > correctly, or can we target trunk or individual branches, etc.? 
> >   
> > On Wednesday, May 27, 2015 at 12:28:40 PM UTC-4, Papaswede wrote: 
> >> 
> >> I upgraded ReviewBoard from 1.6.11 to 2.0.15. After doing this, I get 
> >> error messages when attempting to view the diffs of the existing 
> reviews. I 
> >> get messages like: 
> >> 
> >> The file 
> >> 
> '("'/svn/enrollment/!svn/bc/122232/trunk/4X/enrollment/trunk/trunk/4X/webapps/common/src/main/java/bf/web/common/form/AddEmployeeForm.java'
>  
>
> >> path not found", 160013)' co

Re: After upgrading to ReviewBoard 2.0.15 the existing reviews do not display the diffs correctly

2015-05-28 Thread Papaswede
Ok, thank you.

If I wanted to go through and fix the paths of the existing reviews, which 
tables, specifically, would I need to go through and look at?

Aslo, this may be a dumb question, but I'm not the most Subversion savvy 
person in the world. We have our repositories set up like

https://vcs.ourdomain.com/svn/

and then we have the Repositories within there, like

https://vcs.ourdomain.com/svn/Repo1
https://vcs.ourdomain.com/svn/Repo2

and then each repository has

https://vcs.ourdomain.com/svn/Repo1/trunk
https://vcs.ourdomain.com/svn/Repo1/branches
https://vcs.ourdomain.com/svn/Repo1/branches/2012.REL
https://vcs.ourdomain.com/svn/Repo1/branches/2013.REL
...

Are you saying we'd need to point straight to 
https://vcs.ourdomain.com/svn/Repo1/ in order for Reviewboard to work 
correctly, or can we target trunk or individual branches, etc.?

On Wednesday, May 27, 2015 at 12:28:40 PM UTC-4, Papaswede wrote:
>
> I upgraded ReviewBoard from 1.6.11 to 2.0.15. After doing this, I get 
> error messages when attempting to view the diffs of the existing reviews. I 
> get messages like:
>
> The file 
> '("'/svn/enrollment/!svn/bc/122232/trunk/4X/enrollment/trunk/trunk/4X/webapps/common/src/main/java/bf/web/common/form/AddEmployeeForm.java'
>  
> path not found", 160013)' could not be found in the repository
>
> Where that path definitely is not a valid svn path. It should 
> be 
> /svn/enrollment/!svn/bc/122232/trunk/4X/webapps/common/src/main/java/bf/web/common/form/AddEmployeeForm.java.
>
> So, it's like there's stuff being automatically inserted into the svn path 
> for the file, but I have no idea why as it was working on version 1.6.11.
>
> Any help would be greatly appreciated.
>

-- 
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: After upgrading to ReviewBoard 2.0.15 the existing reviews do not display the diffs correctly

2015-05-28 Thread Papaswede
Ok, thank you.

If I wanted to go through and fix the paths of the existing reviews, which 
tables, specifically, would I need to go through and look at?


On Wednesday, May 27, 2015 at 12:28:40 PM UTC-4, Papaswede wrote:
>
> I upgraded ReviewBoard from 1.6.11 to 2.0.15. After doing this, I get 
> error messages when attempting to view the diffs of the existing reviews. I 
> get messages like:
>
> The file 
> '("'/svn/enrollment/!svn/bc/122232/trunk/4X/enrollment/trunk/trunk/4X/webapps/common/src/main/java/bf/web/common/form/AddEmployeeForm.java'
>  
> path not found", 160013)' could not be found in the repository
>
> Where that path definitely is not a valid svn path. It should 
> be 
> /svn/enrollment/!svn/bc/122232/trunk/4X/webapps/common/src/main/java/bf/web/common/form/AddEmployeeForm.java.
>
> So, it's like there's stuff being automatically inserted into the svn path 
> for the file, but I have no idea why as it was working on version 1.6.11.
>
> Any help would be greatly appreciated.
>

-- 
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: After upgrading to ReviewBoard 2.0.15 the existing reviews do not display the diffs correctly

2015-05-28 Thread Papaswede
Oh, and I just noticed that a few of the existing reviews still do work, 
but about 90% of them do not. I was clicking through some at random and 
found that some do show up correctly. I'm not sure what's wrong with the 
ones that aren't showing up.

On Wednesday, May 27, 2015 at 12:28:40 PM UTC-4, Papaswede wrote:
>
> I upgraded ReviewBoard from 1.6.11 to 2.0.15. After doing this, I get 
> error messages when attempting to view the diffs of the existing reviews. I 
> get messages like:
>
> The file 
> '("'/svn/enrollment/!svn/bc/122232/trunk/4X/enrollment/trunk/trunk/4X/webapps/common/src/main/java/bf/web/common/form/AddEmployeeForm.java'
>  
> path not found", 160013)' could not be found in the repository
>
> Where that path definitely is not a valid svn path. It should 
> be 
> /svn/enrollment/!svn/bc/122232/trunk/4X/webapps/common/src/main/java/bf/web/common/form/AddEmployeeForm.java.
>
> So, it's like there's stuff being automatically inserted into the svn path 
> for the file, but I have no idea why as it was working on version 1.6.11.
>
> Any help would be greatly appreciated.
>

-- 
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: After upgrading to ReviewBoard 2.0.15 the existing reviews do not display the diffs correctly

2015-05-28 Thread Papaswede
Here's a screenshot of the repository configuration:

<https://lh3.googleusercontent.com/-XjVj3czBb1g/VWcSv6TMhPI/AL0/jCi0XFHd1kk/s1600/Change_repository___Administration___Review_Board.png>


On Wednesday, May 27, 2015 at 12:28:40 PM UTC-4, Papaswede wrote:
>
> I upgraded ReviewBoard from 1.6.11 to 2.0.15. After doing this, I get 
> error messages when attempting to view the diffs of the existing reviews. I 
> get messages like:
>
> The file 
> '("'/svn/enrollment/!svn/bc/122232/trunk/4X/enrollment/trunk/trunk/4X/webapps/common/src/main/java/bf/web/common/form/AddEmployeeForm.java'
>  
> path not found", 160013)' could not be found in the repository
>
> Where that path definitely is not a valid svn path. It should 
> be 
> /svn/enrollment/!svn/bc/122232/trunk/4X/webapps/common/src/main/java/bf/web/common/form/AddEmployeeForm.java.
>
> So, it's like there's stuff being automatically inserted into the svn path 
> for the file, but I have no idea why as it was working on version 1.6.11.
>
> Any help would be greatly appreciated.
>

-- 
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: After upgrading to ReviewBoard 2.0.15 the existing reviews do not display the diffs correctly

2015-05-28 Thread Papaswede
The URL for this one is https://vcs.ourdomain.com/svn/enrollment/trunk/4X. 
That isn't the "root" per se, but we have multiple different repositories 
under our svn so we point it directly at the folder we want as the root, 
and then when we create the reviews we use / as the base path for the 
review. The URL is the same as it was on Reviewboard 1.6.11 and it was 
working there. Also, if I create a brand new review against this repo it 
works fine. It's just when I try to navigate to reviews that existed before 
the upgrade that the issue occurs.

On Wednesday, May 27, 2015 at 12:28:40 PM UTC-4, Papaswede wrote:
>
> I upgraded ReviewBoard from 1.6.11 to 2.0.15. After doing this, I get 
> error messages when attempting to view the diffs of the existing reviews. I 
> get messages like:
>
> The file 
> '("'/svn/enrollment/!svn/bc/122232/trunk/4X/enrollment/trunk/trunk/4X/webapps/common/src/main/java/bf/web/common/form/AddEmployeeForm.java'
>  
> path not found", 160013)' could not be found in the repository
>
> Where that path definitely is not a valid svn path. It should 
> be 
> /svn/enrollment/!svn/bc/122232/trunk/4X/webapps/common/src/main/java/bf/web/common/form/AddEmployeeForm.java.
>
> So, it's like there's stuff being automatically inserted into the svn path 
> for the file, but I have no idea why as it was working on version 1.6.11.
>
> Any help would be greatly appreciated.
>

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


After upgrading to ReviewBoard 2.0.15 the existing reviews do not display the diffs correctly

2015-05-27 Thread Papaswede
I upgraded ReviewBoard from 1.6.11 to 2.0.15. After doing this, I get error 
messages when attempting to view the diffs of the existing reviews. I get 
messages like:

The file 
'("'/svn/enrollment/!svn/bc/122232/trunk/4X/enrollment/trunk/trunk/4X/webapps/common/src/main/java/bf/web/common/form/AddEmployeeForm.java'
 
path not found", 160013)' could not be found in the repository

Where that path definitely is not a valid svn path. It should 
be 
/svn/enrollment/!svn/bc/122232/trunk/4X/webapps/common/src/main/java/bf/web/common/form/AddEmployeeForm.java.

So, it's like there's stuff being automatically inserted into the svn path 
for the file, but I have no idea why as it was working on version 1.6.11.

Any help would be greatly appreciated.

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


ReviewBoard subversion cert authentication.

2015-05-22 Thread Papaswede
How would I set reviewboard up to use cert based subversion authentication? 
I have the .subversion folder set up correctly for the user that apache is 
running as (revboard), but it's not picking up the cert. Is there some type 
of configuration that I need to do for reviewboard to know where to go and 
pick the cert up from? Sorry if this is a dumb question, but I have not set 
this up before.

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


subvertpy import error

2015-05-22 Thread Papaswede
I've installed ReviewBoard 2.0.15 and am having an issue with the svn 
backend. I get the following error:

[Fri May 22 14:47:01.904441 2015] [wsgi:error] [pid 1114:tid 
140027266852608]   File 
"/opt/local/revboard/python/virtualenv/lib/python2.6/site-packages/ReviewBoard-2.0.15-py2.6.egg/reviewboard/scmtools/svn/__init__.py",
 
line 409, in build
_client
[Fri May 22 14:47:01.904446 2015] [wsgi:error] [pid 1114:tid 
140027266852608] 'SVN integration requires either subvertpy or pysvn'))
[Fri May 22 14:47:01.904451 2015] [wsgi:error] [pid 1114:tid 
140027266852608] ImportError: SVN integration requires either subvertpy or 
pysvn

I've verified that subvertpy is installed, and I can open a python shell 
using the virtual environment and import it without a problem. What could 
be causing this issue?

-- 
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: Issue after ReviewBoard upgrade

2015-05-06 Thread Papaswede
Ah, your last message caused me to dig some more, and I was able to find 
the issue. Apache was running the child processes as the wrong user and 
they did therefore not have access to the directories the way they should. 
So, it was a misconfiguration in my httpd.conf.

Thanks!

On Wednesday, May 6, 2015 at 5:17:45 PM UTC-4, Papaswede wrote:
>
> The webserver is actually running as the apache user. 
>
> We are using Oracle Enterprise Linux 6, and SELinux is enabled. I had to 
> get our IT department to make some changes to SELinux while installing 
> MySQL and Apache. Are there any known things that I should check with 
> regards to SELinux that I can relay to them?
>
> On Wednesday, May 6, 2015 at 5:09:17 PM UTC-4, Christian Hammond wrote:
>>
>> Looks like your web server is running as root, which is bad. It really 
>> should be using its own dedicated user.
>>
>> That's not the source of the problem, but it's something to be aware of.
>>
>> What Linux distro are you using? Any chance SELinux is enabled? If so, 
>> that can cause this.
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>>
>> On Wed, May 6, 2015 at 1:41 PM, Papaswede  wrote:
>>
>>> Ok, I tried that and that got rid of one of the error messages (the one 
>>> that was referencing an invalid path), but the other two are still there, 
>>> and those two messages do reference a valid path.
>>>
>>>
>>>
>>> <https://lh3.googleusercontent.com/-t-njvjcyzEg/VUp7pYZL5ZI/ALE/1p4V_TYGWkg/s1600/Manual_server_updates_required___Review_Board.png>That
>>>  
>>> is what I'm seeing right now. Those two paths are accessible and valid, 
>>> and I tried running the suggested command to update the permissions, but no 
>>> luck. I've tried a bunch of different combinations of permissions on those 
>>> folders, but nothing seems to work.
>>>
>>>
>>> On Wednesday, May 6, 2015 at 3:50:39 PM UTC-4, Christian Hammond wrote:
>>>>
>>>> Hi,
>>>>
>>>> If this is a copy of the database, and not a reference to the original 
>>>> database, then you can use the commands in my prior e-mail to fix up the 
>>>> path. It'll modify the settings stored in the database to reference the 
>>>> new 
>>>> paths you specify. After you do that, you can restart Apache, and it 
>>>> should 
>>>> begin to work.
>>>>
>>>> The rest of what you're doing sounds fine, as far as I can tell.
>>>>
>>>> Christian
>>>>
>>>> -- 
>>>> Christian Hammond - chi...@chipx86.com
>>>> Review Board - http://www.reviewboard.org
>>>> Beanbag, Inc. - http://www.beanbaginc.com
>>>>
>>>> On Wed, May 6, 2015 at 12:41 PM, Papaswede  wrote:
>>>>
>>>>> Ah, well maybe that is the issue then. Ok, so let me ask if I need to 
>>>>> go about this a different way. We currently have reviewboard running on 
>>>>> an 
>>>>> old, antiquated box. I had them set up a new VM for me that I am 
>>>>> migrating 
>>>>> reviewboard to. I can't install reviewboard in the same location on this 
>>>>> new VM because they gave me a "local" directory to use and I have to 
>>>>> build 
>>>>> everything from scratch. So, I built apache, MySQL and all the 
>>>>> dependencies. I also installed the most recent version of Reviewboard. 
>>>>> However, I wanted to keep the data from the old reviewboard server, so I 
>>>>> did a MySQL backup and restored that backup on the new VM. I also 
>>>>> compressed the old reviewboard site and moved that over to the VM and 
>>>>> unzipped it. After this I ran the rb-site upgrade command since the 
>>>>> version 
>>>>> of reviewboard on the new VM is the most recent version whereas we were a 
>>>>> number of versions behind on the old box. In the past I've never moved 
>>>>> reviewboard from one server to another, so perhaps the way I'm going 
>>>>> about 
>>>>> this is fundamentally flawed. Is there a better way to install 
>>>>> reviewboard 
>>>>> from scratch yet still take all of the data from another reviewboard 
>>>>> installation and restore it?
>>>>>
&g

Re: Issue after ReviewBoard upgrade

2015-05-06 Thread Papaswede
The webserver is actually running as the apache user. 

We are using Oracle Enterprise Linux 6, and SELinux is enabled. I had to 
get our IT department to make some changes to SELinux while installing 
MySQL and Apache. Are there any known things that I should check with 
regards to SELinux that I can relay to them?

On Wednesday, May 6, 2015 at 5:09:17 PM UTC-4, Christian Hammond wrote:
>
> Looks like your web server is running as root, which is bad. It really 
> should be using its own dedicated user.
>
> That's not the source of the problem, but it's something to be aware of.
>
> What Linux distro are you using? Any chance SELinux is enabled? If so, 
> that can cause this.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On Wed, May 6, 2015 at 1:41 PM, Papaswede 
> > wrote:
>
>> Ok, I tried that and that got rid of one of the error messages (the one 
>> that was referencing an invalid path), but the other two are still there, 
>> and those two messages do reference a valid path.
>>
>>
>>
>> <https://lh3.googleusercontent.com/-t-njvjcyzEg/VUp7pYZL5ZI/ALE/1p4V_TYGWkg/s1600/Manual_server_updates_required___Review_Board.png>That
>>  
>> is what I'm seeing right now. Those two paths are accessible and valid, 
>> and I tried running the suggested command to update the permissions, but no 
>> luck. I've tried a bunch of different combinations of permissions on those 
>> folders, but nothing seems to work.
>>
>>
>> On Wednesday, May 6, 2015 at 3:50:39 PM UTC-4, Christian Hammond wrote:
>>>
>>> Hi,
>>>
>>> If this is a copy of the database, and not a reference to the original 
>>> database, then you can use the commands in my prior e-mail to fix up the 
>>> path. It'll modify the settings stored in the database to reference the new 
>>> paths you specify. After you do that, you can restart Apache, and it should 
>>> begin to work.
>>>
>>> The rest of what you're doing sounds fine, as far as I can tell.
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond - chi...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> Beanbag, Inc. - http://www.beanbaginc.com
>>>
>>> On Wed, May 6, 2015 at 12:41 PM, Papaswede  wrote:
>>>
>>>> Ah, well maybe that is the issue then. Ok, so let me ask if I need to 
>>>> go about this a different way. We currently have reviewboard running on an 
>>>> old, antiquated box. I had them set up a new VM for me that I am migrating 
>>>> reviewboard to. I can't install reviewboard in the same location on this 
>>>> new VM because they gave me a "local" directory to use and I have to build 
>>>> everything from scratch. So, I built apache, MySQL and all the 
>>>> dependencies. I also installed the most recent version of Reviewboard. 
>>>> However, I wanted to keep the data from the old reviewboard server, so I 
>>>> did a MySQL backup and restored that backup on the new VM. I also 
>>>> compressed the old reviewboard site and moved that over to the VM and 
>>>> unzipped it. After this I ran the rb-site upgrade command since the 
>>>> version 
>>>> of reviewboard on the new VM is the most recent version whereas we were a 
>>>> number of versions behind on the old box. In the past I've never moved 
>>>> reviewboard from one server to another, so perhaps the way I'm going about 
>>>> this is fundamentally flawed. Is there a better way to install reviewboard 
>>>> from scratch yet still take all of the data from another reviewboard 
>>>> installation and restore it?
>>>>
>>>> Hopefully all of that makes sense.
>>>>
>>>>
>>>> On Tuesday, May 5, 2015 at 3:06:20 PM UTC-4, Christian Hammond wrote:
>>>>>
>>>>> If the path is referencing an incorrect directory, then it sounds like 
>>>>> you may be using a database originally installed in a different path. You 
>>>>> can verify this by typing:
>>>>>
>>>>> $ rb-site manage /path/to/site list-siteconfig
>>>>>
>>>>> That will show you all your configured site settings, some of which 
>>>>> will have a path. You can change those paths from the command line 
>>>>> through:
>>>>>
>>>>> 

Re: Issue after ReviewBoard upgrade

2015-05-06 Thread Papaswede


Ok, I tried that and that got rid of one of the error messages (the one 
that was referencing an invalid path), but the other two are still there, 
and those two messages do reference a valid path.


<https://lh3.googleusercontent.com/-t-njvjcyzEg/VUp7pYZL5ZI/ALE/1p4V_TYGWkg/s1600/Manual_server_updates_required___Review_Board.png>That
 
is what I'm seeing right now. Those two paths are accessible and valid, and 
I tried running the suggested command to update the permissions, but no 
luck. I've tried a bunch of different combinations of permissions on those 
folders, but nothing seems to work.


On Wednesday, May 6, 2015 at 3:50:39 PM UTC-4, Christian Hammond wrote:
>
> Hi,
>
> If this is a copy of the database, and not a reference to the original 
> database, then you can use the commands in my prior e-mail to fix up the 
> path. It'll modify the settings stored in the database to reference the new 
> paths you specify. After you do that, you can restart Apache, and it should 
> begin to work.
>
> The rest of what you're doing sounds fine, as far as I can tell.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On Wed, May 6, 2015 at 12:41 PM, Papaswede  > wrote:
>
>> Ah, well maybe that is the issue then. Ok, so let me ask if I need to go 
>> about this a different way. We currently have reviewboard running on an 
>> old, antiquated box. I had them set up a new VM for me that I am migrating 
>> reviewboard to. I can't install reviewboard in the same location on this 
>> new VM because they gave me a "local" directory to use and I have to build 
>> everything from scratch. So, I built apache, MySQL and all the 
>> dependencies. I also installed the most recent version of Reviewboard. 
>> However, I wanted to keep the data from the old reviewboard server, so I 
>> did a MySQL backup and restored that backup on the new VM. I also 
>> compressed the old reviewboard site and moved that over to the VM and 
>> unzipped it. After this I ran the rb-site upgrade command since the version 
>> of reviewboard on the new VM is the most recent version whereas we were a 
>> number of versions behind on the old box. In the past I've never moved 
>> reviewboard from one server to another, so perhaps the way I'm going about 
>> this is fundamentally flawed. Is there a better way to install reviewboard 
>> from scratch yet still take all of the data from another reviewboard 
>> installation and restore it?
>>
>> Hopefully all of that makes sense.
>>
>>
>> On Tuesday, May 5, 2015 at 3:06:20 PM UTC-4, Christian Hammond wrote:
>>>
>>> If the path is referencing an incorrect directory, then it sounds like 
>>> you may be using a database originally installed in a different path. You 
>>> can verify this by typing:
>>>
>>> $ rb-site manage /path/to/site list-siteconfig
>>>
>>> That will show you all your configured site settings, some of which will 
>>> have a path. You can change those paths from the command line through:
>>>
>>>     $ rb-site manage /path/to/site set-siteconfig -- --key= 
>>> --value=
>>>
>>> Note the "--" before the flags. That's important.
>>>
>>> Christian
>>>
>>> -- 
>>> Christian Hammond - chi...@chipx86.com
>>> Review Board - http://www.reviewboard.org
>>> Beanbag, Inc. - http://www.beanbaginc.com
>>>
>>> On Tue, May 5, 2015 at 6:49 AM, Papaswede  wrote:
>>>
>>>> Yeah, I've tried various combinations of permissions and always 
>>>> restarting apache after I make changes. I'm a bit stuck here as the error 
>>>> messages do not make any sense to me.
>>>>
>>>> On Thursday, April 30, 2015 at 9:47:00 PM UTC-4, David Trowbridge wrote:
>>>>>
>>>>> Have you tried restarting the web server (apache)?
>>>>>
>>>>> -David
>>>>>
>>>>> On Thu, Apr 30, 2015 at 11:12 AM Papaswede  wrote:
>>>>>
>>>>>> I've upgraded my ReviewBoard site and am now getting the errors in 
>>>>>> the attached screenshot. The first and last errors don't make sense to 
>>>>>> me, 
>>>>>> because /var/reviewboard/ is not the location of my reviewboard 
>>>>>> installation. It's located in /opt/local/revboard/reviewboard. As far as 
>>>>>> the other error messages g

Re: Issue after ReviewBoard upgrade

2015-05-06 Thread Papaswede
Ah, well maybe that is the issue then. Ok, so let me ask if I need to go 
about this a different way. We currently have reviewboard running on an 
old, antiquated box. I had them set up a new VM for me that I am migrating 
reviewboard to. I can't install reviewboard in the same location on this 
new VM because they gave me a "local" directory to use and I have to build 
everything from scratch. So, I built apache, MySQL and all the 
dependencies. I also installed the most recent version of Reviewboard. 
However, I wanted to keep the data from the old reviewboard server, so I 
did a MySQL backup and restored that backup on the new VM. I also 
compressed the old reviewboard site and moved that over to the VM and 
unzipped it. After this I ran the rb-site upgrade command since the version 
of reviewboard on the new VM is the most recent version whereas we were a 
number of versions behind on the old box. In the past I've never moved 
reviewboard from one server to another, so perhaps the way I'm going about 
this is fundamentally flawed. Is there a better way to install reviewboard 
from scratch yet still take all of the data from another reviewboard 
installation and restore it?

Hopefully all of that makes sense.


On Tuesday, May 5, 2015 at 3:06:20 PM UTC-4, Christian Hammond wrote:
>
> If the path is referencing an incorrect directory, then it sounds like you 
> may be using a database originally installed in a different path. You can 
> verify this by typing:
>
> $ rb-site manage /path/to/site list-siteconfig
>
> That will show you all your configured site settings, some of which will 
> have a path. You can change those paths from the command line through:
>
> $ rb-site manage /path/to/site set-siteconfig -- --key= 
> --value=
>
> Note the "--" before the flags. That's important.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com 
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On Tue, May 5, 2015 at 6:49 AM, Papaswede 
> > wrote:
>
>> Yeah, I've tried various combinations of permissions and always 
>> restarting apache after I make changes. I'm a bit stuck here as the error 
>> messages do not make any sense to me.
>>
>> On Thursday, April 30, 2015 at 9:47:00 PM UTC-4, David Trowbridge wrote:
>>>
>>> Have you tried restarting the web server (apache)?
>>>
>>> -David
>>>
>>> On Thu, Apr 30, 2015 at 11:12 AM Papaswede  wrote:
>>>
>>>> I've upgraded my ReviewBoard site and am now getting the errors in the 
>>>> attached screenshot. The first and last errors don't make sense to me, 
>>>> because /var/reviewboard/ is not the location of my reviewboard 
>>>> installation. It's located in /opt/local/revboard/reviewboard. As far as 
>>>> the other error messages go, I've done what they ask me to do, but they're 
>>>> still showing up, so I'm not sure what to do there. I've verified that the 
>>>> directories exist and have the correct permissions.
>>>>
>>>>
>>>>  -- 
>>>> 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...@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...@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.


Re: Issue after ReviewBoard upgrade

2015-05-05 Thread Papaswede
Yeah, I've tried various combinations of permissions and always restarting 
apache after I make changes. I'm a bit stuck here as the error messages do 
not make any sense to me.

On Thursday, April 30, 2015 at 9:47:00 PM UTC-4, David Trowbridge wrote:
>
> Have you tried restarting the web server (apache)?
>
> -David
>
> On Thu, Apr 30, 2015 at 11:12 AM Papaswede  > wrote:
>
>> I've upgraded my ReviewBoard site and am now getting the errors in the 
>> attached screenshot. The first and last errors don't make sense to me, 
>> because /var/reviewboard/ is not the location of my reviewboard 
>> installation. It's located in /opt/local/revboard/reviewboard. As far as 
>> the other error messages go, I've done what they ask me to do, but they're 
>> still showing up, so I'm not sure what to do there. I've verified that the 
>> directories exist and have the correct permissions.
>>
>>
>>  -- 
>> 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...@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.


Issue after ReviewBoard upgrade

2015-04-30 Thread Papaswede
I've upgraded my ReviewBoard site and am now getting the errors in the 
attached screenshot. The first and last errors don't make sense to me, 
because /var/reviewboard/ is not the location of my reviewboard 
installation. It's located in /opt/local/revboard/reviewboard. As far as 
the other error messages go, I've done what they ask me to do, but they're 
still showing up, so I'm not sure what to do there. I've verified that the 
directories exist and have the correct permissions.


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