I am going through the process of setting up a new server, in order to have a newer version of Ubuntu (22.04). The old server is on 18.04.
I understand it is necessary to set up a new server, as Cyberpanel will break if we try to do a distribution upgrade. So that’s what I am doing.
I also understand I should be able to use the Remote Backups tool to migrated the sites from old server to new server.
I have tested with one site, and it does not work. The list of sites fetches okay. But then when I migrate a site, initially this appears in the output box: cat: /home/backup/transfer-1229/backup_log: No such file or directory
. Then after some time an error displays, as follows:
############################ Starting remote Backup Start date: 05.07.2024_10-00-27 ############################ [05.07.2024_10-00-29] Connection to:[NEW SERVER IP - REDACTED] Failed, please resetup this destination from CyberPanel, aborting. [5010]
So it seems it can’t connect to the new server, even though that’s the one I am on and initiating the transfer on.
UPDATE: Looking in the logs of the source (old) server, I see the following related errors:
[05.07.2024_09-54-42] Remote Server is not able to authenticate for transfer to initiate, IP Address:[NEW SERVER IP - REDACTED]
[05.07.2024_09-57-13] https://api.github.com/repos/usmannasir/cyberpanel/commits?sha=v2.3.5
[05.07.2024_10-00-23] port on server B-------------- 22
[05.07.2024_10-00-29] Remote Server is not able to authenticate for transfer to initiate, IP Address:[NEW SERVER IP - REDACTED]
[05.07.2024_10-11-29] port on server B-------------- 22
[05.07.2024_10-11-34] Remote Server is not able to authenticate for transfer to initiate, IP Address:[NEW SERVER IP - REDACTED]
It seems odd that it’s having an authentication error, when it successfully authenticated in order to fetch the list of sites.
Can anyone suggest why this is happening, and what to do about it?
Thank you.