Saving successful workflows when saving them is off, with 1.15.2

With the update to 1.15.2, N8N has started saving successful executions even though I have it off in both docker-compose.yml and the individual workflows settings. This is present for all of my workflows.

It was not doing this prior to the 1.15.2 update.

docker-compose.yml:

version: "3"

services:
  traefik:
    image: "traefik"
    restart: always
    command:
      - "--api=true"
      - "--api.insecure=true"
      - "--providers.docker=true"
      - "--providers.docker.exposedbydefault=false"
      - "--entrypoints.web.address=:80"
      - "--entrypoints.web.http.redirections.entryPoint.to=websecure"
      - "--entrypoints.web.http.redirections.entrypoint.scheme=https"
      - "--entrypoints.websecure.address=:443"
      - "--certificatesresolvers.mytlschallenge.acme.tlschallenge=true"
      - "--certificatesresolvers.mytlschallenge.acme.email=${SSL_EMAIL}"
      - "--certificatesresolvers.mytlschallenge.acme.storage=/letsencrypt/acme.json"
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ${DATA_FOLDER}/letsencrypt:/letsencrypt
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - /local-files:/files
      - /root:/files

  n8n:
    image: n8nio/n8n
    restart: always
    ports:
      - "127.0.0.1:5678:5678"
    labels:
      - traefik.enable=true
      - traefik.http.routers.n8n.rule=Host(`${SUBDOMAIN}.${DOMAIN_NAME}`)
      - traefik.http.routers.n8n.tls=true
      - traefik.http.routers.n8n.entrypoints=web,websecure
      - traefik.http.routers.n8n.tls.certresolver=mytlschallenge
      - traefik.http.middlewares.n8n.headers.SSLRedirect=true
      - traefik.http.middlewares.n8n.headers.STSSeconds=315360000
      - traefik.http.middlewares.n8n.headers.browserXSSFilter=true
      - traefik.http.middlewares.n8n.headers.contentTypeNosniff=true
      - traefik.http.middlewares.n8n.headers.forceSTSHeader=true
      - traefik.http.middlewares.n8n.headers.SSLHost=${DOMAIN_NAME}
      - traefik.http.middlewares.n8n.headers.STSIncludeSubdomains=true
      - traefik.http.middlewares.n8n.headers.STSPreload=true
      - traefik.http.routers.n8n.middlewares=n8n@docker
    environment:
      - N8N_BASIC_AUTH_ACTIVE=true
      - N8N_BASIC_AUTH_USER
      - N8N_BASIC_AUTH_PASSWORD
      - N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
      - N8N_PORT=5678
      - N8N_PROTOCOL=https
      - NODE_ENV=production
      - DB_TYPE=postgresdb
      - DB_POSTGRESDB_DATABASE=postgres  
      - DB_POSTGRESDB_HOST=postgres_n8n
      - DB_POSTGRESDB_PORT=5432
      - DB_POSTGRESDB_USER=XXX
      - DB_POSTGRESDB_PASSWORD=XXX
      - WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
      - GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
      - EXECUTIONS_DATA_PRUNE=true
      - EXECUTIONS_DATA_MAX_AGE=72
      - EXECUTIONS_DATA_SAVE_ON_ERROR=all
      - EXECUTIONS_DATA_SAVE_ON_SUCCESS=none
      - EXECUTIONS_DATA_SAVE_ON_PROGRESS=false
      - EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=false
    volumes:
      - ${DATA_FOLDER}/.n8n:/home/node/.n8n
      - /local-files:/files
      - /home:/files
      - /root/n8n:/files
      - /root:/files
      - /root:/Dropbox
      - ./n8n_exports:/n8n_exports
  
  postgres_n8n:
    image: postgres
    restart: unless-stopped
    environment:
      - POSTGRES_PASSWORD=XXX
    volumes:
      - postgresN8N-volume:/var/lib/postgresql/data
      
volumes:
  n8n_data:  
  postgresN8N-volume:
    external: true

Individual workflow settings:

All of the workflows in my executions list are set to not save on success, but they are still there:

I thought I was on 1.15.1 previously, but I just got dark mode with this update to 1.15.2, so I may have moved from 1.14.x to 1.15.2

Has anything changed with 1.15.1 or 1.15.2 in regards to saving executions that I need to be aware of? I couldn’t find anything in the release notes.

Hey @mmac,

This has been fixed in 1.16.0, we were ignoring the default values. On 1.15.x you need to manually select the do not save option if you don’t want to upgrade yet.

The PR that fixed it can be found here: fix(core): Comply with custom default for workflow saving settings by ivov · Pull Request #7634 · n8n-io/n8n · GitHub

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.