These are chat archives for getredash/redash

4th
Aug 2016
Neil Shah
@shahneil88
Aug 04 2016 02:56
@arikfr - I am on version 0.10.1+b1836 . I want to upgrade to 0.11.1. I already have fabric scripts installed.
Only thing I need to do is :-
fab -H {host} -u ubuntu -i {key} deploy_latest_release ?
This message was deleted
Arik Fraimovich
@arikfr
Aug 04 2016 05:54
@shahneil88 yep.
Joseandro Luiz
@joseandro
Aug 04 2016 19:41
I am querying my redhash instance and so far it's been great
But for some reason it won't get new content from our database
I just get old cached data back
eclypse80
@eclypse80
Aug 04 2016 19:42
Are you refreshing the query?
Joseandro Luiz
@joseandro
Aug 04 2016 19:42
The query itself has a Refresh Schedule Every 5m
eclypse80
@eclypse80
Aug 04 2016 19:43
If you manually refresh, do you get new data?
Joseandro Luiz
@joseandro
Aug 04 2016 19:43
Are you referring to saving the query and running it over again ?
My version is re:dash 0.9.2+b1536
eclypse80
@eclypse80
Aug 04 2016 19:44
Go the the query, and click the "Refresh Dataset" button on the upper right hand side
I'm not a developer, just a new user too
Joseandro Luiz
@joseandro
Aug 04 2016 19:46
did that but no success =/
eclypse80
@eclypse80
Aug 04 2016 19:47
@arikfr Thanks Arik.
@joseandro And does the "Last update" say something like "a minute ago"
Joseandro Luiz
@joseandro
Aug 04 2016 19:50
it actually runs
but when I try to get the results through an API call I get the cached result
Maybe instead of GET a specific query I should run it through POST ?
eclypse80
@eclypse80
Aug 04 2016 19:51
Thats beyond my expertise at the moment. Sorry
Joseandro Luiz
@joseandro
Aug 04 2016 19:51
But I am not sure where I can get the data_source_id parameter from
Thanks man, anyone can offer a helping hand ? :)
Arik Fraimovich
@arikfr
Aug 04 2016 19:56
@joseandro what is the API call you're making?
Joseandro Luiz
@joseandro
Aug 04 2016 19:56
I'm trying both GET and POST
Arik Fraimovich
@arikfr
Aug 04 2016 19:56
Wow
Oops
Wrong window :)
What is the path you're requesting?
this is a sample
But this only returns me old results
Arik Fraimovich
@arikfr
Aug 04 2016 19:58
The results API doesn't support parameters.
Joseandro Luiz
@joseandro
Aug 04 2016 19:58
hmmm
What should I use instead ?
Arik Fraimovich
@arikfr
Aug 04 2016 19:59
If you upgrade to latest version, there is a new API for refreshing queries that does support parameters, which you can use.
Joseandro Luiz
@joseandro
Aug 04 2016 20:00
gotcha
Does this version support POST to http://domain/api/query_results
?
Arik Fraimovich
@arikfr
Aug 04 2016 20:00
What do you mean?
Joseandro Luiz
@joseandro
Aug 04 2016 20:01
I thought I could use that to run my queries
I guess my problem is that I couldn't find the data_source_id in my project
Joseandro Luiz
@joseandro
Aug 04 2016 20:40
It's all been sorted out, guys! Thanks! :)