Just did this for several sites. What part are you struggling with?
Nov 25, 2021
7
Level 2
[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.
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
- Set your ttl on the dns records to a low value (30 seconds)
- Put site into maintenance mode
- Dump db and move it over
- Same with assets
- Set new site in maintenance mode
- Change dns
- Check new site works (you can allow yourself to check the site. Check docs)
- Take the new site out of maintenance mode. Leave the old one
- Change dns ttl back to the original value
- Pop the champagne
1 like
Please or to participate in this conversation.