setup icon indicating copy to clipboard operation
setup copied to clipboard

Missing directory in script run

Open roshankumar10 opened this issue 4 years ago • 3 comments

Hi! Just wanted to point out an error I was able to work around.

I received the following error: image

I was able to work around this by navigating to the opt directory and manually creating the redash directory before successfully running the script.

Thanks!

roshankumar10 avatar May 06 '20 23:05 roshankumar10

mac docker /opt/redash/env is also like this

ccwxl avatar May 11 '20 06:05 ccwxl

The directory is being created here: https://github.com/getredash/setup/blob/cb47626b6823cbafac407b3e8991e97f53121f6e/setup.sh#L27

It would be easier to understand what's going on if you include the full script output.

arikfr avatar May 11 '20 08:05 arikfr

I stumbled on this, not sure if something has changed in later versions of ubuntu (I'm on 22.04) but it didn't like the double square brackets in the if statements. Changing to a single square bracket allowed the script to run image

deej81 avatar Jul 12 '22 14:07 deej81

I have corrected the problem with this pull request. #44

snickerjp avatar Aug 22 '23 08:08 snickerjp