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 Redis

    Support
    2
    5
    506
    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.
    • R
      Rich last edited by

      Is there anyway to have the Redis connection details (address, port, password) remain the same on restarts rather then being regenerated every time?

      I'm using Invision Power forum software which allows you to configure your choice of caching software through their admin panel which generates a config.php file that needs to be uploaded to the software. The admin panel of course doesn't accept environment variables as valid input. If you change it after it is generated, the software knows it is different than what it expects and asks you to download and update it.

      So, I had it working by putting in the hardcoded address, port, and password but when the container got restarted, they were changed and broke the configuration.

      Kind of a pain if I need to manually regenerate the config.php file on every restart.

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

        @Rich Restarts do not regenerate the redis connection but an app update does make it regenerate the redis connection. We will fix it so that an app update does not change the redis connection information.

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

          https://git.cloudron.io/cloudron/box/issues/554

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

            @Rich this is now fixed in 2.3. DB and redis credentials are now preserved across restart/updates of an app.

            1 Reply Last reply Reply Quote 0
            • R
              Rich last edited by

              Awesome. Thanks!

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