pull down to refresh

Today while working on my home network after an ISP outage I decided to reboot my Umbrel machine after doing a update of one of the apps. I used the UI (Dashboard) to trigger a reboot. The Dashboard never came back up. The apps all seem to be good. My node works, Lightning works, as well as Albyhub.
I ssh'd into the machine and discovered that I have some missing environment variables.
docker compose logs -f
WARN[0000] The "APP_LIGHTNING_IP" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_LIGHTNING_NODE_DATA_DIR" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_DATA_DIR" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_MEMPOOL_HIDDEN_SERVICE" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_BITCOIN_RPC_PASS" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_LIGHTNING_GRPC_HIDDEN_SERVICE" variable is not set. Defaulting to a blank string.
WARN[0000] The "TOR_PROXY_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_BITCOIN_RPC_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_LIGHTNING_REST_HIDDEN_SERVICE" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_BITCOIN_NETWORK" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_BITCOIN_NETWORK" variable is not set. Defaulting to a blank string.
WARN[0000] The "TOR_PROXY_IP" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_BITCOIN_NODE_IP" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_BITCOIN_RPC_USER" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_BITCOIN_NETWORK" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_LIGHTNING_NODE_IP" variable is not set. Defaulting to a blank string.
WARN[0000] The "DEVICE_DOMAIN_NAME" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_MEMPOOL_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_LIGHTNING_IP" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_LIGHTNING_COMMAND" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_LIGHTNING_NODE_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_LIGHTNING_NODE_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_LIGHTNING_NODE_REST_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_LIGHTNING_NODE_REST_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_LIGHTNING_NODE_GRPC_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_LIGHTNING_NODE_GRPC_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_LIGHTNING_NODE_IP" variable is not set. Defaulting to a blank string.
WARN[0000] The "DEVICE_DOMAIN_NAME" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_LIGHTNING_NODE_DATA_DIR" variable is not set. Defaulting to a blank string.
WARN[0000] The "APP_DATA_DIR" variable is not set. Defaulting to a blank string.
WARN[0000] The "TOR_DATA_DIR" variable is not set. Defaulting to a blank string.
It appears that the .env file is missing. I do have a .env.migrated file but it is a bit old and before I stop umbrel and create a new .env file I wanted to ask some of the power users here if there is any risk to doing this.
I have backups of my lightning channels and my seed phrase. If I'm understanding correctly this .env file only affects the dashboard and not the apps (bitcoin, lightning, Thunderhub).
I believe all I need to do is this
cd ~/umbrel
./scripts/stop

cp ~/umbrel/.env.migrated ~/umbrel/.env

./scripts/start
~/umbrel/.env
fwiw I don't have an .env file here on my umbrel test vm
reply
Thanks
reply
I mean that doesn't solve the issue but its info.
reply
Yea just wanted to rule it out if it doesn't work as expected.
If you end up recovering your channel backups after a reinstall it'll close all your channels, better off shutting LND down and moving its data wholesale.
reply
Figured it out. The ENV stuff was a red herring. It was a local network interface issue.
Even though I had rebooted the machine a few times the root issue was that I could not access the machine unless I was going over Tailscale. I could not ping the IP. After realizing this I figured the issue was a LAN issue. Still not 100% sure what happened but everything works as expected.
I don't think the .env file is used any longer because the migrated file I have is pretty old. I believe its deprecated now.
reply
Yeah... I do not want to re-install if I can avoid it. I have migrated in the past to new hardware. Twice actually.
reply