# LND update problem

**URL:** <https://community.umbrel.com/t/lnd-update-problem/19595>\
**Category:** Support and Troubleshooting\
**Created:** [October 20, 2024, 5:13pm UTC](https://community.umbrel.com/t/lnd-update-problem/19595 "2024-10-20T17:13:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown21](https://avatars.discourse-cdn.com/v4/letter/u/e495f1/32.png) [@unknown21](https://community.umbrel.com/u/unknown21)\
**Post date:** [October 20, 2024, 5:13pm UTC](https://community.umbrel.com/t/lnd-update-problem/19595/1 "2024-10-20T17:13:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![boosterstage](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/boosterstage/32/1021_2.png) [@boosterstage](https://community.umbrel.com/u/boosterstage)\
**Post date:** [November 8, 2024, 1:48pm UTC](https://community.umbrel.com/t/lnd-update-problem/19595/2 "2024-11-08T13:48:46Z")

</div>

I also have the same problem after updating. Output from troubleshooting

```auto
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.

```auto
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
}

```

---

<div class="post-metadata">

**Author:** ![boosterstage](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/boosterstage/32/1021_2.png) [@boosterstage](https://community.umbrel.com/u/boosterstage)\
**Post date:** [November 8, 2024, 1:56pm UTC](https://community.umbrel.com/t/lnd-update-problem/19595/3 "2024-11-08T13:56:45Z")

</div>

Probably the `exports.sh` shouldn’t be empty. Why would that have happened?

```auto
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$

```

---

<div class="post-metadata">

**Author:** ![unknown21](https://avatars.discourse-cdn.com/v4/letter/u/e495f1/32.png) [@unknown21](https://community.umbrel.com/u/unknown21)\
**Post date:** [December 11, 2024, 4:50am UTC](https://community.umbrel.com/t/lnd-update-problem/19595/4 "2024-12-11T04:50:05Z")

</div>

Any luck with this?

---

<div class="post-metadata">

**Author:** ![boosterstage](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/boosterstage/32/1021_2.png) [@boosterstage](https://community.umbrel.com/u/boosterstage)\
**Post date:** [December 11, 2024, 3:20pm UTC](https://community.umbrel.com/t/lnd-update-problem/19595/5 "2024-12-11T15:20:15Z")

</div>

Yes I re-flashed the boot drive, and that fixed the problem.
