triggerdotdev / docker

Docker templates for self-hosting and running the Trigger.dev platform locally
56 stars 18 forks source link

sed: 1: "./.env": invalid command code . #6

Closed mcnaveen closed 1 month ago

mcnaveen commented 1 month ago

Error when running the start.sh script

 ./start.sh

No .env file found, would you like to create one? [Y/n] y
./.env.example -> ./.env
Would you also like to generate fresh secrets? [Y/n] y
Generated secrets:
MAGIC_LINK_SECRET=cd859fc0bd3489188dcf5940521d2f77
SESSION_SECRET=c715c5e5f929aea49fb078f3b731f7a4
ENCRYPTION_KEY=2826f1ccb0984d5eddef7a86e077cd3b
PROVIDER_SECRET=af925a3b6406425754e19acd0bdbb3766e4b975ed3bec74ea539f59a0ffadf82
COORDINATOR_SECRET=97539adcdcb14587a7932625657b74c85a26a6739b51349dcfb4690bf72778a8
Would you like to replace your current secrets in .env? [Y/n] y
Overwriting secrets in .env
./.env -> ./.env.backup
sed: 1: "./.env": invalid command code .
sed: 1: "./.env": invalid command code .
sed: 1: "./.env": invalid command code .
sed: 1: "./.env": invalid command code .
sed: 1: "./.env": invalid command code .
Done. Backup written to: .env.backup