Hi Will,

It's possible that you either have a Python version mismatch (it's using
2.6 on the web server and 2.7 on the command line, or vice-versa), or you
have a mix of Python eggs and wheels/yum-installed packages.

Do you always use easy_install, or have you used yum or pip to install
Review Board in the past?

Can you look to see what "ReviewBoard*" and "reviewboard*" directories you
see in /usr/lib/python2.6/site-packages and
/usr/lib/python2.7/site-packages ?

Also, make sure to follow the 2.5 docs. The 2.0 docs are a bit old at this
point.

Christian

On Mon, Jun 19, 2017 at 2:27 PM, Will Jacobs <[email protected]> wrote:

> Hey Guys -
>
> I've seen other posts on this subject, but not specific to this upgrade
> path/OS, so I figured I'd ask.
>
> I followed the instructions here: https://www.reviewboard.org/
> docs/manual/2.0/admin/upgrading/upgrading-reviewboard/ and here:
> https://www.reviewboard.org/docs/manual/2.0/admin/
> upgrading/upgrading-sites/#upgrading-sites
>
> When I first tried easy_install, I got an error saying that libffi was not
> installed, so I installed it using normal yum install (including
> libffi_devel).
>
> After that, ran the easy_install again and then ran the rb-site upgrade.
> Both completed with no errors, but when I restarted Apache (and tried
> rebooting the box), I received the version mismatch error:
>
> ---------------------
>
> The version of Review Board running does not match the version the site
> was last upgraded to. You are running *2.5.7* and the site was last
> upgraded to *2.5.12*.
>
> Please upgrade your site to fix this by running:
>
>     $ rb-site upgrade /var/www/reviewboard
>
> ---------------------
>
> I saw some other folks who renamed their ReviewBoard*.egg dirs from the newer 
> version back to the older version, so I gave that a shot, but no change (I 
> then changed it back to the original name).
>
> Any ideas what might cause this?
>
> Both the server and the DB are backed up, but it'd be nice to fix this rather 
> than reverting.
>
> Thanks much!
>
> -Will
>
> --
> 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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to