distrorejuveby RimuHosting

Sample upgrade reports

Two reports from one fictional job: the assessment you get before deciding, and the handover you get after the switch.

Server web1.example.invalidExample job UPG-EXAMPLE

Assessment report

We recommend upgrading a copy of web1.example.invalid to Ubuntu 24.04 LTS.

Ubuntu 16.04 no longer gets standard security updates. Your ordering app’s invoice code needs changes before it can run on a current PHP. On a copy, we can test your developer’s fix while web1 keeps taking orders. When you approve, the upgraded copy, web2.example.invalid, takes over.

Route
Upgrade a copy
Ordering pause
About 30 minutesEstimate, confirmed after a rehearsal
Waiting on you
5 questions

What’s running today

ServiceWhat we found
www.example.invalidWordPressThe home and contact pages load over HTTPS. WordPress can’t update past 6.5 until PHP is upgraded.
orders.example.invalidCustom ordering appThe sign-in page loads over HTTPS. Orders are stored in MySQL. A nightly job emails PDF invoices to customers.
mail.example.invalidStaff emailReceives mail for example.invalid and holds 12 staff mailboxes.
Scheduled jobs To checkWe found the nightly invoice job. You mentioned a weekly stock import, but it doesn’t run on web1. We need to know where it runs (question 4).

Routes we considered

RouteHow it fits your server
Upgrade a copy Recommendedweb1 keeps taking orders while we upgrade the copy and test the invoice fix on it. The switch needs a short ordering pause and a final data transfer. web2 gets a new IP address.
Upgrade web1 in placeKeeps the current IP address. The four release upgrades and the PHP change would run on the live server, with several restarts. The invoice fix could only be tested after PHP changed.
Move to a clean serverA fresh Ubuntu 24.04 server, with the sites and mail set up again and the data moved across. It skips the old release steps but needs more rebuilding and checking. This is our fallback if a release upgrade fails on the copy.

If a supplier or service can only use web1’s current IP address, we would look again at upgrading in place.

Risks and how we’d handle them

RiskWhat we’d do
Invoices fail on the new PHP Developer neededThe invoice code uses a PHP function that PHP 8 removed. Your developer updates it. We deploy the fix to web2 and test an order through to the emailed PDF. If you’d like us to make the change, we’ll quote it separately.
Customers get invoices twice IncludedScheduled jobs and outgoing mail stay off on web2 until the switch. We turn off web1’s invoice job before we turn on web2’s.
Orders or mail missed at the switch IncludedWe pause ordering, copy and check the latest orders, uploads, and mail, then change DNS. We move any mail that still reaches web1.
A supplier rejects the new address Your checkYou check with any supplier that only accepts known IP addresses. We send you web2’s address early so they can add it.

What we would do

  1. Prepare recovery. We take a server image and a MySQL export of web1 and test that both restore. We confirm we can reach web1’s console if it stops responding.
  2. Build and upgrade the copy. We restore the image as web2, with its scheduled jobs and outgoing mail off. We upgrade it one Ubuntu release at a time and check the sites and mail after each.
  3. Update the applications. We deploy your developer’s invoice fix and update WordPress to its current release. We place a test order and open its invoice PDF.
  4. You test web2. We send you test addresses. You or your developer check what matters to you while web1 carries on as normal.
  5. Rehearse and agree the switch. We time a rehearsal of the final data transfer, then agree a switch time with you.
  6. Switch and hand over. We pause ordering, transfer the latest data, point DNS at web2, and turn on its invoice job. We check everything again and send you the handover report.

Pause. We estimate a 30-minute pause in ordering and will confirm it after the rehearsal. The websites stay up and mail keeps arriving.

Costs. Your quote will list the agreed work, web2’s hosting, and anything quoted separately, such as code changes. Keep web1 until the recovery period in the quote ends.

Questions for you

Please reply with the question numbers. “Not sure” is a fine answer.

  1. Who will update the invoice code, and when could they start? Or would you like a quote from us?
  2. Who will test web2 and approve the switch?
  3. Who manages DNS for example.invalid?
  4. Where does the weekly stock import run? Does it, or any supplier or service, connect to web1 by its IP address?
  5. How long can ordering pause, and when is your quietest time? Please include your time zone.
Technical findings and proposed versions
ComponentCurrentProposed
Ubuntu LTS16.04, 64-bit24.04, 64-bit
Website PHP7.08.3
MySQL5.78.0
Postfix / Dovecot3.1 / 2.23.8 / 2.3

Release path. 16.04, 18.04, 20.04, 22.04, then 24.04. Ubuntu upgrades one LTS release at a time. We restart and check services after each step.

Disk space. web1 uses 24 GB of its 40 GB disk, and the MySQL export is about 3 GB. We’ll size web2 for the release downloads, the export, and a rollback copy.

PHP. The invoice library calls each(), which PHP 8.0 removed. The active WordPress theme and plugins list support for PHP 8.3.

MySQL. The 20.04 step moves MySQL to 8.0. Before that step, we run MySQL Shell’s upgrade checker on web2. Afterwards, we confirm the ordering app reads an existing order and saves a new one.

Mail. Postfix and Dovecot keep their settings. Dovecot 2.3 replaces some TLS settings, which we update during the release steps.

Read the handover for this job ↓

Live server web2.example.invalidExample job UPG-EXAMPLE

Handover report

Your websites and staff email now run on web2.example.invalid.

We upgraded a copy of web1 to Ubuntu 24.04 and switched to it. Ordering paused for 18 minutes. Please check the first scheduled invoice run and reply to confirm, so we can close the job.

Upgrade work
Complete
Live traffic
web2.example.invalid
Your sign-off
PendingYour check of the first invoice run

What changed

  • Ubuntu 24.04 LTS, PHP 8.3, and MySQL 8.0 now run your sites and mail.
  • The ordering app runs your developer’s invoice fix. WordPress is on its current release.
  • web2 has a new IP address, 203.0.113.20. Your suppliers and the weekly stock import now use it.
  • Staff keep the same mail settings and passwords.

What we checked after the switch

ServiceResult
www.example.invalidWordPressPassed The home and contact pages loaded over HTTPS on desktop and phone. A contact form message reached the staff mailbox.
orders.example.invalidCustom ordering appPassed We placed a test order and found it in the order history. The invoice email arrived and its PDF opened. We then cancelled the test order.
mail.example.invalidStaff emailPassed We signed in to a test mailbox, then sent and received a message from outside. All 12 mailboxes moved across.
Scheduled jobsPending The nightly invoice job is on for its first run on web2. Please compare those invoices with your records.

How the switch went

With your approval, we paused ordering on web1 and turned off its invoice job. We copied the latest orders, uploads, and mail to web2, checked them, and changed DNS. Ordering reopened on web2 after 18 minutes, against our 30-minute estimate. Three messages reached web1 while DNS updated, and we moved them into the right mailboxes. Otherwise, the switch followed the agreed plan.

What happens next

  • You. Check the first nightly invoices and reply to confirm. That completes your sign-off. Keep web1 until the seven-day recovery period in your quote ends. We’ll tell you when it’s safe to cancel.
  • Us. We confirmed web2’s first scheduled backup and removed our temporary access from both servers. Until the recovery period ends, web1 keeps its data with ordering and invoices off. If we had to switch back, we would first copy the orders, uploads, and mail created on web2 to web1.
Technical findings and verified versions
ComponentBeforeVerified after
Ubuntu LTS16.04, 64-bit24.04, 64-bit
Website PHP7.08.3
MySQL5.78.0
Postfix / Dovecot3.1 / 2.23.8 / 2.3

After reboot. We restarted web2 and confirmed that Apache, PHP 8.3, MySQL 8.0, Postfix, and Dovecot started without help.

Applications. On the new versions, the ordering app opened an existing order and saved a new one. WordPress loaded its admin pages without PHP errors.

Recovery. Before the upgrade, we restored web1’s image and MySQL export on a test server. web1 stays available for recovery until the recovery period ends.

Back to the assessment ↑