From 98ca932a3f078a56a4dd91c8f94039ccbc3f65dd Mon Sep 17 00:00:00 2001 From: "Michael S. Scaramella, Esq." <36650381+MSSEsq@users.noreply.github.com> Date: Wed, 14 Aug 2024 16:37:13 -0400 Subject: [PATCH] Update maintenance.html The instructions in the Mail-in-a-Box Maintenance Guide for restoring from S3 compatible backups did not work, so I updated and enhanced the instructions in a forked copy of the maintenance.html file. The instructions now work, and are clearer and more complete. Since I was editing the maintenance.html file, I decided to update it more comprehensively. This included updating the body to use UTF-8 character encoding, as specified in the header. I also updated the instructions for maintaining Ubuntu Linux to be easier for newer users who are still learning and becoming more comfortable with system maintenance. --- maintenance.html | 91 +++++++++++++++++++++++++++--------------------- 1 file changed, 52 insertions(+), 39 deletions(-) diff --git a/maintenance.html b/maintenance.html index 5e808f0..ddc6eee 100644 --- a/maintenance.html +++ b/maintenance.html @@ -9,11 +9,6 @@ - - - - - @@ -31,7 +26,7 @@
- < Back to Mail-in-a-Box + < Back to Mail-in-a-Box
@@ -68,12 +63,12 @@

Something Went Wrong!

  • Restart your box by logging in with SSH and then typing sudo reboot. Once the box has started up, check the System Status Checks page again.
  • -

    Please do these steps first. If you’ve done these steps, then head to the discussion forum to ask your question. In your post:

    +

    Please do these steps first. If you’ve done these steps, then head to the discussion forum to ask your question. In your post:

      -
    1. Describe the problem you are having. Instead of saying “it doesn’t work”, write the error message you see, post a screenshot, or describe what you are seeing that you don’t want to be seeing.
    2. -
    3. Mention that you “checked the status page, re-ran setup, and rebooted the box”, per the steps above, so that anyone answering knows what you have tried so far. If you don’t mention this, someone may ask you to do it before providing other assistance.
    4. -
    5. If everything in the System Status Checks is green, mention that by saying “all checks are green”. If something isn’t green, mention it.
    6. +
    7. Describe the problem you are having. Instead of writing “it doesn’t work,” write the error message you see, post a screenshot, or describe what you are seeing that you don’t want to be seeing.
    8. +
    9. Mention that you “checked the status page, re-ran setup, and rebooted the box,” per the steps above, so that anyone answering knows what you have tried so far. If you don’t mention this, someone may ask you to do it before providing other assistance.
    10. +
    11. If everything in the System Status Checks is green, mention that by saying “all checks are green.” If something isn’t green, mention it.

    If you figure out the problem on your own, you are also welcome to write up your experience on the discussion forum so that it might help others.

    @@ -84,9 +79,9 @@

    Multiple Domain Names

    Your box can host email and serve static websites for more than one domain name. To set up additional domain names, just follow three steps:

      -
    1. Buy an additional domain name if you don’t yet own it. See the Your Domain Name section of the setup guide for tips.
    2. -
    3. Configure its nameservers to be the same nameservers on your first domain name. Follow the Domain Name Configuration — Nameservers section of the setup guide for instructions.
    4. -
    5. Add an email account (user) or alias on your box for the new domain name using the control panel. If you only plan to serve a website, still add an email address or alias — that’s how the box knows to handle that domain name.
    6. +
    7. Buy an additional domain name if you don’t yet own it. See the Your Domain Name section of the setup guide for tips.
    8. +
    9. Configure its nameservers to be the same nameservers on your first domain name. Follow the Domain Name Configuration—Nameservers section of the setup guide for instructions.
    10. +
    11. Add an email account (user) or alias on your box for the new domain name using the control panel. If you only plan to serve a website, still add an email address or alias—that’s how the box knows to handle that domain name.
    @@ -96,22 +91,30 @@

    Updating System Software

    You should periodically update the system software on your box. The box will automatically install security updates as they are made available by Ubuntu, but your control panel will let you know if a reboot is needed or if non-security updates are available for you to install.

    -

    When indicated to do so, log into your machine with SSH (using the same ssh command that you used during setup) and then type:

    +

    When indicated to do so, log into your machine with SSH (using the same ssh command that you used during setup) and then run:

    -
    sudo apt-get update && sudo apt-get upgrade
    +
    sudo apt-get update && sudo apt-get dist-upgrade
    -

    If prompted to reboot, type:

    +

    If prompted to reboot, then run:

    sudo reboot
    -

    We will post security advisories to our twitter account @mailinabox, the announcements section of the discussion forum, and our Slack chat (see the homepage).

    +

    If apt-get dist-upgrade reports that “packages have been kept back” then those packages are being released in Phased Updates. If you want your system to be updated with held back packages without waiting for the Phased Update process to complete, for example because an update is expected to fix a problem, then copy the listed names of the held back packages that should be updated and run:

    + +
    sudo apt-get install pasted-names-of-the-held-back-packages
    + +

    Occasionally, after updating Ubuntu, run:

    + +
    sudo apt-get autoremove && sudo apt-get autoclean --yes && sudo apt-get check
    + +

    We will post security advisories to our Fosstodon account @MailInABox, the announcements section of the discussion forum, and our Slack chat (see the homepage).

    Upgrading Mail-in-a-Box

    -

    You should move to the latest Mail-in-a-Box release as releases are posted, especially if an update addresses any security issues, although you do not necessarily need to do so. We will post release announcements to our twitter account @mailinabox, the announcements section of the discussion forum, and our Slack chat (see the homepage).

    +

    You should move to the latest Mail-in-a-Box release as releases are posted, especially if an update addresses any security issues, although you do not necessarily need to do so. We will post release announcements to our Fosstodon account @MailInABox, the announcements section of the discussion forum, and our Slack chat (see the homepage).

    -

    Check the release notes prior to updating to see what’s been changed in the latest version.

    +

    Check the release notes prior to updating to see what’s been changed in the latest version.