Install Redash version 10.0.0, without Docker, error! #5955
-
Hello, I am trying to install Redash version 10.0.0 without Docker, on Ubuntu 20.04. There is a lot dependencies, (also we are forced to use python 3.8 or above) so I created custom Requirements.txt and Requirements_all_ds.txt files, with some upgrades, some of these is excluded (mostly data sources) and so on.. but they all executable so far. What I did until now: I trying to modify the old script (until Redash v5) that is worked without Docker Problems that I faced so far: After execution script, I executing commands to run server and workers, instead old supervisord.conf script with celery, I tried to execute following command with "rq" s: Web server: ./manage.py runserver --debugger --reload ( followed this guide also: https://redash.io/help/open-source/dev-guide/setup ) But when I writte localhost:5000 on my web browser I see, this: Also, when I write localhost:6379, for redis, I got this error After click, setup, I've got "Internal Server Error" on my browser. This is Happened on forum discussion (link from above) but @arikfr gave a suggestion to use version.redash.io/api/releases , not repo tarball, but there is not for v10.0.0 ?! Main question is, is it possible at all to install redash 10 without docker on Ubuntu 20.04, if it true, do Redash going to be stable, manageable, and no have security flaws?! Here is mine script: Here is mine custom Requirement files requirements_all_ds.txt Any suggestion will appreciate, Thanks, Slavcho |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
When that happens, the details for the error (eg Python error output) should be shown in one of the terminal windows that you are running. You'll need to go through the cycle of finding that error, working out what that means + fix it, then try again. It'll probably take you a few days to make it all work nicely, so don't give up yet. 😄 |
Beta Was this translation helpful? Give feedback.
-
Oh, actually looking at your On a side note, lines 86-103 already do some environment variable setup. Instead of having them add to the Next thought... it seems to be relying on an ancient version of Redash files. Version 4.0, in line 11. Probably better to bump that version number up a bit. 😄 Hmmm, but line 119 is saying Redash 10.0, so maybe those files do work well enough anyway. 😄 With the Node version 14 on line 121, I'm pretty sure Node 16 is the better choice when using the Skimming over the rest of it, those are the only things jumping out at me. Hopefully some of that helped. 😄 Btw, please don't read the above as being too critical. I reckon you're doing good stuff, and it'll be helpful for others. 😄 |
Beta Was this translation helpful? Give feedback.
-
Great suggestion, .bashrc is the correct script with global variables, but solution is very simple, more is my fault, than error... So While executing command "manage.py database create-tables" need be runed with bin/run ... The correct call is: sudo -u redash bin/run ./manage.py create-tables Until now everything works fine and redash without docker is up and running. Thank you for your effort @justinclift |
Beta Was this translation helpful? Give feedback.
Great suggestion, .bashrc is the correct script with global variables, but solution is very simple, more is my fault, than error... So
While executing command "manage.py database create-tables" need be runed with bin/run ...
The correct call is: sudo -u redash bin/run ./manage.py create-tables
Until now everything works fine and redash without docker is up and running.
Thank you for your effort @justinclift