Monday morning mistake: sudo rm -rf –no-preserve-root /
Boot into the rescue system provided by Hetzner and check what damage you have done. Transfer out any files to a safe location and redeploy the server afterwards. I’m afraid that is the best solution in your case.