Hello,
Tried to update to latest lnd version, dashboard showed “updating” for 3 days and now it shows “not running”
Logs:
Command failed with exit code 15: /usr/local/lib/node_modules/umbreld/source/modules/apps/legacy-compat/app-script logs lightning
time=“2024-10-20T17:09:42Z” level=warning msg=“/usr/local/lib/node_modules/umbreld/source/modules/apps/legacy-compat/docker-compose.app_proxy.yml: the attribute version
is obsolete, it will be ignored, please remove it to avoid potential confusion”
time=“2024-10-20T17:09:42Z” level=warning msg=“/usr/local/lib/node_modules/umbreld/source/modules/apps/legacy-compat/docker-compose.tor.yml: the attribute version
is obsolete, it will be ignored, please remove it to avoid potential confusion”
time=“2024-10-20T17:09:42Z” level=warning msg=“/usr/local/lib/node_modules/umbreld/source/modules/apps/legacy-compat/docker-compose.common.yml: the attribute version
is obsolete, it will be ignored, please remove it to avoid potential confusion”
time=“2024-10-20T17:09:42Z” level=warning msg=“networks.default: external.name is deprecated. Please set name and external: true”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_IP" variable is not set. Defaulting to a blank string.”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_IP" variable is not set. Defaulting to a blank string.”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_NODE_DATA_DIR" variable is not set. Defaulting to a blank string.”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_GRPC_HIDDEN_SERVICE" variable is not set. Defaulting to a blank string.”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_NODE_IP" variable is not set. Defaulting to a blank string.”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_REST_HIDDEN_SERVICE" variable is not set. Defaulting to a blank string.”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_COMMAND" variable is not set. Defaulting to a blank string.”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_NODE_PORT" variable is not set. Defaulting to a blank string.”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_NODE_PORT" variable is not set. Defaulting to a blank string.”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_NODE_REST_PORT" variable is not set. Defaulting to a blank string.”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_NODE_REST_PORT" variable is not set. Defaulting to a blank string.”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_NODE_GRPC_PORT" variable is not set. Defaulting to a blank string.”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_NODE_GRPC_PORT" variable is not set. Defaulting to a blank string.”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_NODE_DATA_DIR" variable is not set. Defaulting to a blank string.”
time=“2024-10-20T17:09:42Z” level=warning msg=“The "APP_LIGHTNING_NODE_IP" variable is not set. Defaulting to a blank string.”
invalid spec: :/data/.lnd: empty section between colons
please help
1 Like
I also have the same problem after updating. Output from troubleshooting
Command failed with exit code 15: /usr/local/lib/node_modules/umbreld/source/modules/apps/legacy-compat/app-script logs lightning
time="2024-11-08T00:11:50Z" level=warning msg="/usr/local/lib/node_modules/umbreld/source/modules/apps/legacy-compat/docker-compose.app_proxy.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
time="2024-11-08T00:11:50Z" level=warning msg="/usr/local/lib/node_modules/umbreld/source/modules/apps/legacy-compat/docker-compose.tor.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
time="2024-11-08T00:11:50Z" level=warning msg="/usr/local/lib/node_modules/umbreld/source/modules/apps/legacy-compat/docker-compose.common.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
time="2024-11-08T00:11:50Z" level=warning msg="networks.default: external.name is deprecated. Please set name and external: true"
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_IP\" variable is not set. Defaulting to a blank string."
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_IP\" variable is not set. Defaulting to a blank string."
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_NODE_DATA_DIR\" variable is not set. Defaulting to a blank string."
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_GRPC_HIDDEN_SERVICE\" variable is not set. Defaulting to a blank string."
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_REST_HIDDEN_SERVICE\" variable is not set. Defaulting to a blank string."
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_NODE_IP\" variable is not set. Defaulting to a blank string."
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_COMMAND\" variable is not set. Defaulting to a blank string."
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_NODE_PORT\" variable is not set. Defaulting to a blank string."
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_NODE_PORT\" variable is not set. Defaulting to a blank string."
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_NODE_REST_PORT\" variable is not set. Defaulting to a blank string."
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_NODE_REST_PORT\" variable is not set. Defaulting to a blank string."
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_NODE_GRPC_PORT\" variable is not set. Defaulting to a blank string."
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_NODE_GRPC_PORT\" variable is not set. Defaulting to a blank string."
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_NODE_DATA_DIR\" variable is not set. Defaulting to a blank string."
time="2024-11-08T00:11:50Z" level=warning msg="The \"APP_LIGHTNING_NODE_IP\" variable is not set. Defaulting to a blank string."
invalid spec: :/data/.lnd: empty section between colons
I’m unable to update or uninstall the app.
umbrel@umbrel:~$ umbreld client apps.update.mutate --appId lightning
TRPCClientError: Command failed with exit code 15: /usr/local/lib/node_modules/umbreld/source/modules/apps/legacy-compat/app-script pre-patch-update lightning
at TRPCClientError.from (file:///usr/local/lib/node_modules/umbreld/node_modules/@trpc/client/dist/TRPCClientError-38f9a32a.mjs:27:20)
at file:///usr/local/lib/node_modules/umbreld/node_modules/@trpc/client/dist/links/httpLink.mjs:35:60
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
meta: {
response: Response {
[Symbol(realm)]: null,
[Symbol(state)]: [Object],
[Symbol(headers)]: [HeadersList]
},
responseJSON: { error: [Object] }
},
shape: {
message: 'Command failed with exit code 15: /usr/local/lib/node_modules/umbreld/source/modules/apps/legacy-compat/app-script pre-patch-update lightning',
code: -32603,
data: {
code: 'INTERNAL_SERVER_ERROR',
httpStatus: 500,
stack: 'Error: Command failed with exit code 15: /usr/local/lib/node_modules/umbreld/source/modules/apps/legacy-compat/app-script pre-patch-update lightning\n' +
' at makeError (file:///usr/local/lib/node_modules/umbreld/node_modules/execa/lib/error.js:60:11)\n' +
' at handlePromise (file:///usr/local/lib/node_modules/umbreld/node_modules/execa/index.js:124:26)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at App.update (/usr/local/lib/node_modules/umbreld/source/modules/apps/app.ts:163:3)\n' +
' at async resolveMiddleware (file:///usr/local/lib/node_modules/umbreld/node_modules/@trpc/server/dist/index.mjs:421:30)\n' +
' at async callRecursive (file:///usr/local/lib/node_modules/umbreld/node_modules/@trpc/server/dist/index.mjs:451:32)\n' +
' at async callRecursive (file:///usr/local/lib/node_modules/umbreld/node_modules/@trpc/server/dist/index.mjs:451:32)\n' +
' at async callRecursive (file:///usr/local/lib/node_modules/umbreld/node_modules/@trpc/server/dist/index.mjs:451:32)\n' +
' at async resolve (file:///usr/local/lib/node_modules/umbreld/node_modules/@trpc/server/dist/index.mjs:481:24)\n' +
' at async inputToProcedureCall (file:///usr/local/lib/node_modules/umbreld/node_modules/@trpc/server/dist/resolveHTTPResponse-2fc435bb.mjs:46:22)',
path: 'apps.update',
zodError: null
}
},
data: {
code: 'INTERNAL_SERVER_ERROR',
httpStatus: 500,
stack: 'Error: Command failed with exit code 15: /usr/local/lib/node_modules/umbreld/source/modules/apps/legacy-compat/app-script pre-patch-update lightning\n' +
' at makeError (file:///usr/local/lib/node_modules/umbreld/node_modules/execa/lib/error.js:60:11)\n' +
' at handlePromise (file:///usr/local/lib/node_modules/umbreld/node_modules/execa/index.js:124:26)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at App.update (/usr/local/lib/node_modules/umbreld/source/modules/apps/app.ts:163:3)\n' +
' at async resolveMiddleware (file:///usr/local/lib/node_modules/umbreld/node_modules/@trpc/server/dist/index.mjs:421:30)\n' +
' at async callRecursive (file:///usr/local/lib/node_modules/umbreld/node_modules/@trpc/server/dist/index.mjs:451:32)\n' +
' at async callRecursive (file:///usr/local/lib/node_modules/umbreld/node_modules/@trpc/server/dist/index.mjs:451:32)\n' +
' at async callRecursive (file:///usr/local/lib/node_modules/umbreld/node_modules/@trpc/server/dist/index.mjs:451:32)\n' +
' at async resolve (file:///usr/local/lib/node_modules/umbreld/node_modules/@trpc/server/dist/index.mjs:481:24)\n' +
' at async inputToProcedureCall (file:///usr/local/lib/node_modules/umbreld/node_modules/@trpc/server/dist/resolveHTTPResponse-2fc435bb.mjs:46:22)',
path: 'apps.update',
zodError: null
},
[cause]: undefined
}
Probably the exports.sh
shouldn’t be empty. Why would that have happened?
umbrel@umbrel:~/umbrel/app-data/lightning$ ls -al
total 32
drwxr-xr-x 4 umbrel umbrel 4096 Nov 8 13:45 .
drwxrwxr-x 12 umbrel umbrel 4096 Nov 7 23:56 ..
drwxr-xr-x 4 umbrel umbrel 4096 Jul 8 2022 data
-rw-r--r-- 1 umbrel umbrel 2690 Nov 8 03:58 docker-compose.yml
-rw-r--r-- 1 umbrel umbrel 0 Nov 8 13:45 exports.sh
drwxr-xr-x 2 umbrel umbrel 4096 Nov 8 03:59 hooks
-rw-r--r-- 1 umbrel umbrel 178 Nov 8 03:59 torrc
-rw-r--r-- 1 umbrel umbrel 334 Nov 7 06:01 torrc.template
-rw-r--r-- 1 umbrel umbrel 3211 Nov 7 06:01 umbrel-app.yml
umbrel@umbrel:~/umbrel/app-data/lightning$ cat exports.sh
umbrel@umbrel:~/umbrel/app-data/lightning$
Yes I re-flashed the boot drive, and that fixed the problem.