Upgrade to 4 beta. I don't understand the message


#1

Hi all,

could anybody explain me what is the problem when I try to upgrade from 2 to 4 beta?
I got those messages. Thanks you!

Failed running: sudo pip install -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt
Exit status: 2
Output:
Requirement already satisfied: Flask==0.11.1 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 1))
Requirement already satisfied: Werkzeug==0.11.11 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 2))
Requirement already satisfied: Jinja2==2.8 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 3))
Requirement already satisfied: itsdangerous==0.24 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 4))
Requirement already satisfied: click==6.6 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 5))
Requirement already satisfied: MarkupSafe==0.23 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 6))
Collecting pyOpenSSL==16.2.0 (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 7))
Using cached pyOpenSSL-16.2.0-py2.py3-none-any.whl
Collecting httplib2==0.10.3 (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 8))
Using cached httplib2-0.10.3.tar.gz
Requirement already satisfied: Flask-Admin==1.4.2 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 9))
Requirement already satisfied: Flask-RESTful==0.3.5 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 10))
Requirement already satisfied: Flask-Login==0.4.0 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 11))
Collecting Flask-OAuthLib==0.9.3 (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 12))
Using cached Flask_OAuthlib-0.9.3-py2-none-any.whl
Requirement already satisfied: Flask-SQLAlchemy==2.1 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 13))
Requirement already satisfied: Flask-Migrate==2.0.1 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 14))
Requirement already satisfied: flask-mail==0.9.1 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 15))
Requirement already satisfied: flask-sslify==0.1.5 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 16))
Requirement already satisfied: Flask-Limiter==0.9.3 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 17))
Requirement already satisfied: passlib==1.6.2 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 18))
Requirement already satisfied: aniso8601==1.1.0 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 19))
Requirement already satisfied: blinker==1.3 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 20))
Collecting psycopg2==2.7.3.2 (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 21))
Using cached psycopg2-2.7.3.2-cp27-cp27mu-manylinux1_x86_64.whl
Requirement already satisfied: python-dateutil==2.4.2 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 22))
Requirement already satisfied: pytz==2016.7 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 23))
Requirement already satisfied: redis==2.10.5 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 24))
Requirement already satisfied: requests==2.11.1 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 25))
Collecting six==1.10.0 (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 26))
Downloading six-1.10.0-py2.py3-none-any.whl
Requirement already satisfied: SQLAlchemy==1.1.4 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 27))
Collecting SQLAlchemy-Searchable==0.10.6 (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 28))
Using cached SQLAlchemy-Searchable-0.10.6.tar.gz
Collecting SQLAlchemy-Utils>=0.29.0 (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 29))
Using cached SQLAlchemy-Utils-0.33.0.tar.gz
Requirement already satisfied: sqlparse==0.1.8 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 30))
Requirement already satisfied: wsgiref==0.1.2 in /usr/lib/python2.7 (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 31))
Requirement already satisfied: honcho==0.5.0 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 32))
Requirement already satisfied: statsd==2.1.2 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 33))
Collecting gunicorn==19.7.1 (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 34))
Using cached gunicorn-19.7.1-py2.py3-none-any.whl
Collecting celery==3.1.25 (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 35))
Using cached celery-3.1.25-py2.py3-none-any.whl
Requirement already satisfied: jsonschema==2.4.0 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 36))
Requirement already satisfied: RestrictedPython==3.6.0 in /usr/local/lib/python2.7/dist-packages (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 37))
Collecting pysaml2==4.5.0 (from -r /opt/redash/redash.4.0.0-beta.b3690/requirements.txt (line 38))
Downloading pysaml2-4.5.0.tar.gz (20.0MB)
Exception:
Traceback (most recent call last):
File “/usr/local/lib/python2.7/dist-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/usr/local/lib/python2.7/dist-packages/pip/commands/install.py”, line 335, in run
wb.build(autobuilding=True)
File “/usr/local/lib/python2.7/dist-packages/pip/wheel.py”, line 749, in build
self.requirement_set.prepare_files(self.finder)
File “/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py”, line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File “/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py”, line 620, in _prepare_file
session=self.session, hashes=hashes)
File “/usr/local/lib/python2.7/dist-packages/pip/download.py”, line 821, in unpack_url
hashes=hashes
File “/usr/local/lib/python2.7/dist-packages/pip/download.py”, line 659, in unpack_http_url
hashes)
File “/usr/local/lib/python2.7/dist-packages/pip/download.py”, line 882, in _download_http_url
_download_url(resp, link, content_file, hashes)
File “/usr/local/lib/python2.7/dist-packages/pip/download.py”, line 603, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File “/usr/local/lib/python2.7/dist-packages/pip/utils/hashes.py”, line 46, in check_against_chunks
for chunk in chunks:
File “/usr/local/lib/python2.7/dist-packages/pip/download.py”, line 571, in written_chunks
for chunk in chunks:
File “/usr/local/lib/python2.7/dist-packages/pip/utils/ui.py”, line 139, in iter
for x in it:
File “/usr/local/lib/python2.7/dist-packages/pip/download.py”, line 560, in resp_read
decode_content=False):
File “/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/response.py”, line 357, in stream
data = self.read(amt=amt, decode_content=decode_content)
File “/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/response.py”, line 314, in read
data = self._fp.read(amt)
File “/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/filewrapper.py”, line 63, in read
self._close()
File “/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/filewrapper.py”, line 50, in _close
self.__callback(self.__buf.getvalue())
File “/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/controller.py”, line 275, in cache_response
self.serializer.dumps(request, response, body=body),
File “/usr/local/lib/python2.7/dist-packages/pip/_vendor/cachecontrol/serialize.py”, line 87, in dumps
).encode(“utf8”),
MemoryError


#2

I resolved it installing the version 3 on my PC (Ubuntu) using the provisio. I just upgraded it to version 4 that looks very good!
Excellent job!
Thanks