Having SharedWorkflow issues after editing the docker-compose


n8n Puppeteer Node - Environment Details

Node.js version: v22.21.0

n8n version: 1.119.2
Chromium version: Chromium 142.0.7444.59 Alpine Linux
n8n-nodes-puppeteer version: 1.4.1
Puppeteer core version: 24.30.0
Puppeteer executable path: /usr/bin/chromium-browser

Invalid boolean value for N8N_TEMPLATES_ENABLED: fals
2025-11-16T04:33:15.781Z | debug | User settings loaded from: /home/node/.n8n/config {“file”:“instance-settings.js”,“function”:“loadOrCreate”}
2025-11-16T04:33:15.962Z | debug | Received CLI command {“execPath”:“/usr/local/bin/node”,“scriptPath”:“/usr/local/bin/n8n”,“args”:,“flags”:{},“file”:“cli-parser.js”,“function”:“parse”}
2025-11-16T04:33:15.972Z | error | Last session crashed {“file”:“crash-journal.js”,“function”:“init”}
2025-11-16T04:33:25.978Z | info | Initializing n8n process {“file”:“start.js”,“function”:“init”}
2025-11-16T04:33:25.981Z | debug | Starting main instance in scaling mode {“scopes”:[“scaling”],“file”:“start.js”,“function”:“init”}
2025-11-16T04:33:25.981Z | debug | Host ID: main-1c9a0fb1cc92 {“scopes”:[“scaling”],“file”:“start.js”,“function”:“init”}
2025-11-16T04:33:26.390Z | debug | Lazy-loading nodes and credentials from n8n-nodes-base {“nodes”:484,“credentials”:388,“file”:“lazy-package-directory-loader.js”,“function”:“loadAll”}
2025-11-16T04:33:26.425Z | debug | Lazy-loading nodes and credentials from @n8n/n8n-nodes-langchain {“nodes”:109,“credentials”:25,“file”:“lazy-package-directory-loader.js”,“function”:“loadAll”}
2025-11-16T04:33:26.441Z | error | ENOENT: no such file or directory, open ‘/home/node/.n8n/nodes/node_modules/n8n-nodes-puppeteer/package.json’ {“file”:“load-nodes-and-credentials.js”,“function”:“loadNodesFromNodeModules”}
2025-11-16T04:33:26.444Z | error | ENOENT: no such file or directory, open ‘/home/node/.n8n/nodes/node_modules/n8n-nodes-puppeteer/package.json’ {“file”:“error-reporter.js”,“function”:“defaultReport”}
Puppeteer node: Container detected via .dockerenv file
2025-11-16T04:33:28.058Z | debug | No codex available for: puppeteer {“file”:“directory-loader.js”,“function”:“addCodex”}
2025-11-16T04:33:28.979Z | info | n8n ready on ::, port 443 {“file”:“abstract-server.js”,“function”:“init”}
2025-11-16T04:33:29.024Z | debug | Initializing AuthRolesService… {“file”:“auth.roles.service.js”,“function”:“init”}
2025-11-16T04:33:29.050Z | debug | No scopes to update. {“file”:“auth.roles.service.js”,“function”:“syncScopes”}
2025-11-16T04:33:29.051Z | debug | No obsolete scopes to delete. {“file”:“auth.roles.service.js”,“function”:“syncScopes”}
2025-11-16T04:33:29.117Z | debug | No global roles to update. {“file”:“auth.roles.service.js”,“function”:“syncRoles”}
2025-11-16T04:33:29.118Z | debug | No project roles to update. {“file”:“auth.roles.service.js”,“function”:“syncRoles”}
2025-11-16T04:33:29.119Z | debug | No credential roles to update. {“file”:“auth.roles.service.js”,“function”:“syncRoles”}
2025-11-16T04:33:29.119Z | debug | No workflow roles to update. {“file”:“auth.roles.service.js”,“function”:“syncRoles”}
2025-11-16T04:33:29.119Z | debug | AuthRolesService initialized successfully. {“file”:“auth.roles.service.js”,“function”:“init”}
2025-11-16T04:33:29.160Z | debug | Started Redis client publisher(n8n) {“scopes”:[“redis”,“scaling”],“type”:“publisher(n8n)”,“host”:“redis”,“port”:6379,“file”:“redis-client.service.js”,“function”:“createRegularClient”}
2025-11-16T04:33:29.188Z | warn |
There are deprecations related to your environment variables. Please take the recommended actions to update your configuration:

  • N8N_RUNNERS_ENABLED → Running n8n without task runners is deprecated. Task runners will be turned on by default in a future version. Please set N8N_RUNNERS_ENABLED=true to enable task runners now and avoid potential issues in the future. Learn more: Task runners | n8n Docs
  • N8N_BLOCK_ENV_ACCESS_IN_NODE → The default value of N8N_BLOCK_ENV_ACCESS_IN_NODE will be changed from false to true in a future version. If you need to access environment variables from the Code Node or from expressions, please set N8N_BLOCK_ENV_ACCESS_IN_NODE=false. Learn more: Security environment variables | n8n Docs
  • N8N_GIT_NODE_DISABLE_BARE_REPOS → Support for bare repositories in the Git Node will be removed in a future version due to security concerns. If you are not using bare repositories in the Git Node, please set N8N_GIT_NODE_DISABLE_BARE_REPOS=true. Learn more: Security environment variables | n8n Docs
    {“file”:“deprecation.service.js”,“function”:“warn”}
    2025-11-16T04:33:29.205Z | debug | Registered a “reload-license” event handler on License#reload {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:29.206Z | debug | Registered a “relay-execution-lifecycle-event” event handler on Push#handleRelayExecutionLifecycleEvent {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:29.207Z | debug | Registered a “reload-overwrite-credentials” event handler on CredentialsOverwrites#reloadOverwriteCredentials {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:29.207Z | debug | Registered a “clear-test-webhooks” event handler on TestWebhooks#handleClearTestWebhooks {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:29.208Z | debug | Registered a “display-workflow-activation” event handler on ActiveWorkflowManager#handleDisplayWorkflowActivation {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:29.208Z | debug | Registered a “display-workflow-deactivation” event handler on ActiveWorkflowManager#handleDisplayWorkflowDeactivation {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:29.208Z | debug | Registered a “display-workflow-activation-error” event handler on ActiveWorkflowManager#handleDisplayWorkflowActivationError {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:29.209Z | debug | Registered a “add-webhooks-triggers-and-pollers” event handler on ActiveWorkflowManager#handleAddWebhooksTriggersAndPollers {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:29.209Z | debug | Registered a “remove-triggers-and-pollers” event handler on ActiveWorkflowManager#handleRemoveTriggersAndPollers {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:29.210Z | debug | Registered a “restart-event-bus” event handler on MessageEventBus#restart {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:29.212Z | debug | Registered a “response-to-get-worker-status” event handler on WorkerStatusService#handleWorkerStatusResponse {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:29.212Z | debug | Registered a “community-package-update” event handler on CommunityPackagesService#handleInstallEvent {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:29.213Z | debug | Registered a “community-package-install” event handler on CommunityPackagesService#handleInstallEvent {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:29.213Z | debug | Registered a “community-package-uninstall” event handler on CommunityPackagesService#handleUninstallEvent {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:29.216Z | debug | Started Redis client subscriber(n8n) {“scopes”:[“redis”,“scaling”],“type”:“subscriber(n8n)”,“host”:“redis”,“port”:6379,“file”:“redis-client.service.js”,“function”:“createRegularClient”}
    2025-11-16T04:33:29.226Z | debug | Subscribed to channel n8n.commands {“scopes”:[“scaling”,“pubsub”],“file”:“subscriber.service.js”}
    2025-11-16T04:33:29.227Z | debug | Subscribed to channel n8n.worker-response {“scopes”:[“scaling”,“pubsub”],“file”:“subscriber.service.js”}
    2025-11-16T04:33:29.231Z | debug | [license SDK] initializing for deviceFingerprint 7fdf26396c0825e8ea09bfafb8171d4b6c5b22a791e55af7bbc8844f1cc4d0c7 {“scopes”:[“license”],“file”:“LicenseManager.js”,“function”:“log”}
    2025-11-16T04:33:29.240Z | info | [license SDK] Skipping renewal on init: license cert is not initialized {“scopes”:[“license”],“file”:“LicenseManager.js”,“function”:“log”}
    2025-11-16T04:33:29.241Z | debug | License initialized {“scopes”:[“license”],“file”:“license.js”,“function”:“init”}
    2025-11-16T04:33:29.242Z | debug | Querying database for waiting executions {“scopes”:[“waiting-executions”],“file”:“wait-tracker.js”,“function”:“getWaitingExecutions”}
    2025-11-16T04:33:29.247Z | debug | Started tracking waiting executions {“scopes”:[“waiting-executions”],“file”:“wait-tracker.js”,“function”:“startTracking”}
    2025-11-16T04:33:29.247Z | debug | Wait tracker init complete {“file”:“start.js”,“function”:“init”}
    2025-11-16T04:33:29.248Z | debug | Loading overwrite credentials from static envvar {“file”:“credentials-overwrites.js”,“function”:“init”}
    2025-11-16T04:33:29.249Z | debug | Credentials overwrites init complete {“file”:“start.js”,“function”:“init”}
    2025-11-16T04:33:29.255Z | debug | Binary data service init complete {“file”:“start.js”,“function”:“init”}
    2025-11-16T04:33:29.256Z | debug | Data deduplication service init complete {“file”:“start.js”,“function”:“init”}
    2025-11-16T04:33:29.257Z | debug | External hooks init complete {“file”:“start.js”,“function”:“init”}
    2025-11-16T04:33:29.258Z | debug | Workflow history init complete {“file”:“start.js”,“function”:“init”}
    2025-11-16T04:33:29.305Z | debug | Test runner cleanup complete {“file”:“start.js”,“function”:“init”}
    2025-11-16T04:33:32.537Z | debug | Started flushing timer {“scopes”:[“insights”],“file”:“insights-collection.service.js”,“function”:“startFlushingTimer”}
    2025-11-16T04:33:32.538Z | debug | Started compaction timer {“scopes”:[“insights”],“file”:“insights-compaction.service.js”,“function”:“startCompactionTimer”}
    2025-11-16T04:33:32.539Z | debug | Started pruning timer {“scopes”:[“insights”],“file”:“insights-pruning.service.js”,“function”:“startPruningTimer”}
    2025-11-16T04:33:32.541Z | debug | Initialized module “insights” {“file”:“module-registry.js”,“function”:“initModules”}
    2025-11-16T04:33:32.541Z | debug | Skipped init for unlicensed module “external-secrets” {“file”:“module-registry.js”,“function”:“initModules”}
    2025-11-16T04:33:32.553Z | debug | Initialized module “community-packages” {“file”:“module-registry.js”,“function”:“initModules”}
    2025-11-16T04:33:32.600Z | debug | Initialized module “data-table” {“file”:“module-registry.js”,“function”:“initModules”}
    2025-11-16T04:33:32.600Z | debug | Skipped init for unlicensed module “provisioning” {“file”:“module-registry.js”,“function”:“initModules”}
    2025-11-16T04:33:32.613Z | debug | Initialized module “breaking-changes” {“file”:“module-registry.js”,“function”:“initModules”}
    2025-11-16T04:33:33.596Z | debug | Started Redis client client(bull) {“scopes”:[“redis”,“scaling”],“type”:“client(bull)”,“host”:“redis”,“port”:6379,“file”:“redis-client.service.js”,“function”:“createRegularClient”}
    2025-11-16T04:33:33.604Z | debug | Started Redis client subscriber(bull) {“scopes”:[“redis”,“scaling”],“type”:“subscriber(bull)”,“host”:“redis”,“port”:6379,“file”:“redis-client.service.js”,“function”:“createRegularClient”}
    2025-11-16T04:33:33.606Z | debug | Queue setup completed {“scopes”:[“scaling”],“file”:“scaling.service.js”,“function”:“setupQueue”}
    2025-11-16T04:33:35.233Z | debug | OIDC login is disabled. {“file”:“oidc.service.ee.js”,“function”:“init”}
    2025-11-16T04:33:35.305Z | debug | Registered a “reload-license” event handler on License#reload {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.306Z | debug | Registered a “relay-execution-lifecycle-event” event handler on Push#handleRelayExecutionLifecycleEvent {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.307Z | debug | Registered a “reload-overwrite-credentials” event handler on CredentialsOverwrites#reloadOverwriteCredentials {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.307Z | debug | Registered a “clear-test-webhooks” event handler on TestWebhooks#handleClearTestWebhooks {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.307Z | debug | Registered a “display-workflow-activation” event handler on ActiveWorkflowManager#handleDisplayWorkflowActivation {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.308Z | debug | Registered a “display-workflow-deactivation” event handler on ActiveWorkflowManager#handleDisplayWorkflowDeactivation {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.308Z | debug | Registered a “display-workflow-activation-error” event handler on ActiveWorkflowManager#handleDisplayWorkflowActivationError {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.308Z | debug | Registered a “add-webhooks-triggers-and-pollers” event handler on ActiveWorkflowManager#handleAddWebhooksTriggersAndPollers {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.309Z | debug | Registered a “remove-triggers-and-pollers” event handler on ActiveWorkflowManager#handleRemoveTriggersAndPollers {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.309Z | debug | Registered a “restart-event-bus” event handler on MessageEventBus#restart {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.310Z | debug | Registered a “response-to-get-worker-status” event handler on WorkerStatusService#handleWorkerStatusResponse {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.310Z | debug | Registered a “community-package-update” event handler on CommunityPackagesService#handleInstallEvent {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.310Z | debug | Registered a “community-package-install” event handler on CommunityPackagesService#handleInstallEvent {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.311Z | debug | Registered a “community-package-uninstall” event handler on CommunityPackagesService#handleUninstallEvent {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.311Z | debug | Registered a “reload-saml-config” event handler on SamlService#reload {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.311Z | debug | Registered a “reload-sso-provisioning-configuration” event handler on ProvisioningService#handleReloadSsoProvisioningConfiguration {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.312Z | debug | Registered a “reload-oidc-config” event handler on OidcService#reload {“scopes”:[“pubsub”],“file”:“pubsub.registry.js”,“function”:“init”}
    2025-11-16T04:33:35.472Z | debug | Registered rule: removed-nodes-v2 {“scopes”:[“breaking-changes”],“file”:“breaking-changes.rule-registry.service.js”,“function”:“register”}
    2025-11-16T04:33:35.472Z | debug | Registered rule: process-env-access-v2 {“scopes”:[“breaking-changes”],“file”:“breaking-changes.rule-registry.service.js”,“function”:“register”}
    2025-11-16T04:33:35.472Z | debug | Registered rule: file-access-restriction-v2 {“scopes”:[“breaking-changes”],“file”:“breaking-changes.rule-registry.service.js”,“function”:“register”}
    2025-11-16T04:33:35.494Z | debug | Initializing event bus… {“file”:“message-event-bus.js”,“function”:“initialize”}
    2025-11-16T04:33:35.500Z | debug | Initializing event writer {“file”:“message-event-bus.js”,“function”:“initialize”}
    2025-11-16T04:33:35.510Z | debug | Checking for unsent event messages {“file”:“message-event-bus.js”,“function”:“initialize”}
    2025-11-16T04:33:35.516Z | debug | Completed queue recovery check, no dangling executions {“scopes”:[“scaling”],“file”:“scaling.service.js”,“function”:“recoverFromQueue”}
    2025-11-16T04:33:35.517Z | debug | Scheduled queue recovery check for next 180 min {“scopes”:[“scaling”],“file”:“scaling.service.js”,“function”:“scheduleQueueRecovery”}
    2025-11-16T04:33:35.607Z | debug | Start logging into /home/node/.n8n/n8nEventLog.log {“file”:“message-event-bus.js”,“function”:“initialize”}
    2025-11-16T04:33:35.608Z | debug | MessageEventBus initialized {“file”:“message-event-bus.js”,“function”:“initialize”}
    2025-11-16T04:33:35.615Z | info | Version: 1.119.2 {“file”:“abstract-server.js”,“function”:“start”}
    2025-11-16T04:33:35.616Z | debug | Server ID: main-1c9a0fb1cc92 {“file”:“server.js”,“function”:“start”}
    2025-11-16T04:33:35.618Z | debug | Soft-deletion every 60 minutes {“scopes”:[“pruning”],“file”:“executions-pruning.service.js”,“function”:“scheduleRollingSoftDeletions”}
    2025-11-16T04:33:35.619Z | debug | Hard-deletion in next 15 minutes {“scopes”:[“pruning”],“file”:“executions-pruning.service.js”,“function”:“scheduleNextHardDeletion”}
    2025-11-16T04:33:35.620Z | debug | Started pruning timers {“scopes”:[“pruning”],“file”:“executions-pruning.service.js”,“function”:“startPruning”}
    2025-11-16T04:33:35.646Z | info | Start Active Workflows: {“scopes”:[“workflow-activation”],“file”:“active-workflow-manager.js”,“function”:“addActiveWorkflows”}
    2025-11-16T04:33:38.074Z | debug | Started Redis client cache(n8n) {“scopes”:[“redis”,“scaling”],“type”:“cache(n8n)”,“host”:“redis”,“port”:6379,“file”:“redis-client.service.js”,“function”:“createRegularClient”}
    2025-11-16T04:33:38.076Z | debug | Started Redis client cache(n8n) {“scopes”:[“redis”,“scaling”],“type”:“cache(n8n)”,“host”:“redis”,“port”:6379,“file”:“redis-client.service.js”,“function”:“createRegularClient”}
    2025-11-16T04:33:38.126Z | error | Could not find any entity of type “SharedWorkflow” matching: {
    “where”: {
    “workflowId”: “Vc53nKrr5fh9OLKP”,
    “role”: “workflow:owner”
    },
    “relations”: [
    “project”
    ]
    } {“file”:“error-reporter.js”,“function”:“defaultReport”}
    2025-11-16T04:33:38.180Z | error | Issue on initial workflow activation try of “Telegram Bot” (ID: Vc53nKrr5fh9OLKP) (startup) {“scopes”:[“workflow-activation”],“error”:{“name”:“EntityNotFoundError”,“message”:“Could not find any entity of type “SharedWorkflow” matching: {\n “where”: {\n “workflowId”: “Vc53nKrr5fh9OLKP”,\n “role”: “workflow:owner”\n },\n “relations”: [\n “project”\n ]\n}”,“stack”:“EntityNotFoundError: Could not find any entity of type “SharedWorkflow” matching: {\n “where”: {\n “workflowId”: “Vc53nKrr5fh9OLKP”,\n “role”: “workflow:owner”\n },\n “relations”: [\n “project”\n ]\n}\n at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/src/entity-manager/EntityManager.ts:1236:25\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at OwnershipService.getWorkflowProjectCached (/usr/local/lib/node_modules/n8n/src/services/ownership.service.ts:85:26)\n at async Promise.all (index 1)\n at Object.getVariables (/usr/local/lib/node_modules/n8n/src/workflow-helpers.ts:176:31)\n at Object.getBase (/usr/local/lib/node_modules/n8n/src/workflow-execute-additional-data.ts:389:20)\n at ActiveWorkflowManager.add (/usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:600:27)\n at ActiveWorkflowManager.activateWorkflow (/usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:470:18)\n at /usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:450:6\n at async Promise.all (index 0)”},“workflowName”:“Telegram Bot”,“workflowId”:“Vc53nKrr5fh9OLKP”,“file”:“active-workflow-manager.js”,“function”:“activateWorkflow”}
    2025-11-16T04:33:38.240Z | error | Could not find any entity of type “SharedWorkflow” matching: {
    “where”: {
    “workflowId”: “XhFOy4nAWxI9tdyu”,
    “role”: “workflow:owner”
    },
    “relations”: [
    “project”
    ]
    } {“file”:“error-reporter.js”,“function”:“defaultReport”}
    2025-11-16T04:33:38.242Z | error | Issue on initial workflow activation try of “Queue Center” (ID: XhFOy4nAWxI9tdyu) (startup) {“scopes”:[“workflow-activation”],“error”:{“name”:“EntityNotFoundError”,“message”:“Could not find any entity of type “SharedWorkflow” matching: {\n “where”: {\n “workflowId”: “XhFOy4nAWxI9tdyu”,\n “role”: “workflow:owner”\n },\n “relations”: [\n “project”\n ]\n}”,“stack”:“EntityNotFoundError: Could not find any entity of type “SharedWorkflow” matching: {\n “where”: {\n “workflowId”: “XhFOy4nAWxI9tdyu”,\n “role”: “workflow:owner”\n },\n “relations”: [\n “project”\n ]\n}\n at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/src/entity-manager/EntityManager.ts:1236:25\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at OwnershipService.getWorkflowProjectCached (/usr/local/lib/node_modules/n8n/src/services/ownership.service.ts:85:26)\n at async Promise.all (index 1)\n at Object.getVariables (/usr/local/lib/node_modules/n8n/src/workflow-helpers.ts:176:31)\n at Object.getBase (/usr/local/lib/node_modules/n8n/src/workflow-execute-additional-data.ts:389:20)\n at ActiveWorkflowManager.add (/usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:600:27)\n at ActiveWorkflowManager.activateWorkflow (/usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:470:18)\n at /usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:450:6\n at async Promise.all (index 0)”},“workflowName”:“Queue Center”,“workflowId”:“XhFOy4nAWxI9tdyu”,“file”:“active-workflow-manager.js”,“function”:“activateWorkflow”}
    2025-11-16T04:33:38.269Z | error | Could not find any entity of type “SharedWorkflow” matching: {
    “where”: {
    “workflowId”: “tLYkZPYB2S8sHXKk”,
    “role”: “workflow:owner”
    },
    “relations”: [
    “project”
    ]
    } {“file”:“error-reporter.js”,“function”:“defaultReport”}
    2025-11-16T04:33:38.271Z | error | Issue on initial workflow activation try of “Wait User Interaction” (ID: tLYkZPYB2S8sHXKk) (startup) {“scopes”:[“workflow-activation”],“error”:{“name”:“EntityNotFoundError”,“message”:“Could not find any entity of type “SharedWorkflow” matching: {\n “where”: {\n “workflowId”: “tLYkZPYB2S8sHXKk”,\n “role”: “workflow:owner”\n },\n “relations”: [\n “project”\n ]\n}”,“stack”:“EntityNotFoundError: Could not find any entity of type “SharedWorkflow” matching: {\n “where”: {\n “workflowId”: “tLYkZPYB2S8sHXKk”,\n “role”: “workflow:owner”\n },\n “relations”: [\n “project”\n ]\n}\n at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/src/entity-manager/EntityManager.ts:1236:25\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at OwnershipService.getWorkflowProjectCached (/usr/local/lib/node_modules/n8n/src/services/ownership.service.ts:85:26)\n at async Promise.all (index 1)\n at Object.getVariables (/usr/local/lib/node_modules/n8n/src/workflow-helpers.ts:176:31)\n at Object.getBase (/usr/local/lib/node_modules/n8n/src/workflow-execute-additional-data.ts:389:20)\n at ActiveWorkflowManager.add (/usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:600:27)\n at ActiveWorkflowManager.activateWorkflow (/usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:470:18)\n at /usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:450:6\n at async Promise.all (index 0)”},“workflowName”:“Wait User Interaction”,“workflowId”:“tLYkZPYB2S8sHXKk”,“file”:“active-workflow-manager.js”,“function”:“activateWorkflow”}
    2025-11-16T04:33:38.271Z | debug | Finished activating all workflows {“scopes”:[“workflow-activation”],“file”:“active-workflow-manager.js”,“function”:“addActiveWorkflows”}
    2025-11-16T04:33:38.272Z | info |
    Editor is now accessible via:
    https://n8n.caamillo.com {“file”:“base-command.js”,“function”:“log”}
    2025-11-16T04:33:39.183Z | info | Try to activate workflow “Telegram Bot” (Vc53nKrr5fh9OLKP) {“scopes”:[“workflow-activation”],“workflowId”:“Vc53nKrr5fh9OLKP”,“workflowName”:“Telegram Bot”,“file”:“active-workflow-manager.js”,“function”:“retryFunction”}
    2025-11-16T04:33:39.245Z | info | Try to activate workflow “Queue Center” (XhFOy4nAWxI9tdyu) {“scopes”:[“workflow-activation”],“workflowId”:“XhFOy4nAWxI9tdyu”,“workflowName”:“Queue Center”,“file”:“active-workflow-manager.js”,“function”:“retryFunction”}
    2025-11-16T04:33:39.266Z | error | Could not find any entity of type “SharedWorkflow” matching: {
    “where”: {
    “workflowId”: “XhFOy4nAWxI9tdyu”,
    “role”: “workflow:owner”
    },
    “relations”: [
    “project”
    ]*
    }” | retry in 2 seconds {“scopes”:[“workflow-activation”],“error”:{“name”:“EntityNotFoundError”,“message”:“Could not find any entity of type “SharedWorkflow” matching: {\n “where”: {\n “workflowId”: “Vc53nKrr5fh9OLKP”,\n “role”: “workflow:owner”\n },\n “relations”: [\n “project”\n ]\n}”,“stack”:"EntityNotFoundError: Could not find any entity of type “SharedWorkflow” matching: {\n “where”: {\n “workflowId”: “Vc53nKrr5fh9OLKP”,\n “role”: “workflow:owner”\n },\n “relations”: [\n “project”\n ]\n}\n at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/@[email protected]*@[email protected][email protected][email protected][email protected]/node_modules/src/entity-manager/EntityManager.ts:1236:25\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at OwnershipService.getWorkflowProjectCached (/usr/local/lib/node_modules/n8n/src/services/ownership.service.ts:85:26)\n at async Promise.all (index 1)\n at Object.getVariables (/usr/local/lib/node_modules/n8n/src/workflow-helpers.ts:176:31)\n at Object.getBase (/usr/local/lib/node_modules/n8n/src/workflow-execute-additional-data.ts:389:20)\n at ActiveWorkflowManager.add (/usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:600:27)\n at Timeout.retryFunction [as onTimeout] (/usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:787:5)"},“workflowId”:“Vc53nKrr5fh9OLKP”,“workflowName”:“Telegram Bot”,“file”:“active-workflow-manager.js”,“function”:“retryFunction”}
    2025-11-16T04:33:39.272Z | info | Try to activate workflow “Wait User Interaction” (tLYkZPYB2S8sHXKk) {“scopes”:[“workflow-activation”],“workflowId”:“tLYkZPYB2S8sHXKk”,“workflowName”:“Wait User Interaction”,“file”:“active-workflow-manager.js”,“function”:“retryFunction”}
    2025-11-16T04:33:39.285Z | error | Could not find any entity of type “SharedWorkflow” matching: {
    “where”: {
    “workflowId”: “tLYkZPYB2S8sHXKk”,
    “role”: “workflow:owner”
    },
    “relations”: [
    “project”
    ]
    } {“file”:“error-reporter.js”,“function”:“defaultReport”}
    2025-11-16T04:34:41.598Z | info | Activation of workflow “Telegram Bot” (Vc53nKrr5fh9OLKP) did fail with error: “Could not find any entity of type “SharedWorkflow” matching: {
    “where”: {
    “workflowId”: “Vc53nKrr5fh9OLKP”,
    “role”: “workflow:owner”
    },
    “relations”: [
    “project”
    ]
    }” | retry in 64 seconds {“scopes”:[“workflow-activation”],“error”:{“name”:“EntityNotFoundError”,“message”:“Could not find any entity of type “SharedWorkflow” matching: {\n “where”: {\n “workflowId”: “Vc53nKrr5fh9OLKP”,\n “role”: “workflow:owner”\n },\n “relations”: [\n “project”\n ]\n}”,“stack”:"EntityNotFoundError: Could not find any entity of type “SharedWorkflow” matching: {\n “where”: {\n “workflowId”: “Vc53nKrr5fh9OLKP”,\n “role”: “workflow:owner”\n },\n “relations”: [\n “project”\n ]\n}\n at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/@[email protected]
    @[email protected][email protected][email protected][email protected]/node_modules/src/entity-manager/EntityManager.ts:1236:25\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at OwnershipService.getWorkflowProjectCached (/usr/local/lib/node_modules/n8n/src/services/ownership.service.ts:85:26)\n at async Promise.all (index 1)\n at Object.getVariables (/usr/local/lib/node_modules/n8n/src/workflow-helpers.ts:176:31)\n at Object.getBase (/usr/local/lib/node_modules/n8n/src/workflow-execute-additional-data.ts:389:20)\n at ActiveWorkflowManager.add (/usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:600:27)\n at Timeout.retryFunction [as _onTimeout] (/usr/local/lib/node_modules/n8n/src/active-workflow-manager.ts:787:5)”},“workflowId”:“Vc53nKrr5fh9OLKP”,“workflowName”:“Telegram Bot”,“file”:“active-workflow-manager.js”,“function”:“retryFunction”}

Describe the problem/error/question

Hello, I just edited the yml and now I am getting some weird issues about SharedWorkflow ownership matching. Like if i don’t have ownership or something, but i verifies and all projects are correlated to the right account (the only one, the owner) + the workflows exists

What is the error message (if any)?

Logs above, when i try to visit a page:

2025-11-16T04:49:21.138Z | warn | User attempted to access a workflow without permissions {“workflowId”:“VKfa0MJLMiOPcN7J”,“userId”:“3902016e-234d-4858-b3ef-accac53f0f0d”,“file”:“workflows.controller.js”,“function”:“getWorkflow”}

Information on your n8n setup

  • n8n version: latest
  • Database (default: SQLite): postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker
  • Operating system: Debian GNU/Linux 12 aarch64

hello @sucatore

Which YAML have you edited? n8n doesn’t provide any YAML files to edit

Right, N8N itself does not provide a docker-compose YAML to edit, but still I just changed some insignificant env variables such as:

``
N8N_DIAGNOSTICS_ENABLED=false

N8N_VERSION_NOTIFICATIONS_ENABLED=false

N8N_TEMPLATES_ENABLED=false
```

So please don’t just say “N8N does not provide a YAML“ because that makes no sense :grinning_face_with_smiling_eyes:

BTW I fixed this issue backupping creds and workflows ands reinitializing all the thing, but that’s a work-around buddies, we can’t have something like this in prod.. it’s kinda glitchy.

The YAML edit i’ve done itself, I don’t think it actually could bug the entire n8n local platform like this, but still it happened.

I wonder why N8N makes changes about UI/AI Agent/Useless stuff while the main codebase remain really glitchy, memory unsafe and it could crash really easily. If N8N staff is interested I’ve done a local private fork of n8n to fix many memory issues, so please hire me and let’s fix this shit together XD

We are having two instances of n8n in our ifra already for about 3 years and don’t have any issues with crashes or unstable behavior. Even with ~100k executions per day. n8n is more than stable :slight_smile:

There are several issues in the n8n forum about memory issues, so you can’t say: “My N8N is working“ it’s like when you make a paper and the experiments works only for you.

You could have 100,200 or 300k executions, but the point is: what’s the memory usage your workflows are being executing? If you have workflows that use lots of ram it will 100% crash on n8n, cuz it does not detect well the max memory usage per workflow. To resolve this problem the only way is to decentralize the logic from n8n and request it trough a stupid endpoint, that sucks really bad. I also made multi-programming-languange coding nodes (Rust, Go, C, Ruby), which executes the code out of n8n so each node is scalable individually, and that works really well (Right now N8N rebuilds all nodes dynamically each time, this makes no sense)… I am sorry I cant publish it open source because I worked on it while I was working in a company and so they wont let me publish it

But as you can see there are very many thing that can be done, I wonder why this is not the priority.

It’s very easy to crash n8n with a very bad workflow design. E.g., a paginated HTTP node in the main workflow with dozens of pages. Or a Loop node, which processes something heavy.

We have only 8GB of RAM for the instance (along with the database and an RMQ) and memory-optimized workflows. Even the one that processes 100MB of data per execution or has ~50-70k of items to process, doesn’t have any memory issues.

As @barn4k mentioned, there is no yaml/yml file in n8n.

Pretty sure you are confusing Docker with n8n.