Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. N8N
  3. App stopped responding after updating package to v4.24.0

App stopped responding after updating package to v4.24.0

Scheduled Pinned Locked Moved N8N
15 Posts 4 Posters 69 Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jamesJ Offline
    jamesJ Offline
    james
    Staff
    wrote last edited by
    #2

    Hello @dev-cb
    Is there any log from the N8N app when starting up why it fails?

    1 Reply Last reply
    0
    • dev-cbD Offline
      dev-cbD Offline
      dev-cb
      wrote last edited by dev-cb
      #3

      Sorry, was cut. Yes..

      ...
      2026-05-27T07:59:20.000Z => Healthcheck error: Error: connect ECONNREFUSED 10.254.87.41: 8080
      2026-05-27T07:59:30.000Z => Healthcheck error: Error: connect ECONNREFUSED 10.254.87.41: 8080
      2026-05-27T07:59:35+02:00 ==> Ensure directories
      2026-05-27T07:59:35+02:00 ==> Setting permissions
      2026-05-27T07:59:35+02:00 ==> Starting N8N
      2026-05-27T07:59:37+02:00 Error: ENOENT: no such file or directory, open '/app/data/user/.n8n/nodes/node_modules/n8n-nodes-xlsx/package.json'
      2026-05-27T07:59:37+02:00 at /app/code/node_modules/.pnpm/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+exporter-trace-otlp_<HASH_REDACTED>/node_modules/n8n-core/src/nodes-loader/scan-directory-for-packages.ts:29:4
      2026-05-27T07:59:37+02:00 at Array.map (<anonymous>)
      2026-05-27T07:59:37+02:00 at CommandRegistry.execute (/app/code/src/command-registry.ts:46:3)
      2026-05-27T07:59:37+02:00 at CommunityPackagesModule.nodeLoaders (/app/code/src/modules/community-packages/community-packages.module.ts:41:10)
      2026-05-27T07:59:37+02:00 at LazyPackageDirectoryLoader.readJSONSync (/app/code/node_modules/.pnpm/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+exporter-trace-otlp_<HASH_REDACTED>/node_modules/n8n-core/src/nodes-loader/package-directory-loader.ts:96:34)
      2026-05-27T07:59:37+02:00 at ModuleRegistry.loadModules (/app/code/node_modules/.pnpm/@n8n+backend-common@file+packages+@n8n+backend-common_zod@3.25.67/node_modules/@n8n/backend-common/src/modules/module-registry.ts:124:20)
      2026-05-27T07:59:37+02:00 at new LazyPackageDirectoryLoader (/app/code/node_modules/.pnpm/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+exporter-trace-otlp_<HASH_REDACTED>/node_modules/n8n-core/src/nodes-loader/lazy-package-directory-loader.ts:6:1)
      2026-05-27T07:59:37+02:00 at new PackageDirectoryLoader (/app/code/node_modules/.pnpm/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+exporter-trace-otlp_<HASH_REDACTED>/node_modules/n8n-core/src/nodes-loader/package-directory-loader.ts:20:27)
      2026-05-27T07:59:37+02:00 at readFileSync (node:fs:439:20)
      2026-05-27T07:59:37+02:00 at scanDirectoryForPackages (/app/code/node_modules/.pnpm/n8n-core@file+packages+core_@opentelemetry+api@1.9.0_@opentelemetry+exporter-trace-otlp_<HASH_REDACTED>/node_modules/n8n-core/src/nodes-loader/scan-directory-for-packages.ts:27:31)
      2026-05-27T07:59:40.000Z => Healthcheck error: Error: connect ECONNREFUSED 10.254.87.41: 8080
      2026-05-27T07:59:50.000Z => Healthcheck error: Error: connect ECONNREFUSED 10.254.87.41: 8080
      

      So it looks indeed like n8n attempts to load a package but can not find the required package.json so it exits.

      1 Reply Last reply
      1
      • dev-cbD Offline
        dev-cbD Offline
        dev-cb
        wrote last edited by
        #4

        /app/data/user/.n8n/nodes/node_modules/n8n-nodes-xlsx/ is indeed empty. Was created a few days ago, which differs from the other node packages.

        luckowL 1 Reply Last reply
        1
        • C Offline
          C Offline
          ChrisHvd
          wrote last edited by
          #5

          I have the exact same issue since yesterday. The migration to 4.24.0 crashes the server.

          1 Reply Last reply
          1
          • dev-cbD Offline
            dev-cbD Offline
            dev-cb
            wrote last edited by
            #6

            I removed the empty directory /app/data/user/.n8n/nodes/node_modules/n8n-nodes-xlsx/ and restarted.
            At first the app was not responding, then was running.

            @chrishvd Could you please check if the same behaviour matches your issue?

            1 Reply Last reply
            0
            • jamesJ Offline
              jamesJ Offline
              james
              Staff
              wrote last edited by james
              #7

              Hello @dev-cb
              Where did n8n-nodes-xlsx come from, with your statement:

              @dev-cb said:

              /app/data/user/.n8n/nodes/node_modules/n8n-nodes-xlsx/

              This was not in the log you posted above, so how did you figure out it was this folder?

              edit:
              I see, the log was cut off again.

              dev-cbD 1 Reply Last reply
              0
              • jamesJ james

                Hello @dev-cb
                Where did n8n-nodes-xlsx come from, with your statement:

                @dev-cb said:

                /app/data/user/.n8n/nodes/node_modules/n8n-nodes-xlsx/

                This was not in the log you posted above, so how did you figure out it was this folder?

                edit:
                I see, the log was cut off again.

                dev-cbD Offline
                dev-cbD Offline
                dev-cb
                wrote last edited by
                #8

                @james said:

                Hello @dev-cb
                Where did n8n-nodes-xlsx come from, with your statement:

                @dev-cb said:

                /app/data/user/.n8n/nodes/node_modules/n8n-nodes-xlsx/

                This was not in the log you posted above, so how did you figure out it was this folder?

                Copied the wrong event. My bad... Sorry for sloppiness.
                I’ve adjusted the post with the log.

                1 Reply Last reply
                1
                • dev-cbD dev-cb

                  /app/data/user/.n8n/nodes/node_modules/n8n-nodes-xlsx/ is indeed empty. Was created a few days ago, which differs from the other node packages.

                  luckowL Offline
                  luckowL Offline
                  luckow
                  translator
                  wrote last edited by
                  #9

                  @dev-cb I had the same issue with an empty Zabbix folder. Restoring the old version, deleting the empty folder, and updating to the latest version worked. But I thought it had nothing to do with the app package and was just an issue with my instance.

                  Pronouns: he/him | Primary language: German

                  dev-cbD 1 Reply Last reply
                  1
                  • luckowL luckow

                    @dev-cb I had the same issue with an empty Zabbix folder. Restoring the old version, deleting the empty folder, and updating to the latest version worked. But I thought it had nothing to do with the app package and was just an issue with my instance.

                    dev-cbD Offline
                    dev-cbD Offline
                    dev-cb
                    wrote last edited by
                    #10

                    @luckow said:

                    @dev-cb I had the same issue with an empty Zabbix folder. Restoring the old version, deleting the empty folder, and updating to the latest version worked. But I thought it had nothing to do with the app package and was just an issue with my instance.

                    Yes. Just did the same, backup, update, restart went all though.

                    1 Reply Last reply
                    0
                    • jamesJ Offline
                      jamesJ Offline
                      james
                      Staff
                      wrote last edited by
                      #11

                      I have looked into this issue.

                      #1 Our EXTRA_NODE_MODULES (for the Code node) installed in start.sh:47-50 into /run/n8n/custom-node-modules/, which is ephemeral (/run/...) and reinstalled on every boot, then symlinked to /app/node_modules (Dockerfile:40).

                      #2 n8n Community Nodes (n8n-nodes-*, installed through the web UI), n8n puts these under $N8N_USER_FOLDER/.n8n/nodes/, i.e. /app/data/user/.n8n/nodes/. That's persistent (under /app/data). It keeps a package.json listing the installed community packages plus the actual code in nodes/node_modules/, and also tracks them in the DB.

                      The failing path is /app/data/user/.n8n/nodes/node_modules/n8n-nodes-xlsx/package.json, that's path #2. n8n-nodes-xlsx is a community node the user installed via the UI. The crash (scanDirectoryForPackages → CommunityPackagesModule.nodeLoaders) happens because the nodes/package.json still lists n8n-nodes-xlsx but the actual node_modules/n8n-nodes-xlsx/ directory is missing/incomplete, an orphaned reference. n8n's startup scan is not tolerant of this and throws.

                      Typical cause: a community-node install/uninstall that was interrupted or partially failed (npm wrote the package.json entry, but the module folder wasn't fully written), or the directory got out of sync across a restart/upgrade. It's a n8n-side robustness issue, not our packaging.

                      We could add a handler in our start.sh to prevent this issue.
                      I will look into that.

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        ChrisHvd
                        wrote last edited by
                        #12

                        @dev-cb I cannot update my instance and try as prod workflows are running. But I have another instance which migrated to 2.24.0 without any trouble. The only difference between the two is the presence of NODE_FUNCTION_ALLOW_BUILTIN=* on the first one (the one that crashes).

                        1 Reply Last reply
                        0
                        • jamesJ Offline
                          jamesJ Offline
                          james
                          Staff
                          wrote last edited by
                          #13

                          Hello @chrishvd
                          Please check the start log when you have updated N8N and send that log.
                          If the log includes lines like the above issue from a n8n community node, you can fix the issue like mentioned by @dev-cb

                          1 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            ChrisHvd
                            wrote last edited by james
                            #14

                            The only thing I can found is slightly different from yours, although it touches some n8n node package I don't know.

                            *2026-05-26T00:01:05Z ⠼==> Starting N8N
                            2026-05-26T00:01:08Z Last session crashed
                            2026-05-26T00:01:10.000Z => Healthcheck error: Error: connect ECONNREFUSED 172.18.17.212:5678
                            2026-05-26T00:01:18Z 
                            2026-05-26T00:01:18Z 
                            2026-05-26T00:01:18Z Node loader n8n-nodes-base is already registered.
                            2026-05-26T00:01:18Z Error: Node loader n8n-nodes-base is already registered.
                            2026-05-26T00:01:18Z Error: Node loader n8n-nodes-base is already registered.
                            2026-05-26T00:01:18Z Error: Exiting due to an error.*
                            
                            1 Reply Last reply
                            0
                            • jamesJ Offline
                              jamesJ Offline
                              james
                              Staff
                              wrote last edited by
                              #15

                              Hello @chrishvd
                              This looks indeed different.
                              And there is no log after texiting due to an error?

                              1 Reply Last reply
                              0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Bookmarks
                              • Search