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
  • Brite
  • 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. N8N
  3. How to use redis in n8n

How to use redis in n8n

Scheduled Pinned Locked Moved Solved N8N
20 Posts 9 Posters 4.1k Views 7 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.
  • nennogabrielN nennogabriel

    @nebulon nice... i follow the docs and get it working πŸ˜„

    I will lost automatic updates, but ok. I have redis now πŸ˜„

    SCR-20230218-nwp.png

    Z Offline
    Z Offline
    zonzonzon
    wrote on last edited by
    #8

    @nennogabriel How do you do that? Can you share with everyone how to do it? Thank you.

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Nico
      wrote on last edited by
      #9

      Hi !
      I'm looking at your services, and wonder if Posgresql and Redis are integrated into your instances of n8n ?
      Thanks !

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

        The main database for the n8n package is Postgres on Cloudron and that is integrated. Redis is not at the moment.

        N 1 Reply Last reply
        0
        • nebulonN nebulon

          The main database for the n8n package is Postgres on Cloudron and that is integrated. Redis is not at the moment.

          N Offline
          N Offline
          Nico
          wrote on last edited by
          #11

          @nebulon thanks for your reply ! If I do have an external Redis, on the same hoster, but as you said, not integrate within Cloudron, should I use Redis with n8n ?

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

            You should be able to integrate your external redis via env variables https://docs.cloudron.io/apps/n8n/#custom-env

            upstream docs for this are at https://docs.n8n.io/hosting/configuration/environment-variables/queue-mode/

            1 Reply Last reply
            1
            • I Offline
              I Offline
              ikka
              wrote last edited by
              #13

              hi,
              i installed n8n via cloudron and need to install redis for queue, is there any way to install it with cloudron?
              R

              1 Reply Last reply
              0
              • jamesJ Offline
                jamesJ Offline
                james
                Staff
                wrote last edited by
                #14

                Hello @ikka
                Redis needs to be added from the Cloudron staff.
                I have created an internal ticket to review this.

                1 Reply Last reply
                1
                • jamesJ Offline
                  jamesJ Offline
                  james
                  Staff
                  wrote last edited by
                  #15

                  And this seems to be a duplicate of https://forum.cloudron.io/topic/8677/how-to-use-redis-in-n8n
                  Merging your topic.

                  1 Reply Last reply
                  0
                  • jamesJ james referenced this topic
                  • robiR Offline
                    robiR Offline
                    robi
                    wrote last edited by
                    #16

                    Could an adjacent Redis be used by n8n since many other apps have it pre bundled?

                    LAMP for instance.

                    Conscious tech

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

                      I have published a new package which has optional Redis support . To get the redis credentials, open web terminal and run env | grep CLOUDRON_REDIS

                      1 Reply Last reply
                      2
                      • Z Offline
                        Z Offline
                        zonzonzon
                        wrote last edited by
                        #18

                        Has anyone successfully configured Redis in n8n using the information above? Could you share the environment variables needed to set it up? Thank you very much.

                        1 Reply Last reply
                        0
                        • U Offline
                          U Offline
                          umnz
                          wrote last edited by
                          #19

                          Yeah I'd also be keen to know if anyone has got Redis working and what it looks like with a n8n instance. I don't know what's going on but n8n is getting slower and slower with each release (on Cloudron) and I can't figure out why. I think it has to do with queueing and/or workers.

                          Z 1 Reply Last reply
                          0
                          • U umnz

                            Yeah I'd also be keen to know if anyone has got Redis working and what it looks like with a n8n instance. I don't know what's going on but n8n is getting slower and slower with each release (on Cloudron) and I can't figure out why. I think it has to do with queueing and/or workers.

                            Z Offline
                            Z Offline
                            zonzonzon
                            wrote last edited by
                            #20

                            @umnz The updates and n8n are still running very well. If it’s slow, you may need to check the RAM. Running many heavy tasks consumes a lot of RAM. Also, as I understand it, Redis is used for scaling when the current n8n server hits its limits and keeps freezing when receiving information from webhooks and running many heavy tasks at the same time.

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