N8N激活失败,报错详情如下:
N8NActivation key is in the wrong format Activation key is in the wrong format。

操作流程

  1. 获取激活码
  2. 邮箱复制激活码
  3. N8N操作台激活报错:N8NActivation key is in the wrong format Activation key is in the wrong format。

解决办法:
Docker安装解决办法,在环境变量中设置激活密钥。

services:
  N8N:
    image: n8nio/n8n:${VERSION}
    #    container_name: ${CONTAINER_NAME}
    deploy:
      resources:
        limits:
          cpus: ${CPUS}
          memory: ${MEMORY_LIMIT}
    restart: always
    ports:
      - ${HOST_IP}:${WEB_HTTP_PORT}:5678
    volumes:
      - ${APP_PATH}/data:/home/node/.n8n
      - ${APP_PATH}/dist:/usr/local/lib/node_modules/n8n/node_modules/n8n-editor-ui/dist
    environment:
      N8N_DEFAULT_LOCALE: zh-CN
      N8N_SECURE_COOKIE: false
      N8N_PROTOCOL: https
      WEBHOOK_URL: https://${N8N_HOST}
      # 激活密钥
      N8N_LICENSE_ACTIVATION_KEY: xxxxxxxx
    labels:
      createdBy: "bt_apps"
    networks:
      - baota_net

networks:
  baota_net:
    external: true