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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. N8N
  3. n8n timezone? logs retention?

n8n timezone? logs retention?

Scheduled Pinned Locked Moved N8N
16 Posts 4 Posters 6.2k Views 4 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.
  • girishG Do not disturb
    girishG Do not disturb
    girish
    Staff
    wrote on last edited by
    #4

    As for the logs, we keep last 10MB of logs per app.

    1 Reply Last reply
    0
    • girishG girish

      @potemkin_ai looks like you can set GENERIC_TIMEZONE as suggested by https://docs.n8n.io/getting-started/installation/docker-quickstart.html#setting-timezone . On Cloudron, you can edit /app/data/env using the file manager and restart the app.

      potemkin_aiP Offline
      potemkin_aiP Offline
      potemkin_ai
      wrote on last edited by
      #5

      @girish thank you!

      Is there a way for Cloudron to pick up for that purpose a Time Zone that I'm configuring at the settings page?

      girishG 1 Reply Last reply
      1
      • potemkin_aiP potemkin_ai

        @girish thank you!

        Is there a way for Cloudron to pick up for that purpose a Time Zone that I'm configuring at the settings page?

        girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by
        #6

        @potemkin_ai Currently, no, but I think that's a good idea worth investigating!

        potemkin_aiP 1 Reply Last reply
        1
        • girishG girish

          @potemkin_ai Currently, no, but I think that's a good idea worth investigating!

          potemkin_aiP Offline
          potemkin_aiP Offline
          potemkin_ai
          wrote on last edited by
          #7

          @girish thanks, yes, that would be very nice, if n8n container's time zone (and probably other services) would be regulated that way.

          As for the logs - I realized that we might speak about different kind of logs here - n8n stores execution logs, that might fill up the disk very quickly: https://community.n8n.io/t/hard-disk-full-where-to-delete-logs/2298

          Here are the environment variables that seems like of the most importance at n8n:

          GENERIC_TIMEZONE=
          WEBHOOK_TUNNEL_URL=https://FQDN/ #this one, to make sure webhook URL will work fine
          N8N_ENCRYPTION_KEY=.. #to avoid loosing credentials on docker restart
          
          #clear execution logs
          EXECUTIONS_DATA_PRUNE=true
          EXECUTIONS_DATA_MAX_AGE=672
          
          girishG 1 Reply Last reply
          1
          • potemkin_aiP potemkin_ai

            @girish thanks, yes, that would be very nice, if n8n container's time zone (and probably other services) would be regulated that way.

            As for the logs - I realized that we might speak about different kind of logs here - n8n stores execution logs, that might fill up the disk very quickly: https://community.n8n.io/t/hard-disk-full-where-to-delete-logs/2298

            Here are the environment variables that seems like of the most importance at n8n:

            GENERIC_TIMEZONE=
            WEBHOOK_TUNNEL_URL=https://FQDN/ #this one, to make sure webhook URL will work fine
            N8N_ENCRYPTION_KEY=.. #to avoid loosing credentials on docker restart
            
            #clear execution logs
            EXECUTIONS_DATA_PRUNE=true
            EXECUTIONS_DATA_MAX_AGE=672
            
            girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by
            #8

            @potemkin_ai ah, i see. Do you think the defaults you have provided are reasonable? If so, I can put them as part of the default install.

            potemkin_aiP 1 Reply Last reply
            0
            • girishG girish

              @potemkin_ai ah, i see. Do you think the defaults you have provided are reasonable? If so, I can put them as part of the default install.

              potemkin_aiP Offline
              potemkin_aiP Offline
              potemkin_ai
              wrote on last edited by
              #9

              @girish absolutely!

              It makes n8n to perform in right timezone, have proper webhook URL, keep credentials (not loosing then during the docker rebuild), avoid disk overflow from the executions log.

              1 Reply Last reply
              2
              • girishG Do not disturb
                girishG Do not disturb
                girish
                Staff
                wrote on last edited by
                #10

                OK, I have put this as the default for new installations.

                potemkin_aiP 1 Reply Last reply
                1
                • girishG girish

                  OK, I have put this as the default for new installations.

                  potemkin_aiP Offline
                  potemkin_aiP Offline
                  potemkin_ai
                  wrote on last edited by
                  #11

                  @girish lovely, thank you!

                  1 Reply Last reply
                  0
                  • andreasduerenA Offline
                    andreasduerenA Offline
                    andreasdueren
                    App Dev
                    wrote on last edited by
                    #12

                    @potemkin_ai Iโ€™m struggling to get the time zone set up. Do you have any suggestions as to what I did wrong? These are my env settings:

                    Set the logging level to 'debug'
                    export EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=true
                    export EXECUTIONS_DATA_SAVE_ON_ERROR=all
                    export EXECUTIONS_DATA_SAVE_ON_SUCCESS=all
                    export N8N_LOG_LEVEL=info
                    
                    GENERIC_TIMEZONE='Europe/Berlin'
                    TZ='Europe/Berlin'
                    WEBHOOK_TUNNEL_URL=https://top.level.domain/
                    N8N_ENCRYPTION_KEY='redacted'
                    
                    
                    EXECUTIONS_DATA_PRUNE=true
                    EXECUTIONS_DATA_MAX_AGE=672
                    
                    girishG 1 Reply Last reply
                    1
                    • andreasduerenA andreasdueren

                      @potemkin_ai Iโ€™m struggling to get the time zone set up. Do you have any suggestions as to what I did wrong? These are my env settings:

                      Set the logging level to 'debug'
                      export EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=true
                      export EXECUTIONS_DATA_SAVE_ON_ERROR=all
                      export EXECUTIONS_DATA_SAVE_ON_SUCCESS=all
                      export N8N_LOG_LEVEL=info
                      
                      GENERIC_TIMEZONE='Europe/Berlin'
                      TZ='Europe/Berlin'
                      WEBHOOK_TUNNEL_URL=https://top.level.domain/
                      N8N_ENCRYPTION_KEY='redacted'
                      
                      
                      EXECUTIONS_DATA_PRUNE=true
                      EXECUTIONS_DATA_MAX_AGE=672
                      
                      girishG Do not disturb
                      girishG Do not disturb
                      girish
                      Staff
                      wrote on last edited by
                      #13

                      @andreasdueren you have to add export in front of each line

                      andreasduerenA 1 Reply Last reply
                      3
                      • girishG girish

                        @andreasdueren you have to add export in front of each line

                        andreasduerenA Offline
                        andreasduerenA Offline
                        andreasdueren
                        App Dev
                        wrote on last edited by
                        #14

                        @girish duh thatโ€™s probably why ๐Ÿ˜„

                        humptyH 1 Reply Last reply
                        0
                        • andreasduerenA andreasdueren

                          @girish duh thatโ€™s probably why ๐Ÿ˜„

                          humptyH Offline
                          humptyH Offline
                          humpty
                          wrote on last edited by
                          #15

                          @andreasdueren I'm glad I found this post. At least you had the = in there. Stupid me typed it in like this: GENERIC_TIMEZONE America/Chicago and was wondering why the app crashed ๐Ÿคฆ

                          andreasduerenA 1 Reply Last reply
                          1
                          • humptyH humpty

                            @andreasdueren I'm glad I found this post. At least you had the = in there. Stupid me typed it in like this: GENERIC_TIMEZONE America/Chicago and was wondering why the app crashed ๐Ÿคฆ

                            andreasduerenA Offline
                            andreasduerenA Offline
                            andreasdueren
                            App Dev
                            wrote on last edited by
                            #16

                            @humptydumpty ๐Ÿ˜„

                            1 Reply Last reply
                            0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better ๐Ÿ’—

                            Register Login
                            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