Provider templates often ship monitoring agents, extra software, odd partitions, and old kernels. Reinstall an official image first so every later step starts from a known state.
Powered by an open-source project
The reinstall is done by bin456789/reinstall by bin456789 (GPL-3.0). EnvSH only helps you pick options and builds the command; it does not modify or host the script.
Expect: kvm, xen, vmware, or microsoft can be reinstalled. openvz or lxc is a container: the kernel belongs to the host, so a reinstall is impossible. Use the provider panel instead.
2
Memory and disk
Read-only
free -h
df -h /
Expect: Compare with the requirements of the system you pick below.
3
Write down the network settings
Read-only
ip -br addr
ip route
Expect: reinstall.sh configures the network automatically. Keep the IP and gateway anyway, in case you need the provider VNC console.
Step 2: Choose a system and build the command
Tick the confirmation first. The reinstall erases the entire disk, including other partitions.
The SSH port is not an integer from 1 to 65535, so the flag is left out.
The password contains a newline, so --password is left out.
That does not look like one OpenSSH public key line (ssh-ed25519, ssh-rsa, or ecdsa-).
A key is set, so the password is not passed: upstream leaves the password empty with a key.
--no-cloud-kernel does not apply to this system and is ignored.
reinstall.txt
Tick the confirmation on the left to show the command.
Running it does not erase anything until the reboot. Before rebooting, bash reinstall.sh reset cancels. During installation, watch progress in the provider VNC, over SSH, or at http://YOUR_SERVER_IP.
Step 3: After the reinstall
For speed, upstream does not update the new system. After logging in, go to Initialize and tick “Upgrade system packages”.
1
Forget the old host key
Read-only
ssh-keygen -R YOUR_SERVER_IP
Expect: Run on your own computer. The new system has a new host key, so SSH otherwise refuses with "REMOTE HOST IDENTIFICATION HAS CHANGED".
2
Log in to the new system
Read-only
ssh root@YOUR_SERVER_IP
Expect: Installation usually takes a few minutes. If it does not answer after 15–20 minutes, watch progress in the provider VNC console. Add -p PORT if you changed the SSH port.
Install failed? SSH stays reachable in the installer for manual rescue, and non-Debian targets can run /trans.sh alpine to fall back to Alpine. See the upstream README.