Question

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
Answer a question...

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.

alexdo
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

https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-20-04-focal-fossa

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.

https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-22-04

https://www.digitalocean.com/community/tutorial_series/how-to-migrate-to-a-new-linux-server

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

https://www.digitalocean.com/community/tutorials/how-to-copy-files-with-rsync-over-ssh

Hope that this helps!