parsedRef.includes is not a function
-
Hi,
I'm trying to install a custom Cloudron app of n8n, via a Docker image.
I did this two months ago, and it all worked as expected.I'm now trying to do it again, with the latest version of n8n (or any version I've tested), and I'm getting an issue when I run cloudron install, that I can't seem to resolve, even with lots of troubleshooting with Claude's help.
This is what I get:
App is being installed.=> Queued
=> Deleting old containers
=> Registering location [my sub domain].com .
=> Downloading image ............................App installation error: Installation failed:
And then in the logs for the app I get:
Feb 20 14:23:24 box:docker downloadImage: docker.io/[username]/io.n8n.cloudronapp:latest
Feb 20 14:23:24 box:docker Attempt 1 failed. Will retry: parsedRef.includes is not a function
Feb 20 14:23:29 box:docker Attempt 2 failed. Will retry: parsedRef.includes is not a function
Feb 20 14:23:34 box:docker Attempt 3 failed. Will retry: parsedRef.includes is not a function
Feb 20 14:23:39 box:docker Attempt 4 failed. Will retry: parsedRef.includes is not a function
Feb 20 14:23:44 box:docker Attempt 5 failed. Will retry: parsedRef.includes is not a function
Feb 20 14:23:49 box:docker Attempt 6 failed. Will retry: parsedRef.includes is not a function
Feb 20 14:23:54 box:docker Attempt 7 failed. Will retry: parsedRef.includes is not a function
Feb 20 14:23:59 box:docker Attempt 8 failed. Will retry: parsedRef.includes is not a function
Feb 20 14:24:04 box:docker Attempt 9 failed. Will retry: parsedRef.includes is not a function
Feb 20 14:24:10 box:apptask run: app error for state pending_install: TypeError: parsedRef.includes is not a function at getAuthConfig (/home/yellowtent/box/src/docker.js:125:55) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async pullImage (/home/yellowtent/box/src/docker.js:143:24) at async /home/yellowtent/box/src/docker.js:195:122 at async promiseRetry (/home/yellowtent/box/src/promise-retry.js:17:20) at async Object.downloadImage (/home/yellowtent/box/src/docker.js:194:5) at async downloadImage (/home/yellowtent/box/src/apptask.js:243:5) at async install (/home/yellowtent/box/src/apptask.js:337:5)
Feb 20 14:24:10 box:taskworker Task took 49.097 seconds
Feb 20 14:24:10 box:tasks setCompleted - 3805: {"result":null,"error":{"stack":"AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n\n at makeTaskError (/home/yellowtent/box/src/apptask.js:46:5)\n at run (/home/yellowtent/box/src/apptask.js:858:86)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","message":"The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n","generatedMessage":true,"name":"AssertionError","code":"ERR_ASSERTION","actual":false,"expected":true,"operator":"=="}}
Feb 20 14:24:10 box:tasks update 3805: {"percent":100,"result":null,"error":{"stack":"AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n\n at makeTaskError (/home/yellowtent/box/src/apptask.js:46:5)\n at run (/home/yellowtent/box/src/apptask.js:858:86)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","message":"The expression evaluated to a falsy value:\n\n assert(error instanceof BoxError)\n","generatedMessage":true,"name":"AssertionError","code":"ERR_ASSERTION","actual":false,"expected":true,"operator":"=="}}
Feb 20 14:24:10 AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value: -
-