I’m self-hosting n8n in queue mode, I installed it locally so to import I need to go to the path /home/dogway/n8n/node_modules/n8n/bin and then run: node n8n import:workflow --input=/home/dogway/workflow_bak/fifueWwhOz1cp6IP.json
It errors with:
An error occurred while importing workflows. See log messages for details.
workflows.map is not a function
And creates an sqlite db.
Before that I was importing the 33 workflows in bulk: node n8n import:workflow --separate --input=/home/dogway/workflow_bak
But instead of loading them into the PostgreSQL db, it was creating a new sqlite one.