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

There is no umbrel/app-data/lightning directory on Umbrel before 0.5. For hard offline data recovery of old Umbrel releases, how does one extract the AEZEED 24 word seed phrase from umbrel/db/user.json or from umbrel/db/umbrel-seed/seed?

Your instructions, as written, do not work:
$ jq -r ‘.seed | join (" ")’ user.json
jq: error (at user.json:18): Cannot iterate over string ("…)