It seems that you possibly installed both the remote.it device package and the CLI when you restored.
Do you really need the CLI or just the device package? The difference being that the CLI will allow your raspberry pi to make connections from that device to another device. If you only need to support inbound connections, then you just need the device package.
Once you determine that, then you can uninstall the extra package and install the correct one. If you just need to support inbound connections only, we need to uninstall the CLI by doing the following
# Remove remoteit directory
rm -rf /etc/remoteit
# Remove New CLI if exists
sudo remoteit uninstall --yes
# # Manually remove remoteit binary, sometimes the uninstaller fails to remove it
sudo rm /usr/bin/remoteit
# Remove Old CLI and device package if exists
sudo apt-get remove -y --purge remoteit
Then we will need to install the device package and re-register the device by restoring it. Run the following command, replacing xxxx with the restore code for the device.
R3_REGISTRATION_CODE="xxxx" sh -c "$(curl -L https://downloads.remote.it/remoteit/install_agent.sh)"
If you truly need the CLI, then uninstall the device package by running:
sudo apt purge remoteit
Then we will need to install the CLI and re-register the device by restoring it, run the following command, replacing xxxx with the restore code for the device.
R3_REGISTRATION_CODE="xxxx" sh -c "$(curl -L https://downloads.remote.it/cli/install_cli.sh)"