Upgrade review board from 2.5.x to 3.0.15

58 views
Skip to first unread message

niraj pandey

unread,
Oct 12, 2019, 7:55:37 PM10/12/19
to Review Board Community
Hi ,

I am trying to upgrade my reviewboard from 2.5.x to 3.0.15. Current version installed on RHEL6 host and I want to install new version on RHEL7 as 3.x version required python 2.7 which is available on RHEL7.
I followed the following steps.

1- Restore DB from RHEL6 host to new RHEL7 host
2- Convert all tables from "MyISAM" to "InnoDB".
3- update review board to 3.0.15 through easy_install
4- run "rb-site install /var/www/reviewboard"

I do not see any error while executing the above steps and I logged in on reviewboard through LDAP authentication as well.
But when I try to see any review I am getting "Server 500 Error". I checked reviewboard log file and In log file I am seeing following error.
Can you suggest something how I can solve this issue:

Error:

File "/usr/lib/python2.7/site-packages/ReviewBoard-3.0.15-py2.7.egg/reviewboard/scmtools/models.py", line 330, in get_credentials

    password = self.password

  File "/usr/lib/python2.7/site-packages/ReviewBoard-3.0.15-py2.7.egg/reviewboard/scmtools/models.py", line 224, in _get_password

    password = decrypt_password(password).decode('utf-8')

  File "/usr/lib64/python2.7/encodings/utf_8.py", line 16, in decode

    return codecs.utf_8_decode(input, errors, True)

UnicodeDecodeError: 'utf8' codec can't decode byte 0xe7 in position 0: invalid continuation byte


Thanks

NIraj



David Trowbridge

unread,
Oct 12, 2019, 7:57:13 PM10/12/19
to revie...@googlegroups.com
Hi,

You’ll need to copy the SECRET_KEY from the settings.py file on the old host into the one on the new server.

David

--
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 reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/10d977ae-2b29-4e5e-9342-e2e1ac3279ed%40googlegroups.com.

niraj pandey

unread,
Oct 14, 2019, 3:17:06 AM10/14/19
to revie...@googlegroups.com, trow...@gmail.com
Awesome , It works.

Many Thanks David.

Thanks
Niraj



--
Success occurs when opportunity and preparation meet

niraj pandey

unread,
Oct 17, 2019, 12:47:35 AM10/17/19
to Review Board Community
One more thing just want to check does ReviewBoard 3.0.15 supports Python 3. I tried to build it with python 3.6.1 and getting the following error.

File "setup.py", line 347
    print 'Installing node.js modules...'
                                        ^
SyntaxError: Missing parentheses in call to 'print'

I looked into setup.py and found the syntax (checked print one) is based on python2. So i doubt but want to confirm with the experts .

Thanks
Nitaj

David Trowbridge

unread,
Oct 17, 2019, 3:10:23 AM10/17/19
to revie...@googlegroups.com
The Review Board server software does not currently support Python 3.

David

--
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 reviewboard...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages