Closed arfordweb closed 6 years ago
It seems like /usr/bin/pip
(version is 8.1.1) is used in the install script.
/usr/local/bin/pip
(version 10.0.0) is already installed in your machine, and if rm -f /usr/redash && ./boostrap.sh
by root user will pass the error.
However, you will get a next new error about cryptography.
My suggestion is that downgrade pip version 9.0.3.
sudo su
)rm -fr /usr/redash
)install_python_packages
in bootstrap.sh. Like the following.install_python_packages() {
#pip install --upgrade pip
pip install --upgrade pip==9.0.3
# TODO: venv?
pip install setproctitle # setproctitle is used by Celery for "pretty" process titles
pip install -r $REDASH_BASE_PATH/current/requirements.txt
pip install -r $REDASH_BASE_PATH/current/requirements_all_ds.txt
}
Finally, run ./bootstrap.sh
will success.
Thanks!
This is not related to the issue, but I assume that the issue author or followers might have SAML enabled for their deployment and should be aware of the following Security Advisory: https://github.com/getredash/redash/discussions/5961. This affects all Redash versions and should be patched immediately.
Issue Summary
I'm getting the below error whether installing in an Ubuntu 16. I've tried the script in two places:
See below in "Technical details" for the output.
Steps to Reproduce
sudo su
wget https://github.com/getredash/redash/blob/master/setup/ubuntu/bootstrap.sh
to download the provisioning scriptboostrap.sh
withchmod u+x bootstrap.sh
The install ends with the error:
I have also attempted to run
bootstrap.sh
while in my regular user account withsudo ./boostrap.sh
andsudo -H ./bootstrap.sh
.See below for full output.
Technical details: