Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Brainmaniac's avatar

[Laravel Forge] Your server is running an older version of Ubuntu (16.04)

Each time I deploy new code (github->hook->forge) I get a warning in the log:

[Laravel Forge] Your server is running an older version of Ubuntu (16.04).
We recommend that you provision a new server and manually migrate your sites and resources.
You should not attempt to upgrade a server as this may have unintended side effects.

I will try and do this... BUT where can I learn to how to "manually migrate your sites and resources." ?

Any help is appreciated.

0 likes
7 replies
Sinnbeck's avatar

Just did this for several sites. What part are you struggling with?

Brainmaniac's avatar

hi @sinnbeck , I feel I have missed something.. It seems as if everyone knows how to do this? I have not been able to see any instructions in no docs 😞 - How do I go about it? Here is my guess:

  1. Make a new server with new site
  2. Manually take a DB dump from my current site
  3. Manually load it to new db
  4. Push repo to new server and site
  5. Change my DNS pointer

But I am worried... Between point 2 and 3 I might get new data in to old DB, this I will then lose.

And also when changing DNS pointer. Wont the change happen gradually over the world? So at some moment I will have users on both my new and old version of the site and with that users writing to different Databases?

Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

@Brainmaniac I get your fears. Slow it down and take it slowly. Make a dump now and make sure the new site running on the new domain address. Once you feel confident it works you get ready to move

Try moving over storage and db by doing it multiple times

  1. Set your ttl on the dns records to a low value (30 seconds)
  2. Put site into maintenance mode
  3. Dump db and move it over
  4. Same with assets
  5. Set new site in maintenance mode
  6. Change dns
  7. Check new site works (you can allow yourself to check the site. Check docs)
  8. Take the new site out of maintenance mode. Leave the old one
  9. Change dns ttl back to the original value
  10. Pop the champagne
1 like
Brainmaniac's avatar

Haha ok, thanks for walking me through this @sinnbeck ! ❤️

I am looking forward to that 🍾

Sinnbeck's avatar

@Brainmaniac happy to help. Hope you get it working. One of mine was also an upgrade from php 5.6 to 7.4, so I'm sure you can do it!

Feel free to ask again if you encounter any problems

Brainmaniac's avatar

@Sinnbeck thanks for support. Did it yesterday! It work quite well... a small misstake lead to some short outage.. I forgot to create the SSL certificate before I change the DNS..

Please or to participate in this conversation.