I’m running a fresh Docker installation of n8n. While I can create new credentials, they are gone after the browser is refreshed, even though they are listed in the database. Checking the JS console, credentials will be POSTed to the API, which writes to the SQLite database, but the subsequent GET /credentials
returns an empty array.
I have not modified any settings aside from the webhook URL; the docker-compose.yaml
is simple enough:
services:
n8n:
image: n8nio/n8n:latest
volumes:
- ./.n8n:/home/node/.n8n
ports:
- "127.0.0.1:5678:5678"
restart: unless-stopped
env_file:
- ./.env
Curiously, the first workflow I created is retrieved just fine. What is going on here?