Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Dec 01, 2012 7:59 pm 
Offline
Senior Member

Joined: Wed Oct 29, 2003 12:27 pm
Posts: 50
Sorry for the vague question but ...

I have a Linode 512 happily running Ubuntu 10.04 LTS. I want to upgrade to 12.04 LTS because I need a newer PHP to run Symfony.

I'm reading this: http://library.linode.com/upgrading/upg ... 04-precise

and https://help.ubuntu.com/community/Preci ... mmended.29

For those who have done it recently, are there any gotchas that I should look out for?

I don't think I have anything particularly unusual running and anything critical has come from apt-get.

I have the Linode backup service so I will make a snapshot first.

I don't know why I thought this but somehow I had the impression that a clean install was only good way to go but upgrading certainly seems like a reasonable and much easier option.

Thanks


Top
   
PostPosted: Sat Dec 01, 2012 9:20 pm 
Offline
Senior Member

Joined: Mon Aug 31, 2009 2:33 pm
Posts: 78
Location: The OC
I upgraded a while back, and the biggest (only?) issue I ran into was php-fpm looking for the pool configuration files in a different place. That was somewhat expected though, since the php-fpm I was using on 10.04 was from a ppa. logwatch seems to be a bit different too, but I haven't really been motivated to look into it since it's still giving me the information I need.


Top
   
PostPosted: Sat Dec 01, 2012 9:51 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
Can't help you with the specific upgrade, but some generic advice: if you want to avoid downtime, you're better off doing the following. Get a new Linode the same size as your current one in the same datacenter, and clone the existing Linode. Perform the upgrade on the new Linode and fool with it until everything's working the way you want. Shut down external-facing services on the old Linode and copy over to the new one any changes in data since the clone was made (usually database files, but also mail and uploads, if you allow those). Switch the IPs between the two Linodes.

Now your new Linode will be running 12.04 and acting as your server. Once you're satisfied everything is OK, remove the old Linode. You'll be billed a little extra since you'll be running two Linodes instead of one for a day or two, but since charges are prorated it's not much of an expense.

The backup, upgrade, restore-if-a-problem-occurs method also works, but at the risk of more downtime.


Top
   
PostPosted: Sun Dec 02, 2012 4:53 pm 
Offline
Senior Member

Joined: Wed Oct 29, 2003 12:27 pm
Posts: 50
Thanks. It worked perfectly.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group