OS system error while trying to upgrade Linode?
Hello,
I noticed the following errors?
I understood that the OS needed to be upgraded?
W: Failed to fetch http://apt.vestacp.com/jessie/dists/jessie/vesta/i18n/Translation-en_US Unable to connect to apt.vestacp.com:http:
W: Failed to fetch http://apt.vestacp.com/jessie/dists/jessie/vesta/i18n/Translation-en Unable to connect to apt.vestacp.com:http:
W: Failed to fetch http://apt.vestacp.com/jessie/dists/jessie/vesta/binary-amd64/Packages Unable to connect to apt.vestacp.com:http:
E: Some index files failed to download. They have been ignored, or old ones used instead.
W: Failed to fetch http://apt.vestacp.com/jessie/dists/jessie/InRelease
W: Failed to fetch http://apt.vestacp.com/jessie/dists/jessie/Release.gpg Unable to connect to apt.vestacp.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Failed to fetch http://apt.vestacp.com/jessie/dists/jessie/InRelease
W: Failed to fetch http://apt.vestacp.com/jessie/dists/jessie/Release.gpg Unable to connect to apt.vestacp.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Failed to fetch http://apt.vestacp.com/jessie/dists/jessie/InRelease
W: Failed to fetch http://apt.vestacp.com/jessie/dists/jessie/Release.gpg Unable to connect to apt.vestacp.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Failed to fetch http://apt.vestacp.com/jessie/dists/jessie/InRelease
W: Failed to fetch http://apt.vestacp.com/jessie/dists/jessie/Release.gpg Unable to connect to apt.vestacp.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
2 Replies
Hello there,
I think I can provide some explanation for the errors you are seeing. The version of Debian running on your Linode have not received any updates over the past 2 years due to reaching the end of life. The servers that the OS would look to update from are no longer in service.
The best method to update your Linode's operating system is to deploy a new Linode with the version of the operating system you wish to upgrade to, then migrate over your data from the old Linode to the new by copying your data over. Once you're satisfied that things are working properly you can then swap the IP addresses from one Linode to the other and then remove the older Linode once everything is running smoothly.
I hope that helps!
"deploy a new Linode"
Yes is this a good method. There is one other thing you need to do. IF you are using your registry as your nameserver with an A record to your 'old' Linode IP address AND IF you have multiple website domains you want to transfer after you create the virtual hosts, and you transfer the code for each domain (and the database for it if necessary) don't forget to change the A record at your nameserver for that domain to point to the new Linode to test it.
If you only have one domain website for that new server, you can use the new IP to hit it… like xx.xx.xx.xx/my-domain.com , but if you have more than one domain (i.e. virtual hosts) the above won't work and you will need a DNS A record.
Maybe there is a better way, perhaps by using the Linode DNS services, but since I use my registry as the 'traffic director" for web traffic (A record) and domain mail (MX record) this is how I would do it… and sooner or later I'm going to have to move to Ubuntu 22.04 LTS.
I don't know one can use a Linode backup on a new version of Ubuntu. All I want is my data, not all the old Ubuntu stuff. I'm not really sure what a backup includes but I do pay for that service!