It’s been really hard to self host redash and for such a big app, it’s given me more troubles than any other.
Firstly I tried the docker install method, and had issues with the wrong version of python - had to manually change the python version in the Dockerfile.
Then running npm run build gives me an error error TS2688: Cannot find type definition file for 'jest'..
So I finallly resorted to the setup.sh script. Got a fresh Ubuntu 18.04 server, and ran setup.sh only to get the error ERROR: yaml.scanner.ScannerError: mapping values are not allowed here in "./docker-compose.yml", line 3, column 23.
Am I doing something wrong? Is no one self hosting redash? Because of the amount of errors I’m seeing, I’m finding it hard to see who is relying on this technology.
Sorry to hear you’re having trouble with this. Most Redash users run OSS without issue so I think the problem is your machine. All that’s necessary to run Redash is to clone the OSS repo, cd into the directory and run docker-compose up -d. I just ran this with a fresh clone of the repo on MacOS Catalina and it failed at first because the tip of master has some requirements.txt conflicts which are documented here. After correcting for those it worked in three steps as documented: build the containers with docker-compose, set up the database, build the webpack assets.