I made an adjustment to watchtower via gui on the lightning config and upon reset that service is hung starting. The logs show a fee of zero is not permitted… I now have a typo in the file and need help accessing source that won’t be overwritten.
umbrel@umbrel:~/umbrel/app-data/lightning/data/lnd$ has a file named umbrel-lnd.conf
which is autogenerated. I tried creating a lnd.conf to act as a source template that i hoped would over write the umbrel-lnd.conf – according to another post. That did nothing.
Here’s where I need a hand please - how do I edit a source file for lnd.conf or its alias such that what I change in that source file won’t be overwritten when I try to restart the lightning server again?
Thank u
Well, the unix sysadmin skills took over while waiting… Here’s the scoop. I made sure the service was stopped and then hunted for the file I needed.
Here’s the solution should you need to do this in an emergency:
On the umbrel home server do the following:
cd ~/umbrel/app-data/lightning/data/lightning$
cp settings.json vi settings.json.orig
and then edit the settings file with your fav editor. I use vi.
vi settings.json
and find the error, make the correction, force save the file, and exit.
Restart the application from the gui and see if it comes back to life.
Proceed with caution and don’t go here unless you must.
#best
Your json config file will then be the template master (my words) and over write the umbrel-lnd.conf file and lnd.conf should it happen to exist.
typo, sorry:
THIS:
cd ~/umbrel/app-data/lightning/data/lightning$
cp settings.json vi settings.json.orig
and then edit the settings file with your fav editor. I use vi.
Should be:
cd ~/umbrel/app-data/lightning/data/lightning$
cp settings.json settings.json.orig
and then edit the settings file with your fav editor. I use vi.
vi settings.json.orig