Describe the problem/error/question
I’ve exported entities from my MySQL database via this command
docker exec -u node -it n8n-docker-caddy-n8n-1 n8n export:entities --outputDir=/files
This is in an effort to move to Postgres and further update the version.
What is the error message (if any)?
I then import with this command after changing the database engine and starting the container.
docker exec -u node -it n8n-docker-caddy-n8n-1 n8n import:entities --inputDir=/files --truncateTables true
📊 Importing workflowtagmapping entities...
📋 Target table: "workflows_tags"
📁 Reading file: /files/workflowtagmapping.jsonl
Found 1 entities
Found 21 entities
Found 98 entities
Found 22 entities
Found 20 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 41 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 500 entities
Found 18 entities
Found 270 entities
Found 1 entities
Found 1 entities
Found 1 entities
Found 2 entities
Found 1 entities
Found 11 entities
Found 371 entities
Found 159 entities
Found 7 entities
Found 21 entities
Found 56 entities
Found 2 entities
Found 1 entities
Found 9 entities
Found 212 entities
Found 17 entities
Found 6 entities
Found 6 entities
Found 114 entities
Found 66 entities
Found 56 entities
❌ Error importing entities. See log messages for details.
Error details:
====================================
invalid input syntax for type json
invalid input syntax for type json
Without importing the entities I’m unable to further update versions.
Information on your n8n setup
- n8n version: 1.123.10
- Database (default: SQLite): MySQL but moving to Postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu 22.04
MySQL: mysql Ver 8.0.44-0ubuntu0.22.04.1
Postgres: psql (PostgreSQL) 14.20 (Ubuntu 14.20-0ubuntu0.22.04.1)