Hi all, I’m triing to update version from 2.0.1 to 3.00 but I receive this error!
How I can solve it?
thanks in advance
Estevan

Downloading release tarball…
Unpacking to: redash.3.0.0.b3134…
Changing ownership to redash…
Linking .env file…
Installing new Python packages (if needed)…
Running migrations (if needed)…
Failed running: sudo -u redash bin/run ./manage.py db upgrade
Exit status: 1
Output:
Traceback (most recent call last):
File “/opt/redash/redash.3.0.0.b3134/manage.py”, line 6, in
from redash.cli import manager
File “/opt/redash/redash.3.0.0.b3134/redash/init.py”, line 70, in
import_query_runners(settings.QUERY_RUNNERS)
File “/opt/redash/redash.3.0.0.b3134/redash/query_runner/init.py”, line 17 5, in import_query_runners
import(runner_import)
File “/opt/redash/redash.3.0.0.b3134/redash/query_runner/big_query.py”, line 1 8, in
import apiclient.errors
File “/usr/local/lib/python2.7/dist-packages/apiclient/init.py”, line 19, in
from googleapiclient import discovery
File “/usr/local/lib/python2.7/dist-packages/googleapiclient/discovery.py”, li ne 71, in
from oauth2client.client import GoogleCredentials
File “/usr/local/lib/python2.7/dist-packages/oauth2client/client.py”, line 47, in
from oauth2client import crypt
File “/usr/local/lib/python2.7/dist-packages/oauth2client/crypt.py”, line 45, in
from oauth2client import _openssl_crypt
File “/usr/local/lib/python2.7/dist-packages/oauth2client/_openssl_crypt.py”, line 16, in
from OpenSSL import crypto
File “/usr/local/lib/python2.7/dist-packages/OpenSSL/init.py”, line 8, in
from OpenSSL import rand, crypto, SSL
File “/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py”, line 105, in
SSL_ST_INIT = _lib.SSL_ST_INIT
AttributeError: ‘module’ object has no attribute ‘SSL_ST_INIT’

install lastest pyOpenSSL

pip install -I pyOpenSSL

3 Likes

Identical problem. After the update according to the instructions and the update of the pyOpenSSL(16.2.0) to the version specified in the requirements_all_ds.txt file, I get the following error:

[root@vm-ReDash current]$ sudo bin/upgrade

Traceback (most recent call last):
File “bin/upgrade”, line 9, in
import requests
File “/usr/local/lib/python2.7/dist-packages/requests/init.py”, line 52, in
from .packages.urllib3.contrib import pyopenssl
File “/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/contrib/pyopenssl.py”, line 54, in
import OpenSSL.SSL
File “/usr/local/lib/python2.7/dist-packages/OpenSSL/init.py”, line 8, in
from OpenSSL import rand, crypto, SSL
File “/usr/local/lib/python2.7/dist-packages/OpenSSL/SSL.py”, line 105, in
SSL_ST_INIT = _lib.SSL_ST_INIT
AttributeError: ‘module’ object has no attribute ‘SSL_ST_INIT’