Faveo Black Friday 2026 – Server Update & Health Check Script

⚠️ STRICTLY FOR INTERNAL USE ONLY This script is for the Faveo team only. Do not share it, its link, or its output with customers or anyone outside Faveo.


1. Download the script

Log in to the server as root (or a user with sudo) and run:

wget https://raw.githubusercontent.com/faveosuite/faveo-server-images/master/scripts/black-friday/faveo-blackfriday2026.sh
chmod +x faveo-blackfriday2026.sh

2. Run the script

sudo ./faveo-blackfriday2026.sh              # normal run - asks before making changes
sudo ./faveo-blackfriday2026.sh -y           # no questions - uses defaults
sudo ./faveo-blackfriday2026.sh --banner-only  # banner + OS and performance check only, no changes
./faveo-blackfriday2026.sh --help            # show all options
Option What it does
-y, --yes Runs the update and hardening without asking (unused packages are only listed, never removed)
-b, --banner-only Shows the banner, OS check and performance check only. Skips update, hardening and health check
-h, --help Shows help and exits

Supported OS: Ubuntu, Debian, RHEL, Rocky Linux, AlmaLinux, CentOS, Fedora. Recommended versions: Ubuntu 24.04, Debian 12/13, RHEL/Rocky/Alma 9/10 (older versions show a yellow warning).


3. How it works

The script runs inside a screen session called faveoblackfridayoffer, so it keeps running even if your SSH connection drops. To reconnect: sudo screen -r faveoblackfridayoffer

It goes through these steps:

  1. Banner + OS check – Shows the Faveo Black Friday banner and checks if the OS version is supported.

  2. Step 1 – OS update – Asks “Do you want to execute the system update now?” and then updates the packages (apt, dnf or yum – chosen automatically). After that it cleans the package cache. Unused packages are listed and removed only if you say yes. It also tells you if a reboot is needed.

  3. Step 2 – Performance check – Checks the server specs:
    • vCPU: minimum 4, recommended 8
    • RAM: minimum 8 GB, recommended 16 GB
    • Warns if RAM usage is above 80% or disk usage is above 50%
  4. Step 3 – Server hardening – Finds the Faveo site config (Apache: faveo-ssl.conf, Nginx: faveo.conf) and applies the hardening settings from the Faveo docs.
    • Only the Faveo site is changed – other sites are not touched.
    • It shows you the file and the changes first and asks for confirmation.
    • A backup is taken (<file>.bak-<date-time>), the config is tested before restart, and the backup is restored automatically if anything fails.
  5. Step 4 – Health check – Runs all checks from the Faveo troubleshooting script: SSL, services, Faveo app info, cron, supervisor, SSH users, billing connection, root-owned files, ports, firewall, disk I/O, top processes, network, Faveo size, PHP config and extensions. It asks for the Faveo folder, domain, etc. (with -y defaults are used). This step only reads – it may install small tools like ioping, bc and openssl if missing.

  6. Summary – At the end a summary is shown on screen and saved next to the script as:
    faveo-black-friday-offer-summary-<date-time>.txt
    

    Finally, it asks if you want to delete the script (the summary file is kept).