How to go from umbrel-seed hex to 24 word seed?

I can’t log into the UI for Umbrel, but I can SSH into my machine and see the seed data in:

nano ~/umbrel/db/umbrel-seed

How do I turn those 64 numbers and letters into a valid seed that I can put into another Umbrel machine?

I also see that in user.json there is a field for the seed, but it is encrypted. How do I decrypt it?

Hello @Mikey, we’re sorry that you are facing this issue
You can retrieve your 24 words mnemonic phrase by doing :

jq -r '.seed | join(" ")' ~/umbrel/app-data/lightning/data/lightning/state.json