{
  "app": "WebPortico",
  "version": "0.22.0",
  "sections": [
    {
      "heading": "Major",
      "lines": [
        "[B]Port forwarding on the router:[/B] a new card on the Front server and ports page. WebPortico can keep the ports you list open on your router with PCP, NAT-PMP or UPnP, as Rtorrent 16 does: it asks again every 5 minutes while it runs and removes its forwards when it stops. A port the router already forwards to another device or program is left alone. With a UniFi gateway, the card lists, adds and removes the gateway's port forwards and IPv6 firewall rules through an API key; every change is previewed first and made after the gateway's own backup, and Undo these changes reverses it. Move to this NAS points another server's forwards and IPv6 rules at this NAS.",
        "[B]A watchdog:[/B] every 20 seconds WebPortico checks each service of the stack and starts one that stopped on its own again (nginx, httpd, each site's PHP, Valkey, memcached, the panel and the optional services), with a pause that grows to 5 minutes. A database's log is read first: damaged data or too little disk space leave it stopped; otherwise it gets one start with its own crash recovery and a check of every table. Each event is a line in the watchdog's log and a QTS notification.",
        "[B]A disk guard:[/B] on a volume with a database, a warning below 20 GiB (or 10 %), the databases read-only below 8 GiB (5 %; the sites still show their pages), a clean shutdown below 4 GiB (2.5 %), and a start again at 6 GiB (3.5 %), with the tables checked. The databases' settings that can damage their files after a power cut are checked after every start and once a day."
      ]
    },
    {
      "heading": "Minor",
      "lines": [
        "A clean stop: the front first, then PHP, the caches and the databases, which shut down cleanly and are never killed. Whatever of WebPortico's still runs afterwards is ended and named in the log.",
        "The Services page lists the databases and caches with the watchdog's state, Start, Restart and Stop, the disk space of each volume, the databases' safety and the newest backups.",
        "Let's Encrypt: a failed renewal is tried again after 1, 2, 4 and 8 hours, then every 12; the TLS page shows the last renewal, the next attempt and the days left.",
        "A UniFi gateway accepts UPnP's requests to open an IPv6 port and still keeps the port closed. With UniFi, open IPv6 ports with the IPv6 firewall rules in the card's UniFi section.",
        "Nothing changes on your router until you add a port or apply a change."
      ]
    }
  ]
}
