lightninglabs / lightninglabs/lndmon

Expand ~ when used in `.env` file

Open
#20 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
160
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Without this change, users can run into the mysterious error:
```
lndmon_1 | read /root/.lnd/tls.cert: is a directory
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the entry point that reads the `.env` file and trace how a `~` path is handled. Reproduce the `/root/.lnd/tls.cert: is a directory` failure with a home-relative value, then verify that the same `.env` value resolves to the intended path without breaking other values.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.