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. Support
  3. Redis

Redis

Scheduled Pinned Locked Moved Solved Support
5 Posts 2 Posters 1.2k 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.
    • R Offline
      R Offline
      Rich
      wrote on last edited by
      #1

      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
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @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
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #3

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

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @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
            0
            • R Offline
              R Offline
              Rich
              wrote on last edited by
              #5

              Awesome. Thanks!

              1 Reply Last reply
              0
              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