plane
plane copied to clipboard
[bug]: cannot start plane: invalid interpolation format for x-app-env.environment.
Is there an existing issue for this?
- [X] I have searched the existing issues
Current behavior
I followed the instructions but after running ./setup.sh -> Start I get the following error:
invalid interpolation format for x-app-env.environment.[]. You may need to escape any $ with another $. redis://${REDIS_HOST
Content of .env is untouched with no edits:
Steps to reproduce
- mkdir plane-selfhost
- cd plane-selfhost
- curl -fsSL -o setup.sh https://raw.githubusercontent.com/makeplane/plane/master/deploy/selfhost/install.sh
- chmod +x setup.sh
- ./setup.sh --> 1
- either modify plane-app/.env or leave it untouched
- ./setup.sh --> 2
- error will come up
Browser
Google Chrome
Version
Self-hosted
In the docker-compose.yaml file, I encountered an issue with the $ character in the REDIS_URL value.
To resolve this, double the $ character to make Docker Compose interpret it as a literal $, preventing variable substitution.
Before:
- REDIS_URL=${REDIS_URL:-redis://${REDIS_HOST}:6379/}
After:
- REDIS_URL=${REDIS_URL:-redis://$${REDIS_HOST}:6379/}
This addresses the variable interpretation issue in the REDIS_URL field.
Reference: Link to the article with the solution