These are chat archives for getredash/redash

9th
Jun 2016
Neil Shah
@shahneil88
Jun 09 2016 03:51
@arikfr - When we fork a query, it does not replicate visualisations. Is that expected?
Arik Fraimovich
@arikfr
Jun 09 2016 04:02
@shahneil88 yes. Follow this issue getredash/redash#439 to know when this is changed.
Neil Shah
@shahneil88
Jun 09 2016 04:03
Ok. Thanks
Teguh Nugraha
@teguhn_twitter
Jun 09 2016 12:36
hi, guys.
To disable the Google OAuth, we only need to remove the REDASH_GOOGLE_CLIENT_ID and REDASH_GOOGLE_CLIENT_SECRET?
Arik Fraimovich
@arikfr
Jun 09 2016 12:37
@teguhn_twitter yep. and restart. it won't hurt to make sure by testing :)
Teguh Nugraha
@teguhn_twitter
Jun 09 2016 12:37
how about current users who have logged in by Google OAuth?
Their access will be revoked? And they have to register again?
Arik Fraimovich
@arikfr
Jun 09 2016 12:48
@teguhn_twitter they will have to set a password for their account. They can use the forgot password functionality (if email server is setup on your instance).
why do you want to disable google oauth?
Teguh Nugraha
@teguhn_twitter
Jun 09 2016 12:49
to restrict the access
Arik Fraimovich
@arikfr
Jun 09 2016 12:50
you can still restrict access but have oauth enabeld - you just need to remove the allowed domain
then existing users can use it to login, but new ones won't be created
or you can have a default group with any permissions and all the allowed users in a different group
Teguh Nugraha
@teguhn_twitter
Jun 09 2016 13:00
ok. thank you
szaddam
@szaddam
Jun 09 2016 19:29
Hi, I'm trying to install re:dash on 13:10 ubuntu. I ran the bootstrap.sh and I got the next message: peewee.ProgrammingError: relation "organizations" does not exist.
szaddam
@szaddam
Jun 09 2016 19:59
I did it with this command: sudo -u redash bin/run ./manage.py database create_tables
szaddam
@szaddam
Jun 09 2016 21:18
I have a new obstacle. After I try to run the application I get this:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1988, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1641, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python2.7/dist-packages/flask_restful/__init__.py", line 271, in error_router
    return original_handler(e)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1544, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1639, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1625, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/opt/redash/redash.0.10.1.b1834/redash/handlers/authentication.py", line 120, in login
    show_remote_user_login=settings.REMOTE_USER_LOGIN_ENABLED)
  File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 133, in render_template
    return _render(ctx.app.jinja_env.get_or_select_template(template_name_or_list),
  File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 851, in get_or_select_template
    return self.get_template(template_name_or_list, parent, globals)
  File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 812, in get_template
    return self._load_template(name, self.make_globals(globals))
  File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 774, in _load_template
    cache_key = self.loader.get_source(self, name)[1]
  File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 57, in get_source
    return self._get_source_fast(environment, template)
  File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 85, in _get_source_fast
    raise TemplateNotFound(template)
TemplateNotFound: login.html
This is my env file:
export REDASH_STATIC_ASSETS_PATH="../rd_ui/dist/"
export REDASH_LOG_LEVEL="INFO"
export REDASH_REDIS_URL=redis://localhost:6379/0
export REDASH_DATABASE_URL="postgresql://redash"
export REDASH_COOKIE_SECRET=veryverysecret
szaddam
@szaddam
Jun 09 2016 21:56
I did it! I had to reinstall the dependencies
sudo pip install -r requirements.txt