Hi Chris,

There shouldn't be from our end, but it's always worth doing a test upgrade
on a copy of the database before you do anything in production, and to have
a full backup of everything for production before applying the upgrade.

With MySQL in particular, there are things outside our control that can go
wrong. For instance, depending on the version of MySQL used when Review
Board was installed, you may have tables created in one format (MyISAM)
that aren't compatible with the default format for tables on newer versions
of MySQL (InnoDB), and this can lead to errors during upgrade that require
reverting, fixing, and trying again (or a manual database repair, something
we offer under support). We've also encountered conflicts with indexes
(depending on versions of Django or Django Evolution installed when
particular tables were created) and seen issues with in-house modifications
to databases (an index here, an Alter Table there...). So these are things
to be aware of before a major upgrade.

Christian

On Sat, Dec 8, 2018 at 5:53 AM <[email protected]> wrote:

> Hi Christian,
>
> I had tried to upgrade setuptools but both yum and pip - originally
> installed with yum. I erased the yum version and used pip.  That got the
> level up to where it needed to be
> and I was able to install 3.0.11. Many thanks!
>
> This is not our production ReviewBoard server, as I wanted to dry the
> upgrade process before doing our actual upgrade. So, out of curiosity in
> going from 2.5.7 to 3.0.11, while there be any issues migrating our mysql
> databases when going to 3.0.11?
>
> Regards,
> Chris
>
>
> On Friday, December 7, 2018 at 6:18:25 PM UTC-5, Christian Hammond wrote:
>>
>> Hi Chris,
>>
>> Looks like your setuptools is very old, and doesn’t support modern
>> packaging standards. You should be able to first upgrade the setuptools
>> package and then this upgrade should proceed.
>>
>> Just as a safeguard, please make sure your site directory and database
>> are backed up before the Review Board upgrade :)
>>
>> Christian
>>
>>
>> On Fri, Dec 7, 2018 at 14:05 <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I tried to use easy_install to upgrade from 2.5.7 (installed through yum
>>> install) to 3.0.11 and got the following errors. Is there away I can work
>>> around this?
>>>
>>> [root@centos7-dev-server ~]# easy_install -U ReviewBoard
>>> Searching for ReviewBoard
>>> Reading https://pypi.python.org/simple/ReviewBoard/
>>> Best match: ReviewBoard 3.0.11
>>> Downloading
>>> https://files.pythonhosted.org/packages/bb/06/f27021d337e6ead1c75ec7254e29b638edb87878e666aed260dc6972a8de/ReviewBoard-3.0.11-py2.7.egg#sha256=c65decf1b04f1bf79791d790df192aa998cfb96537dc693c438ca41ab08c17e7
>>> Processing ReviewBoard-3.0.11-py2.7.egg
>>> removing '/usr/lib/python2.7/site-packages/ReviewBoard-3.0.11-py2.7.egg'
>>> (and everything under it)
>>> creating /usr/lib/python2.7/site-packages/ReviewBoard-3.0.11-py2.7.egg
>>> Extracting ReviewBoard-3.0.11-py2.7.egg to
>>> /usr/lib/python2.7/site-packages
>>> ReviewBoard 3.0.11 is already the active version in easy-install.pth
>>> Installing rbext script to /usr/bin
>>> Installing rbssh script to /usr/bin
>>> Installing rb-site script to /usr/bin
>>>
>>> Installed /usr/lib/python2.7/site-packages/ReviewBoard-3.0.11-py2.7.egg
>>> Processing dependencies for ReviewBoard
>>> Searching for requests==2.*,>=2.14
>>> Reading https://pypi.python.org/simple/requests/
>>> Best match: requests 2.20.1
>>> Downloading
>>> https://files.pythonhosted.org/packages/40/35/298c36d839547b50822985a2cf0611b3b978a5ab7a5af5562b8ebe3e1369/requests-2.20.1.tar.gz#sha256=ea881206e59f41dbd0bd445437d792e43906703fff75ca8ff43ccdb11f33f263
>>> Processing requests-2.20.1.tar.gz
>>> Writing /tmp/easy_install-2EIkIb/requests-2.20.1/setup.cfg
>>> Running requests-2.20.1/setup.py -q bdist_egg --dist-dir
>>> /tmp/easy_install-2EIkIb/requests-2.20.1/egg-dist-tmp-16UrYt
>>> /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown
>>> distribution option: 'long_description_content_type'
>>>   warnings.warn(msg)
>>> Traceback (most recent call last):
>>>   File "/bin/easy_install", line 9, in <module>
>>>     load_entry_point('setuptools==0.9.8', 'console_scripts',
>>> 'easy_install')()
>>>   File
>>> "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line
>>> 1992, in main
>>>     with_ei_usage(lambda:
>>>   File
>>> "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line
>>> 1979, in with_ei_usage
>>>     return f()
>>>   File
>>> "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line
>>> 1996, in <lambda>
>>>     distclass=DistributionWithoutHelpCommands, **kw
>>>   File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
>>>     dist.run_commands()
>>>   File "/usr/lib64/python2.7/distutils/dist.py", line 953, in
>>> run_commands
>>>     self.run_command(cmd)
>>>   File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
>>>     cmd_obj.run()
>>>   File
>>> "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line
>>> 380, in run
>>>     self.easy_install(spec, not self.no_deps)
>>>   File
>>> "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line
>>> 623, in easy_install
>>>     return self.install_item(spec, dist.location, tmpdir, deps)
>>>   File
>>> "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line
>>> 655, in install_item
>>>     self.process_distribution(spec, dist, deps)
>>>   File
>>> "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line
>>> 706, in process_distribution
>>>     [requirement], self.local_index, self.easy_install
>>>
>>> --
>>> 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 "Review Board Community" 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
>> Makers of Review Board
>>
> --
> 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
> "Review Board Community" 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 
"Review Board Community" 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