If you *by accident* **delete your
# umh-support
s
If you by accident **delete your instance in the management console, **and want to recover/recreate that, what is the best way while keeping your databridges in tact? There is quite some work put into the protocol converters etc. I can still access the the cluster via Lens, and are able to run commands on the machine. I can run the install command again, but just be to sure before I do more damage 🤔 https://cdn.discordapp.com/attachments/984083100520808478/1377922902858534983/CleanShot_2025-05-30_at_10.12.462x.png?ex=683aba34&is=683968b4&hm=2d8d32149aa4764f1ce80a44648a7b38a1c72ff97d5c689943955884205bc84c&
j
I am not sure on this one, personally my approach would be to create a new instance with the same name (to make it easy) - NOT rerun the install-script, but instead replace the auth-token in the secret
mgmtcompanion-secret
in namespace
mgmtcompanion
. But this might on one side result in a chaotic setup and on the other hand it depends whats still running in your cluster? If everything's already shutdown this approach doesn't make much sense
s
It looks like everything is still running locally, just no connection to the management console. So if i understand it correctly: Create new instance, get the 'secret' of the new instance, and replace that in old one, delete new one?
j
First question would be, what is important in your case, the configurations or the actual data you've already read? Because it might then make sense to somehow back it up. Ye i'd try to create a new instance - you will receive a new copy/paste command and from in that just copy out the auth_token and continue.. - then take this and patch your mgmtcompanion-secret - it MIGHT reconnect then but as said, i'm totally unsure about that approach, this could also lead to the companion deleting existing deployments. If it's not that urgent, it might make sense to wait until next week and we can then potentially come up with a more "safe" solution or either test it ourselves to make sure.
s
Thank you! I will back up all the configs / data locally to be sure. Will try this approach later this afternoon! 👍
Result was to export all config files plus nodered flows, and reinstall management console but to not overwrite helm chart. Data was still there and clean setup was easiest way.
2 Views