N8n user-management:reset not working

Describe the problem/error/question

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 :wink:

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.
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Engligh?
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Proxmox (Via helper script)
  • Operating system: Proxmox.
1 Like

hello @ShadowWizard11

What’s your config? I’m not familiar with Proxmox, so I may assume it’s a local issue with the configuration.

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``)”)

This is the installation script’s content:

#!/usr/bin/env bash

# Copyright (c) 2021-2025 tteck
# Author: tteck (tteckster) | Co-Author: CrazyWolf13
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# Source: https://n8n.io/

source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os

msg_info "Installing Dependencies"
$STD apt install -y \
  ca-certificates \
  build-essential \
  python3 \
  python3-setuptools
msg_ok "Installed Dependencies"

NODE_VERSION="22" setup_nodejs

msg_info "Installing n8n (Patience)"
$STD npm install --global patch-package
$STD npm install --global n8n
msg_ok "Installed n8n"

msg_info "Creating Service"
HOST_IP=$(hostname -I | awk '{print $1}')
mkdir -p /opt
cat <<EOF >/opt/n8n.env
N8N_SECURE_COOKIE=false
N8N_PORT=5678
N8N_PROTOCOL=http
N8N_HOST=$HOST_IP
EOF

cat <<EOF >/etc/systemd/system/n8n.service
[Unit]
Description=n8n

[Service]
Type=simple
EnvironmentFile=/opt/n8n.env
ExecStart=n8n start

[Install]
WantedBy=multi-user.target
EOF
systemctl enable -q --now n8n
msg_ok "Created Service"

motd_ssh
customize
cleanup_lxc