Problem: external volume "n8n_data" not found

Hello everyone!
I decided to setup N8N in my Respberry Pi 4 trought Docker. And I catched this problem:
external volume “n8n_data” not found
Here is my docker-compose.yml:

services:
  n8n:
    image: docker.n8n.io/n8nio/n8n
    restart: always
    ports:
      - "5678:5678"
    environment:
      - N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
      - N8N_PORT=5678
      - N8N_PROTOCOL=https
      - NODE_ENV=production
      - WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
      - GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
    volumes:
      - n8n_data:/home/node/.n8n

volumes:
  n8n_data:
    external: true

My .env:

DOMAIN_NAME=shimaper.com
SUBDOMAIN=n8n
GENERIC_TIMEZONE=Europe/Berlin

Output (MobaXTerm):

Information on my n8n setup

  • n8n version: latest
  • Database you’re using: Default
  • Running n8n with the execution process: own
  • Running n8n via: Docker
  • Raspberry OS

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @shimaper, is there a chance this volume simply hasn’t been created yet?

Try running docker volume create n8n_data before starting and let me know if you’re still running into trouble afterwards :slight_smile:

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