Describe the problem/error/question
I’m trying to update n8n to the latest stable on docker. I did stop + rm the exiting n8n docker and starting it again with:
docker run -d --hostname n8n.local
–name n8n
–net n8n --ip 10.9.0.2
-m 12g
–memory-swap 2g
–cpus=1
-p 5678:5678
-e WEBHOOK_URL={https://example.orgl}
-e DB_TYPE=postgresdb
-e DB_POSTGRESDB_DATABASE=n8n
-e DB_POSTGRESDB_HOST=postgresql
-e DB_POSTGRESDB_USER=myuser
-e DB_POSTGRESDB_PASSWORD=mypassword
-e N8N_BASIC_AUTH_ACTIVE=true
-e N8N_BASIC_AUTH_USER=admin
-e N8N_BASIC_AUTH_PASSWORD=my password
-e NODE_FUNCTION_ALLOW_BUILTIN=*
-e GENERIC_TIMEZONE=“Europe/Berlin”
-e EXECUTIONS_PROCESS=main
-v /srv/n8n:/data
–restart unless-stopped
-d docker.n8n.io/n8nio/n8n
What is the error message (if any)?
docker logs
n8n ready on 0.0.0.0, port 5678
Migrations in progress, please do NOT stop the process.
QueryFailedError: syntax error at or near ":"
QueryFailedError: syntax error at or near ":"
...
QueryFailedError: syntax error at or near ":"
QueryFailedError: syntax error at or near ":"
Error: There was an error running database migrations
QueryFailedError: current transaction is aborted, commands ignored until end of transaction block
Last session crashed
Is there a way to run the migration manually or have more details of what is not working?
Information on your n8n setup
- n8n version: not sure docker.n8n.io/n8nio/n8n
- Database (default: SQLite): postgress
- n8n EXECUTIONS_PROCESS main:
- Running n8n via Docker
- Operating system: ubuntu