N8n keeps going back to Set up owner account screen

Describe the problem/error/question

I am currently trying to setup n8n community using docker compose and image v1.97.1
after setting the owner account if it sign out or apply a license it get redirected to the same setup screen. If i fill out the form again it says instance has already been claimes

What is the error message (if any)?

No error in log.
I see owner successfully set and survey suscessful.

Information on your n8n setup

  • **n8n version:1.97.1
  • **Database (default: SQLite):postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • **Running n8n via (Docker, npm, n8n cloud, desktop app):docker
  • **Operating system:ubuntu
version: '3.8'

volumes:
  db_storage:
  n8n_storage:
  redis_storage:

x-shared: &shared
  restart: always
  image: n8nio/n8n:1.97.1
  environment:
    - DB_TYPE=postgresdb
    - DB_POSTGRESDB_HOST=postgres
    - DB_POSTGRESDB_PORT=5432
    - DB_POSTGRESDB_DATABASE=${POSTGRES_DB}
    - DB_POSTGRESDB_USER=${POSTGRES_NON_ROOT_USER}
    - DB_POSTGRESDB_PASSWORD=${POSTGRES_NON_ROOT_PASSWORD}
    - EXECUTIONS_MODE=queue
    - QUEUE_BULL_REDIS_HOST=redis
    - QUEUE_HEALTH_CHECK_ACTIVE=true
      #- N8N_ENCRYPTION_KEY=${ENCRYPTION_KEY}
    - N8N_HOST=n8n.<domain>.xyz
    - N8N_PORT=5678
    - N8N_PROTOCOL=https
    - VUE_APP_URL_BASE_API=https://n8n.<domain>.xyz/
    - WEBHOOK_URL=https://n8n.<domain>.xyz/
    - N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true
    - N8N_RUNNERS_ENABLED=true
    - N8N_PERSONALIZATION_ENABLED=false
    - N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
    - GENERIC_TIMEZONE=America/New_York
    - OFFLOAD_MANUAL_EXECUTIONS_TO_WORKERS=true
    - N8N_LOG_LEVEL=debug
    - N8N_SECURE_COOKIE=false
      #- DB_LOGGING_ENABLED=true
      #- DB_LOGGING_OPTIONS=all
  links:
    - postgres
    - redis
  volumes:
    - n8n_storage:/home/node/.n8n
  depends_on:
    redis:
      condition: service_healthy
    postgres:
      condition: service_healthy

services:
  postgres:
    image: postgres:16
    restart: always
    environment:
      - POSTGRES_USER
      - POSTGRES_PASSWORD
      - POSTGRES_DB
      - POSTGRES_NON_ROOT_USER
      - POSTGRES_NON_ROOT_PASSWORD
    volumes:
      - db_storage:/var/lib/postgresql/data
      - ./init-data.sh:/docker-entrypoint-initdb.d/init-data.sh
    healthcheck:
      test: ['CMD-SHELL', 'pg_isready -h localhost -U ${POSTGRES_USER} -d ${POSTGRES_DB}']
      interval: 5s
      timeout: 5s
      retries: 10

  redis:
    image: redis:6-alpine
    restart: always
    volumes:
      - redis_storage:/data
    healthcheck:
      test: ['CMD', 'redis-cli', 'ping']
      interval: 5s
      timeout: 5s
      retries: 10

  n8n:
    <<: *shared
    ports:
      - 5678:5678

  n8n-worker:
    <<: *shared
    command: worker
    depends_on:
      - n8n