Jump to content

Recommended Posts

Posted

I have purchased some dynamic cloud hosting and imaged it to Ubuntu 8.04 LTS- the latest Ubuntu OS available from the host.

 

I've been trying to upgrade it to 9.10 via SSH but had several unsuccessful attempts where I've had to start again.

 

I've been trying to update within the version and then do-release-upgrade from the most up to date subversion, after do-release-upgrade reboot I lost the ability to connect to the server via SSH.

 

Similarly just doing do-release-upgrade without the apt-get upgrade broke the server between 9.04 and 9.10.

 

Can anyone give me any advice on upgrading within SSH?

 

Sadly waiting for 10.04 LTS on 29th April isn't really an option at the moment.

Posted

If your using server edition:

 

Network Upgrade for Ubuntu Servers (Recommended)

 

 

Install update-manager-core if it is not already installed:

sudo apt-get install update-manager-core

Launch the upgrade tool:

sudo do-release-upgrade

Follow the on-screen instructions.

  • Thanks 2
Posted

That is in fact exactly what I'm doing.

 

I have on several attempts rebooted when prompted and found I subsiquently could not SSH into the machine. I could ping it but not SSH.

 

Even allowing half an hour for boot it was unavailable.

 

Where I may be going wrong is opting to package maintainers versions instead of the default action of keeping the file on the computer.

 

Other that I'm at a loss as to why I'm losing server access.

Posted

I take it you don't have out of band management of the system to see what is happening here?

 

I can run through a 8.04-LTS to 9.10 upgrade here in a VM if you want me to see if I get the same issues?

 

Can you issue dpkg -l > blah.txt and PM/email me the content of this so I can be running the same apps you have.

Posted (edited)
Can you telnet onto the box at all? Or are you in any position to attach a screen and see what error messages are cropping up? Edited by painejake
Posted

Vanilla image, that's why it's so baffling.

 

Are you looking for screenshots showing the failed connection attempts or taken during the upgrade?

Posted (edited)
Are you looking for screenshots showing the failed connection attempts or taken during the upgrade?

 

If you could get any errors that output through the upgrade it could help alot (However re-reading it would be hard to attach a screen to the cloud ;))

 

Im sure i have read about some issues upgrading to 9.10 via ssh on the ubuntu forums let me see if i can dig up the posts again..

 

Edit: Btw could you telnet into it at all?

 

This any help too? http://alestic.com/2009/10/how-not-to-upgrade-to-ubuntu-910-karmic-on-amazon-ec2

Edited by painejake
  • 4 months later...
Posted

I'm glad to see someone has exactly the same problem as me. Now I am trying to upgrade from 8.04LTS to 10.04LTS on my cloud server but loose all connection to the box even though status says online. As the only way I can control it is via ssh the only thing I can do is a remote reformat to 8.04LTS. I can then ssh into the box and try the upgrade again but each time I loose ssh.

Can anybody help please.

Chris

Posted

Could it be that its just not auto-starting the SSH service after it does the upgrade?

 

Perhaps manually adding it to the start up after the upgrade finishes but before you reboot?

 

Have you checked the ubuntuforums.com to see if this is a common issue?

Posted
Now I am trying to upgrade from 8.04LTS to 10.04LTS on my cloud server but loose all connection to the box even though status says online.

 

What virtualisation system does your cloud providor use? Many (e.g. Amazon) use Xen, with Linux running as a "paravirtualised" VM. This requires a Linux kernel compiled with Xen support. 2.6.18 and 2.6.26 are commonly available (because they're available from Debian), but Ubuntu 10.04 requires a newer kernel version, otherwise you get an error on boot and it drops in to busybox (so your VM still looks like its running, but it isn't really doing anything). I just solved this problem by using Debian instead of Ubuntu for our virtual machines, which probably doesn't help you much.

 

--

David Hicks

Posted

Does seem to be a kernel problem. All versions of Ubuntu up to and including 9.1 will run on the default kernel, 2.6.27.39-20091124a .

Any other kernel seems to stop the server booting.

Any image above 9.1 will not work at all.

Chris

Posted
Does seem to be a kernel problem.

 

Is there anywhere that hosts newer Xen-enabled kernels, or do we have to compile our own? Is there a guide / easy-to-use system for compiling your own Xen-enabled Ubuntu kernel, and does anyone know how much diskspace it takes to do so?

 

--

David Hicks

  • 1 month later...
Posted

The problem I found (and sorry for the slow response- I've left schools in favour of Local Government employment) is that the 1&1 custom repositories either seem to be corrupted or altered with custom packages that simply do not work with later versions. As 1&1 don't support later versions I guess that's not a huge surprise.

 

The pages https://help.ubuntu.com/community/Repositories/Ubuntu and https://help.ubuntu.com/community/Repositories/CommandLine may be useful to you. It is probably easiest to use an FTP client such as Filezilla to copy and paste standard repositories from a local reference source (but these MUST match the version of the OS in use at the remote site- you need to upgrade incrementally to reach the latest version- although you can upgrade directly between LTS versions), otherwise you can try Googling for a list on the net.

 

If necessary a local reference copy in VMWare Server/Virtualbox will provide you with the standard list and be a useful test bed before you roll out changes to your "live" server.

 

As always- backup, backup, backup again and then backup the backup.........

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...