I was able to manage with these tips and get the installation done. Thank 
you so much Christian

When we upgrade the RB from 1.7.9 to 2.5.x version does the RB mysql tables 
get upgraded as well ? Because my initial RB was running on 1.7.9 and 
upgraded it to 2.5.4 using easy_install. Now I installed RB2.5.4 and trying 
to import directly the DB from mysql dump.

On Wednesday, April 5, 2017 at 1:42:41 PM UTC-7, Christian Hammond wrote:
>
> Ah, this is the problem. Yeah, 2.5.4 was more lax on the version of 
> Haystack, and since then Haystack had put out a version that was 
> incompatible with our version of Django. It installs a newer version when 
> installed. That's how you ended up in this situation.
>
> This was fixed in 2.5.6 (2.5.6.1, really -- 2.5.6 had a major regression).
>
> You'll need to remove Haystack and upgrade to a newer version of Review 
> Board. I recommend using 2.5.10, which came out a few days ago. Amongst 
> other things, it fixes security issues in the product.
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Wed, Apr 5, 2017 at 1:25 PM, Kartthik Raghunathan <[email protected] 
> <javascript:>> wrote:
>
>> I traced all the Django installed versions and removed them. Later I 
>> installed Django 1.6.11 using pip and tried installing RB 2.5.4 still 
>> hitting the same issue but with different message. I feel we made some 
>> progress this time.
>>
>> I cleaned up Django-haystack files too before RB installation ! Thanks 
>> for all your help.
>>
>>  pip install Django==1.6.11
>>
>> [root@scmchroot6 ~]# easy_install ReviewBoard==2.5.4
>> Searching for ReviewBoard==2.5.4
>> Best match: ReviewBoard 2.5.4
>> Processing ReviewBoard-2.5.4-py2.7.egg
>> ReviewBoard 2.5.4 is already the active version in easy-install.pth
>> Installing rbssh script to /usr/bin
>> Installing rb-site script to /usr/bin
>>
>> Using /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg
>> Processing dependencies for ReviewBoard==2.5.4
>> Searching for django-haystack>=2.3.1
>> Reading http://downloads.reviewboard.org/mirror/
>> Reading http://downloads.reviewboard.org/releases/Djblets/0.9/
>> Reading http://downloads.reviewboard.org/releases/django-evolution/0.7/
>> Reading https://pypi.python.org/simple/django-haystack/
>> Downloading 
>> https://pypi.python.org/packages/e8/84/443bb35dfc0bee6ff103434c37eb1c089215edb30147ed660aca1ca5d20b/django-haystack-2.6.0.tar.gz#md5=4d29cc2a42ac903a78f19745e021611a
>> Best match: django-haystack 2.6.0
>> Processing django-haystack-2.6.0.tar.gz
>> Writing /tmp/easy_install-vbpkfp/django-haystack-2.6.0/setup.cfg
>> Running django-haystack-2.6.0/setup.py -q bdist_egg --dist-dir 
>> /tmp/easy_install-vbpkfp/django-haystack-2.6.0/egg-dist-tmp-sGEv1r
>> creating /usr/lib/python2.7/site-packages/django_haystack-2.6.0-py2.7.egg
>> Extracting django_haystack-2.6.0-py2.7.egg to 
>> /usr/lib/python2.7/site-packages
>> Adding django-haystack 2.6.0 to easy-install.pth file
>>
>> *Installed 
>> /usr/lib/python2.7/site-packages/django_haystack-2.6.0-py2.7.egg*
>> *error: Django 1.6.11 is installed but Django>=1.8 is required by 
>> set(['django-haystack'])*
>>
>>
>> On Wednesday, April 5, 2017 at 12:09:37 PM UTC-7, Christian Hammond wrote:
>>>
>>> You need to locate and remove the older version of Django being used. 
>>> You should locate the site-packages directory for the version of Python 
>>> used for Review Board and try to find the offending version.
>>>
>>> My guess is there's a Wheel package taking precedence over the one 
>>> you're trying to install. Instead of using easy_install, try upgrading pip 
>>> and installing Django using that:
>>>
>>>     pip install - U pip
>>>     pip install Django==1.6.11
>>>
>>> Christian
>>>
>>>
>>> On Wed, Apr 5, 2017 at 11:14 Kartthik Raghunathan <[email protected]> 
>>> wrote:
>>>
>>>> I have RB 2.5.4 in production and trying to bring up the same version 
>>>> for QA too. This command will install the latest version and there might 
>>>> be 
>>>> some DB changes so I'm trying to stick to 2.5.4
>>>>
>>>>
>>>> On Tuesday, April 4, 2017 at 5:57:05 PM UTC-7, Stephen Gallagher wrote:
>>>>
>>>>> You can also try using the EPEL packages for ReviewBoard which will 
>>>>> pull in the correct Django RPM. See 
>>>>> https://fedoraproject.org/wiki/EPEL for information on how to install 
>>>>> the EPEL repository. Then do:
>>>>> yum install --enablerepo=epel-testing ReviewBoard 
>>>>>
>>>>> (The reason for enabling the testing repo is that the latest security 
>>>>> fix release hasn't made it to the stable repo yet, but the previous 
>>>>> release 
>>>>> would work without the testing repo) 
>>>>>
>>>>> On Tue, Apr 4, 2017, 8:43 PM Christian Hammond <[email protected]> 
>>>>> wrote:
>>>>>
>>>> Hi,
>>>>>>
>>>>>> Looks like you have a newer version of Django on the system, which 
>>>>>> Review Board is not compatible with. You need to explicitly install the 
>>>>>> 1.6.11 version (or, preferably, a security-patched version of this from 
>>>>>> http://downloads.reviewboard.org/releases/Django/1.6/ -- a new 
>>>>>> version will be coming out tonight). You can download a build from there 
>>>>>> and use it with easy_install or pip install.
>>>>>>
>>>>>> If you are running multiple apps on this server that require 
>>>>>> different versions of Django, then you'll need to use something like a 
>>>>>> virtualenv to separate the environments so that each can have their own 
>>>>>> correct versions of Django and other dependencies.
>>>>>>
>>>>>> Christian
>>>>>>
>>>>>> -- 
>>>>>> Christian Hammond
>>>>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>>>>> Makers of Review Board <https://www.reviewboard.org/>
>>>>>>
>>>>> On Tue, Apr 4, 2017 at 3:57 PM, Kartthik Raghunathan <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>> I'm trying to install RB 2.5.4 on a Centos7.3 linux box and keep 
>>>>>>> getting this below error message. I tried with 2.5.6 and 2.5.8 too but 
>>>>>>> still facing the same issue.
>>>>>>>
>>>>>>> I tried removing django (yum remove Django) and reinstalling the RB 
>>>>>>> but still getting struck at the same point. Can someone shed some light 
>>>>>>> on 
>>>>>>> this installation issue.
>>>>>>>
>>>>>>> [root@qa ~]# easy_install reviewboard==2.5.4
>>>>>>> Searching for reviewboard==2.5.4
>>>>>>> Reading https://pypi.python.org/simple/reviewboard/
>>>>>>> Best match: ReviewBoard 2.5.4
>>>>>>> Downloading 
>>>>>>> https://pypi.python.org/packages/3f/04/e0f4d4754cc5a9bf05b5322f59b28fdb404f69648223786546e5d2be5225/ReviewBoard-2.5.4-py2.7.egg#md5=bf3557e0dc1ebc1951f6ad638b3ba29a
>>>>>>> Processing ReviewBoard-2.5.4-py2.7.egg
>>>>>>> creating /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg
>>>>>>> Extracting ReviewBoard-2.5.4-py2.7.egg to 
>>>>>>> /usr/lib/python2.7/site-packages
>>>>>>> Adding ReviewBoard 2.5.4 to easy-install.pth file
>>>>>>> Installing rbssh script to /usr/bin
>>>>>>> Installing rb-site script to /usr/bin
>>>>>>>
>>>>>>> Installed 
>>>>>>> /usr/lib/python2.7/site-packages/ReviewBoard-2.5.4-py2.7.egg
>>>>>>> Reading http://downloads.reviewboard.org/mirror/
>>>>>>> Reading http://downloads.reviewboard.org/releases/Djblets/0.9/
>>>>>>> Reading 
>>>>>>> http://downloads.reviewboard.org/releases/django-evolution/0.7/
>>>>>>> Processing dependencies for reviewboard==2.5.4
>>>>>>> *error: Installed distribution Django 1.6.11 conflicts with 
>>>>>>> requirement Django>=1.8*
>>>>>>>
>>>>>>> Thanks in advance.
>>>>>>>
>>>>>> -- 
>>>>>>> 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 [email protected].
>>>>>>
>>>>>>
>>>>>>> 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 [email protected].
>>>>>
>>>>>
>>>>>> 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 [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>>> -- 
>>> Christian Hammond
>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>> Makers of Review Board <https://www.reviewboard.org/>
>>>
>> -- 
>> 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 [email protected] <javascript:>.
>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to