Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Typebot
  3. Typebot does not restart after changing the env.sh

Typebot does not restart after changing the env.sh

Scheduled Pinned Locked Moved Solved Typebot
typebotenv.shconfiguration
5 Posts 2 Posters 800 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LoudLemur
    wrote on last edited by nebulon
    #1

    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.

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Are there any errors showing up somewhere to work with?

      L 1 Reply Last reply
      0
      • nebulonN nebulon

        Are there any errors showing up somewhere to work with?

        L Offline
        L Offline
        LoudLemur
        wrote on last edited by
        #3

        @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".

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          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.

          L 1 Reply Last reply
          1
          • L LoudLemur marked this topic as a question on
          • nebulonN nebulon

            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.

            L Offline
            L Offline
            LoudLemur
            wrote on last edited by
            #5

            @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.

            1 Reply Last reply
            4
            • nebulonN nebulon has marked this topic as solved on
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search