Typebot does not restart after changing the env.sh
-
This is on a fresh installation of Typebot. If you would like your instance to support e.g. Unsplash or Gify, you edit some lines in env.sh to include your API access keys.
I have tried to do this, and the Typebot never restarts. I can only get it going again by commenting out the changes.
One would think that there might have been a mistyping of the API key or not copy-pasting properly, but that doesn't seem to be the problem.
-
@nebulon said in Typebot does not restart after changing the env.sh:
Are there any errors showing up somewhere to work with?
Thanks. After making the edit, saving and restarting, the application indicates "starting". It never completes this. Eventually it says "not responding".
-
-
@nebulon said in Typebot does not restart after changing the env.sh:
Well are there any errors in the app logs then? Also maybe you can share the exact env variables you are trying to set with a link to the upstream docs.
Hey, nebulon! Thanks for asking. I solved the problem: do not include a space before or after the = in the configuration line:
Good: export NEXT_PUBLIC_GIPHY_API_KEY=StringfromGiphyhere
Bad: export NEXT_PUBLIC_GIPHY_API_KEY = StringfromGiphyhere
Also, remember to include export at the beginning of the line, as mentioned in the Cloudron documentation.
-