How to best upgrade Wordpress LEMP (php 7.2.24-0ubuntu0.18.04.13) to 20.04?

I’ve followed all kinds of tutorials, have recruited outside help and yet I fail to achieve this.

Should I try to upgrade my existing droplet or should I make a new droplet with a 20.4 LEMP stack installed?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
July 17, 2022

Hi there,

We have a tutorial that covers the process in great detail which you can check here

However, since Ubuntu 22.04 is already available you might want to consider spinning up a new Ubuntu 22.04 droplet and then move your data across to the new droplet.

You can start with configuring the LEMP stack and once the droplet configuration matches your needs you can copy your data to the new environment.

You can use rsync to copy the files/folders to the Ubuntu 22.04 droplet.

Hope that this helps!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.