Hello,

what is the correct method to upgrade from 3.0.20 to 4.0.7 ? I inherited 
the server and was asked to upgrade, however the method described in the 
documentation (pip upgrade ...) does not work, it fails with python errors. 
I understood the 3.x runs with python 2.7 and 4.x runs with python 3, but 
here my python experience ends. 

I managed to run "python3 -m pip install --upgrade pip" without erros, and 
"pip3 install ReviewBoard" afterwards. It complained I ran it as root. 
Running "rb-site upgrade /var/www/rbsite" wrote ModuleNotFoundError: No 
module named 'psycopg2' and some other errors. Running "pip3 install 
psycopg2" wrote:
Building wheels for collected packages: psycopg2
Building wheel for psycopg2 (setup.py) ... error
ERROR: Command errored out with exit status 1:
...
./psycopg/psycopg.h:35:20: fatal error: Python.h: No such file or directory

So I run "pip install psycopg2-binary==2.8.6" (I cound not compile it and 
newer version had issue with timezone). 

"rb-site upgrade /var/www/rbsite" was *successfull *this time, I restarted 
httpd and memcached, however I get HTTP500 error now.  I see no log files 
generated.

Running the file manually writes this:
[root@localhost htdocs]# python3 reviewboard.wsgi
/usr/local/lib/python3.6/site-packages/paramiko/transport.py:33: 
CryptographyDeprecationWarning: Python 3.6 is no longer supported by the 
Python core team. Therefore, support for it is deprecated in cryptography 
and will be removed in a future release.
  from cryptography.hazmat.backends import default_backend
[root@localhost htdocs]#

Could you please give try to navigate me, what to fix ?

Thansk,

BR

MM

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/6476153f-3695-41aa-a1a8-88a0e0edea60n%40googlegroups.com.

Reply via email to