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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Addon variables erased after restart?

    App Packaging & Development
    2
    3
    166
    Loading More Posts
    • 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.
    • ?
      A Former User last edited by A Former User

      I've been packaging Drone CI, and I noticed that the environment variables get wiped out. I can't tell if this is due to Go's godotenv package but its weirding me out. Spent a couple hours on this and have a horrible headache so I need a break. Does anyone in @appdev or @staff have ideas?

      For now I just made a little if/else to only check the pgsql URL on first start as a workaround.

      Repo: https://git.atridad.dev/atridad/cloudron-drone-ci

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @Guest last edited by

        @atridad this bug is fixed in 7.0.4. please update and try

        ? 1 Reply Last reply Reply Quote 1
        • ?
          A Former User @girish last edited by

          @girish hah, I didn’t realize there was an update! Thanks!!! I’m glad I wasn’t crazy there and it was a platform issue. I redid my package like 4 times thinking I was overriding the environment vars somehow

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Powered by NodeBB