Installation Issues - Ubuntu


#1

Hello,

I am new in the process of setting up Redash on a local Ubuntu workstation and am running into few installation issues. I am using the bootstrap script and it worked fine with some issues in between related to nginx, however, the script started throwing exceptions with Python modules. I manually took care of installing missing modules, but I am stuck with the below error. Not sure if this is to do with the version of Python I am using, but I appreciate any suggestions to overcome this issue.

Environment:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

[2017-01-31 12:23:28,852][PID:23856][WARNING][redash.query_runner] BigQuery query runner enabled but not supported, not registering. Either disable or install missing dependencies.
[2017-01-31 12:23:28,907][PID:23856][WARNING][redash.query_runner] BigQueryGCE query runner enabled but not supported, not registering. Either disable or install missing dependencies.
[2017-01-31 12:23:28,908][PID:23856][WARNING][redash.query_runner] GoogleSpreadsheet query runner enabled but not supported, not registering. Either disable or install missing dependencies.
[2017-01-31 12:23:28,909][PID:23856][WARNING][redash.query_runner] MongoDB query runner enabled but not supported, not registering. Either disable or install missing dependencies.
[2017-01-31 12:23:28,909][PID:23856][WARNING][redash.query_runner] MySQL query runner enabled but not supported, not registering. Either disable or install missing dependencies.
[2017-01-31 12:23:28,916][PID:23856][WARNING][redash.query_runner] InfluxDB query runner enabled but not supported, not registering. Either disable or install missing dependencies.
[2017-01-31 12:23:28,917][PID:23856][WARNING][redash.query_runner] Presto query runner enabled but not supported, not registering. Either disable or install missing dependencies.
[2017-01-31 12:23:28,917][PID:23856][WARNING][redash.query_runner] Hive query runner enabled but not supported, not registering. Either disable or install missing dependencies.
[2017-01-31 12:23:28,917][PID:23856][WARNING][redash.query_runner] Vertica query runner enabled but not supported, not registering. Either disable or install missing dependencies.
[2017-01-31 12:23:28,917][PID:23856][WARNING][redash.query_runner] TreasureData query runner enabled but not supported, not registering. Either disable or install missing dependencies.
[2017-01-31 12:23:28,919][PID:23856][WARNING][redash.query_runner] Microsoft SQL Server query runner enabled but not supported, not registering. Either disable or install missing dependencies.
/opt/redash/redash.0.12.0.b2449/redash/tasks/general.py:3: ExtDeprecationWarning: Importing flask.ext.mail is deprecated, use flask_mail instead.
  from flask.ext.mail import Message
Traceback (most recent call last):
  File "/opt/redash/redash.0.12.0.b2449/manage.py", line 10, in <module>
    from redash.wsgi import app
  File "/opt/redash/redash.0.12.0.b2449/redash/wsgi.py", line 3, in <module>
    app = create_app()
  File "/opt/redash/redash.0.12.0.b2449/redash/__init__.py", line 76, in create_app
    from redash import handlers
  File "/opt/redash/redash.0.12.0.b2449/redash/handlers/__init__.py", line 5, in <module>
    from redash.authentication.org_resolving import current_org
  File "/opt/redash/redash.0.12.0.b2449/redash/authentication/__init__.py", line 12, in <module>
    from redash.tasks import record_event
  File "/opt/redash/redash.0.12.0.b2449/redash/tasks/__init__.py", line 1, in <module>
    from .general import record_event, version_check, send_mail
  File "/opt/redash/redash.0.12.0.b2449/redash/tasks/general.py", line 4, in <module>
    from redash.worker import celery
  File "/opt/redash/redash.0.12.0.b2449/redash/worker.py", line 8, in <module>
    from redash.metrics import celery
  File "/opt/redash/redash.0.12.0.b2449/redash/metrics/celery.py", line 13, in <module>
    @task_prerun.connect
  File "/usr/local/lib/python2.7/dist-packages/celery/utils/dispatch/signal.py", line 115, in connect
    return _handle_options(*args[1:], **kwargs)(args[0])
  File "/usr/local/lib/python2.7/dist-packages/celery/utils/dispatch/signal.py", line 110, in _connect_signal
    self._connect_signal(fun, sender, weak, dispatch_uid)
  File "/usr/local/lib/python2.7/dist-packages/celery/utils/dispatch/signal.py", line 122, in _connect_signal
    'Signal receiver must accept keyword arguments.')
ValueError: Signal receiver must accept keyword arguments.

#2

When installing them manually, did you make sure to install the version specified in requirements.txt?


#3

Thanks for that reference to requirements.txt. There were several modules I had on my box, that were at a much advanced version than what is specified in requirements.txt. I took care of all the module installs and was hit by a Postgresql error. But following what is mentioned in this thread helped me overcome the issue and I was finally able to get Redash running. So far, it looks exciting and I will be spending next few days exploring the tool further. Thanks again for your help and to the contributors for the thread below.