After forgetting my password and searching, I discovered the n8n user-management:reset is the supposed solution to my problem. Its not working.
I entered the command, rebooted the container (And tried before a reboot) and tried in a private browser. All brings me back to a login screen.
What is the error message (if any)?
No error message, just a completion message:
root@n8n:~# n8n user-management:reset
Permissions 0644 for n8n settings file /root/.n8n/config are too wide. This is ignored for now, but in the future n8n will attempt to change the permissions automatically. To automatically enforce correct permissions now set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true (recommended), or turn this check off set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=false.
Successfully reset the database to default user state.
(It didn’t)
Please share your workflow
Would love to, but I can’t access n8n.
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Nope, can’t do that either
Information on your n8n setup
n8n version: No idea. Can’t log in. I used Proxmox helper script to install it.
Database (default: SQLite): Then probably the default.
same here! tried everything. via cli api and also via direct db pw change with encoding.
gladly the workflows could be extracted from the database, otherwise it’d be a deadlock
I would love to share my config, however I have shared all that I know how to share without direction. I am using proxmox 9.0.5 and I used the proxmox helper script to install n8n. If you tell me which details you are looking for, I am happy to get them for you.
I’m afraid none of the cli commands work on proxmox. I am trying to migrate n8n from an old NAS pc and when I use import:credentials and import:workflow , they report that they ran just fine but then neither my workflows, nor my credentials are available on the proxmox instance regardles of restarting the lxc container.
root@n8n:~# n8n import:credentials --input=/.n8n/creds.json
Permissions 0644 for n8n settings file /root/.n8n/config are too wide. This is ignored for now, but in the future n8n will attempt to change the permissions automatically. To automatically enforce correct permissions now set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true (recommended), or turn this check off set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=false.
Successfully imported 12 credentials.
root@n8n:~#
root@n8n:~# n8n import:workflow --separate --input=./n8n-backup/backup
Permissions 0644 for n8n settings file /root/.n8n/config are too wide. This is ignored for now, but in the future n8n will attempt to change the permissions automatically. To automatically enforce correct permissions now set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true (recommended), or turn this check off set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=false.
Importing 0 workflows...
Successfully imported 0 workflows.
root@n8n:/.n8n/n8n-backup/backup# n8n import:workflow --separate --input=/.n8n/n8n-backup/backup/
Permissions 0644 for n8n settings file /root/.n8n/config are too wide. This is ignored for now, but in the future n8n will attempt to change the permissions automatically. To automatically enforce correct permissions now set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true (recommended), or turn this check off set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=false.
Importing 10 workflows...
Active version not found for workflow
Error: Active version not found for workflow
at ActiveWorkflowManager.clearWebhooks (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:260:10)
at ActiveWorkflowManager.remove (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:904:4)
at ImportService.importWorkflows (/usr/lib/node_modules/n8n/src/services/import.service.ts:82:5)
at ImportWorkflowsCommand.run (/usr/lib/node_modules/n8n/src/commands/import/workflow.ts:104:3)
at CommandRegistry.execute (/usr/lib/node_modules/n8n/src/command-registry.ts:67:4)
at /usr/lib/node_modules/n8n/bin/n8n:63:2
Could not remove webhooks of workflow "0yLdub2K4Bv1NB8i" because of error: "Active version not found for workflow"
Active version not found for workflow
Error: Active version not found for workflow
at ActiveWorkflowManager.clearWebhooks (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:260:10)
at ActiveWorkflowManager.remove (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:904:4)
at ImportService.importWorkflows (/usr/lib/node_modules/n8n/src/services/import.service.ts:82:5)
at ImportWorkflowsCommand.run (/usr/lib/node_modules/n8n/src/commands/import/workflow.ts:104:3)
at CommandRegistry.execute (/usr/lib/node_modules/n8n/src/command-registry.ts:67:4)
at /usr/lib/node_modules/n8n/bin/n8n:63:2
Could not remove webhooks of workflow "3DeuBI8A7Bd5GU3M" because of error: "Active version not found for workflow"
Active version not found for workflow
Error: Active version not found for workflow
at ActiveWorkflowManager.clearWebhooks (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:260:10)
at ActiveWorkflowManager.remove (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:904:4)
at ImportService.importWorkflows (/usr/lib/node_modules/n8n/src/services/import.service.ts:82:5)
at ImportWorkflowsCommand.run (/usr/lib/node_modules/n8n/src/commands/import/workflow.ts:104:3)
at CommandRegistry.execute (/usr/lib/node_modules/n8n/src/command-registry.ts:67:4)
at /usr/lib/node_modules/n8n/bin/n8n:63:2
Could not remove webhooks of workflow "6SaVk0o7iCcvmYXr" because of error: "Active version not found for workflow"
Active version not found for workflow
Error: Active version not found for workflow
at ActiveWorkflowManager.clearWebhooks (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:260:10)
at ActiveWorkflowManager.remove (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:904:4)
at ImportService.importWorkflows (/usr/lib/node_modules/n8n/src/services/import.service.ts:82:5)
at ImportWorkflowsCommand.run (/usr/lib/node_modules/n8n/src/commands/import/workflow.ts:104:3)
at CommandRegistry.execute (/usr/lib/node_modules/n8n/src/command-registry.ts:67:4)
at /usr/lib/node_modules/n8n/bin/n8n:63:2
Could not remove webhooks of workflow "EgXtDOS56I6GwnBQ" because of error: "Active version not found for workflow"
Active version not found for workflow
Error: Active version not found for workflow
at ActiveWorkflowManager.clearWebhooks (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:260:10)
at ActiveWorkflowManager.remove (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:904:4)
at ImportService.importWorkflows (/usr/lib/node_modules/n8n/src/services/import.service.ts:82:5)
at ImportWorkflowsCommand.run (/usr/lib/node_modules/n8n/src/commands/import/workflow.ts:104:3)
at CommandRegistry.execute (/usr/lib/node_modules/n8n/src/command-registry.ts:67:4)
at /usr/lib/node_modules/n8n/bin/n8n:63:2
Could not remove webhooks of workflow "WMjvYQlNwSNgNpY0" because of error: "Active version not found for workflow"
Active version not found for workflow
Error: Active version not found for workflow
at ActiveWorkflowManager.clearWebhooks (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:260:10)
at ActiveWorkflowManager.remove (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:904:4)
at ImportService.importWorkflows (/usr/lib/node_modules/n8n/src/services/import.service.ts:82:5)
at ImportWorkflowsCommand.run (/usr/lib/node_modules/n8n/src/commands/import/workflow.ts:104:3)
at CommandRegistry.execute (/usr/lib/node_modules/n8n/src/command-registry.ts:67:4)
at /usr/lib/node_modules/n8n/bin/n8n:63:2
Could not remove webhooks of workflow "WjiLtgBsL6ziOpRA" because of error: "Active version not found for workflow"
Active version not found for workflow
Error: Active version not found for workflow
at ActiveWorkflowManager.clearWebhooks (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:260:10)
at ActiveWorkflowManager.remove (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:904:4)
at ImportService.importWorkflows (/usr/lib/node_modules/n8n/src/services/import.service.ts:82:5)
at ImportWorkflowsCommand.run (/usr/lib/node_modules/n8n/src/commands/import/workflow.ts:104:3)
at CommandRegistry.execute (/usr/lib/node_modules/n8n/src/command-registry.ts:67:4)
at /usr/lib/node_modules/n8n/bin/n8n:63:2
Could not remove webhooks of workflow "YOFQojC1HEFtVNAm" because of error: "Active version not found for workflow"
Active version not found for workflow
Error: Active version not found for workflow
at ActiveWorkflowManager.clearWebhooks (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:260:10)
at ActiveWorkflowManager.remove (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:904:4)
at ImportService.importWorkflows (/usr/lib/node_modules/n8n/src/services/import.service.ts:82:5)
at ImportWorkflowsCommand.run (/usr/lib/node_modules/n8n/src/commands/import/workflow.ts:104:3)
at CommandRegistry.execute (/usr/lib/node_modules/n8n/src/command-registry.ts:67:4)
at /usr/lib/node_modules/n8n/bin/n8n:63:2
Could not remove webhooks of workflow "kNJc1UneM76EalLa" because of error: "Active version not found for workflow"
Active version not found for workflow
Error: Active version not found for workflow
at ActiveWorkflowManager.clearWebhooks (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:260:10)
at ActiveWorkflowManager.remove (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:904:4)
at ImportService.importWorkflows (/usr/lib/node_modules/n8n/src/services/import.service.ts:82:5)
at ImportWorkflowsCommand.run (/usr/lib/node_modules/n8n/src/commands/import/workflow.ts:104:3)
at CommandRegistry.execute (/usr/lib/node_modules/n8n/src/command-registry.ts:67:4)
at /usr/lib/node_modules/n8n/bin/n8n:63:2
Could not remove webhooks of workflow "tJivV7pLN7MQq3C4" because of error: "Active version not found for workflow"
Active version not found for workflow
Error: Active version not found for workflow
at ActiveWorkflowManager.clearWebhooks (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:260:10)
at ActiveWorkflowManager.remove (/usr/lib/node_modules/n8n/src/active-workflow-manager.ts:904:4)
at ImportService.importWorkflows (/usr/lib/node_modules/n8n/src/services/import.service.ts:82:5)
at ImportWorkflowsCommand.run (/usr/lib/node_modules/n8n/src/commands/import/workflow.ts:104:3)
at CommandRegistry.execute (/usr/lib/node_modules/n8n/src/command-registry.ts:67:4)
at /usr/lib/node_modules/n8n/bin/n8n:63:2
Could not remove webhooks of workflow "tw8s85yEtlM5JQAm" because of error: "Active version not found for workflow"
Deactivating workflow "workflow 1". Remember to activate later.
Deactivating workflow "workflow 2". Remember to activate later.
Deactivating workflow "workflow 3". Remember to activate later.
Successfully imported 10 workflows.
root@n8n:~#
I have also used the helper script (bash -c “$(curl -fsSL ``https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/n8n.sh``)”)