Single-node digital ocean installation does not set SECRET_KEY properly
Opened this issue · 2 comments
macobo commented
Instead, it is set to our unsecure value.
allan-simon commented
I just run into this issue
allan-simon commented
one has to modify the line creating posthog-upgrade.sh by
sudo echo "git clone https://github.com/PostHog/deployment.git && cd deployment/terraform/digitalocean/single_node && sed -i 's/<randomly generated secret key>/$(tr -dc A-Za-z0-9 </dev/urandom | head -c 13 ; echo '')/' docker-compose.do.yml && sudo docker-compose -f docker-compose.do.yml up --build -d" > /home/ubuntu/posthog-upgrade.sh
I will not have the time today to create a PR and may forgot latter, so hope it still helps