These are chat archives for getredash/redash

10th
Jul 2015
Arik Fraimovich
@arikfr
Jul 10 2015 05:35
@seppemarotta what version of re:dash do you have (you can check at /admin/status)?
@j0t3x there is a small chance that the workers didn't restart properly and still running the old version. you can run ps aux | grep redash and check the age of the processes to verify
@j0t3x re. google: once you create a project and get the client id and secret, you need to add to your .env file: REDASH_GOOGLE_APPS_DOMAIN, REDASH_GOOGLE_CLIENT_ID and REDASH_GOOGLE_CLIENT_SECRET and after that restart
see "Users & Google Authentication setup" here: http://redash.io/deployment/setup.html
j0t3x
@j0t3x
Jul 10 2015 17:35
@arikfr , i have that working i just want to restrict the domain but dont know the format: should be for a basic example: "gmail.com" for gmail emails?
Result of ps aux | grep redash
tex       8823  0.0  0.0  10440  1668 pts/0    S+   17:33   0:00 grep --color=auto redash
redash   10544  0.0  0.3  53680 14576 ?        Ss   Jul08   0:26 /usr/bin/python /usr/local/bin/supervisord --configuration /opt/redash/supervisord/supervisord.conf
redash   10545  0.0  1.2 188508 46344 ?        S    Jul08   2:47 /usr/bin/python /usr/local/bin/celery worker --app=redash.worker --beat -Qqueries,celery,scheduled_queries
redash   10573  0.0  1.1 200000 43936 ?        S    Jul08   0:08 /usr/bin/python /usr/local/bin/celery worker --app=redash.worker --beat -Qqueries,celery,scheduled_queries
redash   10574  0.0  3.1 633804 119864 ?       S    Jul08   1:03 /usr/bin/python /usr/local/bin/celery worker --app=redash.worker --beat -Qqueries,celery,scheduled_queries
redash   16121  0.0  0.4  50208 15804 ?        S    Jul08   0:19 /usr/bin/python /usr/local/bin/gunicorn -b 127.0.0.1:5000 --name redash -w 4 redash.wsgi:app
redash   16129  0.0  3.1 277448 118564 ?       S    Jul08   0:07 /usr/bin/python /usr/local/bin/gunicorn -b 127.0.0.1:5000 --name redash -w 4 redash.wsgi:app
redash   16132  0.0  4.0 310732 151828 ?       S    Jul08   0:05 /usr/bin/python /usr/local/bin/gunicorn -b 127.0.0.1:5000 --name redash -w 4 redash.wsgi:app
redash   16133  0.0  3.1 277320 120016 ?       S    Jul08   0:05 /usr/bin/python /usr/local/bin/gunicorn -b 127.0.0.1:5000 --name redash -w 4 redash.wsgi:app
redash   16137  0.0  4.0 312220 153208 ?       S    Jul08   0:06 /usr/bin/python /usr/local/bin/gunicorn -b 127.0.0.1:5000 --name redash -w 4 redash.wsgi:app
Arik Fraimovich
@arikfr
Jul 10 2015 17:57
@j0t3x yes, just the domain name
They all started on July 8th but I don't remember when you did the upgrade. You can restart again to be on the safe side
j0t3x
@j0t3x
Jul 10 2015 18:15
So how can I restart properly
j0t3x
@j0t3x
Jul 10 2015 20:23
@arikfr can i restric a group of google app domains?