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