Re: Version mismatch problem when upgrading from 1.6.1 to 1.6.4.1

2012-03-09 Thread Christian Hammond
Glad to hear :)

I'd recommend transitioning things to Python 2.6 when you can, as 1.7 won't 
support Python 2.4.

Christian



On Mar 8, 2012, at 4:46, Sam  wrote:

> Okay. Just figured it out. For some reason, my easy_install was installing 
> things into the python2.6 dir when it should be installing to python2.4 since 
> django and wsgi are both running on 2.4.
> After I reinstalled setuptools and re-did the update for ReviewBoard, things 
> went back to normal and now 1.6.4.1 is working!
> 
> 
> phew...
> 
> 
> On Thursday, March 8, 2012 5:18:31 PM UTC+8, Sam wrote:
> Just upgraded by following the instructions in the documentation. Now 
> when I try accessing the RB site, it says: 
> 
> Manual server updates required 
> A recent upgrade requires manual updates to be made on this server. 
> After these changes are made, you should restart your server. 
> If you have any questions or problems, please contact us on our 
> mailing list. 
> 
> Review Board version mismatch 
> The version of Review Board running does not match the version the 
> site was last upgraded to. You are running 1.6.1 and the site was last 
> upgraded to 1.6.4.1. 
> Please upgrade your site to fix this by running: 
> 
> $ rb-site upgrade /home/reviewboard 
> 
> 
> I've done the recommended fix command but to no avail. Additionally, 
> I'm not sure if this is the issue, but I have both python26 and 
> python24 installed on the system. I'm using CentOS5 and it defaults to 
> python24 unless otherwise configured. The new RB upgrade was installed 
> into python26 but the tmp/egg_cache dir contains: 
> 
> MySQL_python-1.2.3-py2.4-linux-x86_64.egg-tmp 
> pycrypto-2.3-py2.4-linux-x86_64.egg-tmp 
> 
> Not sure what the real problem is. Anyone can help out? I haven't 
> found anything on google yet. 
> -- 
> 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: Version mismatch problem when upgrading from 1.6.1 to 1.6.4.1

2012-03-08 Thread Sam
Okay. Just figured it out. For some reason, my easy_install was installing 
things into the python2.6 dir when it should be installing to python2.4 
since django and wsgi are both running on 2.4.
After I reinstalled setuptools and re-did the update for ReviewBoard, 
things went back to normal and now 1.6.4.1 is working!


phew...


On Thursday, March 8, 2012 5:18:31 PM UTC+8, Sam wrote:
>
> Just upgraded by following the instructions in the documentation. Now 
> when I try accessing the RB site, it says: 
>
> Manual server updates required 
> A recent upgrade requires manual updates to be made on this server. 
> After these changes are made, you should restart your server. 
> If you have any questions or problems, please contact us on our 
> mailing list. 
>
> Review Board version mismatch 
> The version of Review Board running does not match the version the 
> site was last upgraded to. You are running 1.6.1 and the site was last 
> upgraded to 1.6.4.1. 
> Please upgrade your site to fix this by running: 
>
> $ rb-site upgrade /home/reviewboard 
>
>
> I've done the recommended fix command but to no avail. Additionally, 
> I'm not sure if this is the issue, but I have both python26 and 
> python24 installed on the system. I'm using CentOS5 and it defaults to 
> python24 unless otherwise configured. The new RB upgrade was installed 
> into python26 but the tmp/egg_cache dir contains: 
>
> MySQL_python-1.2.3-py2.4-linux-x86_64.egg-tmp 
> pycrypto-2.3-py2.4-linux-x86_64.egg-tmp 
>
> Not sure what the real problem is. Anyone can help out? I haven't 
> found anything on google yet. 
>

-- 
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: Version mismatch problem when upgrading from 1.6.1 to 1.6.4.1

2012-03-08 Thread Sam
I also checked __init__.py and the VERSION = (1, 6, 4, 1, 'final', 0, True)

So I'm not sure how the mismatch message is saying that I'm currently 
running 1.6.1

On Thursday, March 8, 2012 5:18:31 PM UTC+8, Sam wrote:
>
> Just upgraded by following the instructions in the documentation. Now 
> when I try accessing the RB site, it says: 
>
> Manual server updates required 
> A recent upgrade requires manual updates to be made on this server. 
> After these changes are made, you should restart your server. 
> If you have any questions or problems, please contact us on our 
> mailing list. 
>
> Review Board version mismatch 
> The version of Review Board running does not match the version the 
> site was last upgraded to. You are running 1.6.1 and the site was last 
> upgraded to 1.6.4.1. 
> Please upgrade your site to fix this by running: 
>
> $ rb-site upgrade /home/reviewboard 
>
>
> I've done the recommended fix command but to no avail. Additionally, 
> I'm not sure if this is the issue, but I have both python26 and 
> python24 installed on the system. I'm using CentOS5 and it defaults to 
> python24 unless otherwise configured. The new RB upgrade was installed 
> into python26 but the tmp/egg_cache dir contains: 
>
> MySQL_python-1.2.3-py2.4-linux-x86_64.egg-tmp 
> pycrypto-2.3-py2.4-linux-x86_64.egg-tmp 
>
> Not sure what the real problem is. Anyone can help out? I haven't 
> found anything on google yet. 
>

-- 
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: Version mismatch problem when upgrading from 1.6.1 to 1.6.4.1

2012-03-08 Thread Sam
Here is the output when I run rb-site upgrade:


# rb-site upgrade /home/reviewboard
Rebuilding directory structure
Updating database. This may take a while.
Creating tables ...
Installing custom SQL ...
Installing indexes ...
No fixtures found.
/usr/lib/python2.6/site-packages/pycrypto-2.5-py2.6-linux-x86_64.egg/Crypto/Util/number.py:57:
 
PowmInsecureWarning: Not using mpz_powm_sec.  You should rebuild using 
libgmp >= 5 to avoid timing attack vulnerability.
No evolution required.
Resetting in-database caches.
Upgrade complete.





On Thursday, March 8, 2012 5:18:31 PM UTC+8, Sam wrote:
>
> Just upgraded by following the instructions in the documentation. Now 
> when I try accessing the RB site, it says: 
>
> Manual server updates required 
> A recent upgrade requires manual updates to be made on this server. 
> After these changes are made, you should restart your server. 
> If you have any questions or problems, please contact us on our 
> mailing list. 
>
> Review Board version mismatch 
> The version of Review Board running does not match the version the 
> site was last upgraded to. You are running 1.6.1 and the site was last 
> upgraded to 1.6.4.1. 
> Please upgrade your site to fix this by running: 
>
> $ rb-site upgrade /home/reviewboard 
>
>
> I've done the recommended fix command but to no avail. Additionally, 
> I'm not sure if this is the issue, but I have both python26 and 
> python24 installed on the system. I'm using CentOS5 and it defaults to 
> python24 unless otherwise configured. The new RB upgrade was installed 
> into python26 but the tmp/egg_cache dir contains: 
>
> MySQL_python-1.2.3-py2.4-linux-x86_64.egg-tmp 
> pycrypto-2.3-py2.4-linux-x86_64.egg-tmp 
>
> Not sure what the real problem is. Anyone can help out? I haven't 
> found anything on google yet. 
>

-- 
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: Version mismatch problem when upgrading from 1.6.1 to 1.6.4.1

2012-03-08 Thread Sam
Ya. I restarted memcached and apache.

Regarding the python mismatch. I'm not sure why when I installed RB 1.6.1 
it was in /usr/lib/python2.4/site-packages/ReviewBoard-1.6.1-py2.4.egg

But after the upgrade, it defaulted to install 
in /usr/lib/python2.6/site-packages/ReviewBoard-1.6.4.1-py2.6.egg
Though, the symlinks, after the site upgrade, all point to dirs 
in /usr/lib/python2.6/site-packages 

How do I make sure the python versions are really matching?


On Thursday, March 8, 2012 5:28:33 PM UTC+8, Christian Hammond wrote:
>
> Hi Sam,
>
> The versions of Python absolutely must match. Installing something into 
> one version and trying to use another is almost like installing something 
> on one computer and trying to run it from a separate one.
>
> Have you tried reloading Apache after upgrading the site?
>
> Christian
>
> -- 
> Christian Hammond - chip...@chipx86.com
> Review Board - http://www.reviewboard.org
> VMware, Inc. - http://www.vmware.com
>
>
> On Thu, Mar 8, 2012 at 1:18 AM, Sam  wrote:
>
>> Just upgraded by following the instructions in the documentation. Now
>> when I try accessing the RB site, it says:
>>
>> Manual server updates required
>> A recent upgrade requires manual updates to be made on this server.
>> After these changes are made, you should restart your server.
>> If you have any questions or problems, please contact us on our
>> mailing list.
>>
>> Review Board version mismatch
>> The version of Review Board running does not match the version the
>> site was last upgraded to. You are running 1.6.1 and the site was last
>> upgraded to 1.6.4.1.
>> Please upgrade your site to fix this by running:
>>
>>$ rb-site upgrade /home/reviewboard
>>
>>
>> I've done the recommended fix command but to no avail. Additionally,
>> I'm not sure if this is the issue, but I have both python26 and
>> python24 installed on the system. I'm using CentOS5 and it defaults to
>> python24 unless otherwise configured. The new RB upgrade was installed
>> into python26 but the tmp/egg_cache dir contains:
>>
>> MySQL_python-1.2.3-py2.4-linux-x86_64.egg-tmp
>> pycrypto-2.3-py2.4-linux-x86_64.egg-tmp
>>
>> Not sure what the real problem is. Anyone can help out? I haven't
>> found anything on google yet.
>>
>> --
>> 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: Version mismatch problem when upgrading from 1.6.1 to 1.6.4.1

2012-03-08 Thread Christian Hammond
Hi Sam,

The versions of Python absolutely must match. Installing something into one
version and trying to use another is almost like installing something on
one computer and trying to run it from a separate one.

Have you tried reloading Apache after upgrading the site?

Christian

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


On Thu, Mar 8, 2012 at 1:18 AM, Sam  wrote:

> Just upgraded by following the instructions in the documentation. Now
> when I try accessing the RB site, it says:
>
> Manual server updates required
> A recent upgrade requires manual updates to be made on this server.
> After these changes are made, you should restart your server.
> If you have any questions or problems, please contact us on our
> mailing list.
>
> Review Board version mismatch
> The version of Review Board running does not match the version the
> site was last upgraded to. You are running 1.6.1 and the site was last
> upgraded to 1.6.4.1.
> Please upgrade your site to fix this by running:
>
>$ rb-site upgrade /home/reviewboard
>
>
> I've done the recommended fix command but to no avail. Additionally,
> I'm not sure if this is the issue, but I have both python26 and
> python24 installed on the system. I'm using CentOS5 and it defaults to
> python24 unless otherwise configured. The new RB upgrade was installed
> into python26 but the tmp/egg_cache dir contains:
>
> MySQL_python-1.2.3-py2.4-linux-x86_64.egg-tmp
> pycrypto-2.3-py2.4-linux-x86_64.egg-tmp
>
> Not sure what the real problem is. Anyone can help out? I haven't
> found anything on google yet.
>
> --
> 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

Version mismatch problem when upgrading from 1.6.1 to 1.6.4.1

2012-03-08 Thread Sam
Just upgraded by following the instructions in the documentation. Now
when I try accessing the RB site, it says:

Manual server updates required
A recent upgrade requires manual updates to be made on this server.
After these changes are made, you should restart your server.
If you have any questions or problems, please contact us on our
mailing list.

Review Board version mismatch
The version of Review Board running does not match the version the
site was last upgraded to. You are running 1.6.1 and the site was last
upgraded to 1.6.4.1.
Please upgrade your site to fix this by running:

$ rb-site upgrade /home/reviewboard


I've done the recommended fix command but to no avail. Additionally,
I'm not sure if this is the issue, but I have both python26 and
python24 installed on the system. I'm using CentOS5 and it defaults to
python24 unless otherwise configured. The new RB upgrade was installed
into python26 but the tmp/egg_cache dir contains:

MySQL_python-1.2.3-py2.4-linux-x86_64.egg-tmp
pycrypto-2.3-py2.4-linux-x86_64.egg-tmp

Not sure what the real problem is. Anyone can help out? I haven't
found anything on google yet.

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