So I was messing around with themes and plugins on the panel. It was all fine with Blueprint but then I tried installing the NookTheme which is a big modification. I accidentally unzipped the archive into the panel directory and everything stopped working. I may have also forced a database migration in my haste but I haven't regenerated the key. I also kept the APP_KEY base64 code of the original panel.
It sort of recovered, I can login with email and password
but application api and nodes as well as servers don't connect, I get an error 500. The .env file does contain my APP_KEY so I don't understand why it is not reconnecting. I am using Ubuntu 25.04 headless and Apache2.