2.4.5: restart, pause and stop, and three older bugs
, by the developer of PanelCP
Version 2.4.5 adds three buttons to every website in a container. They are in the list of websites and on the website's page.
Pause or stop
| Website | Its databases | Scheduled tasks | Visitors | |
|---|---|---|---|---|
| Restart | starts anew | start anew | run | a short interruption |
| Pause | frozen, keeps its memory | keep running | wait | "temporarily unavailable" |
| Stop | off | off | wait | "temporarily unavailable" |
Pause is for looking into something while nobody changes the data: the website stands still and you can open the database. Stop frees the memory. Visitors get status 503 in both cases, which tells search engines to come back later instead of forgetting the page.
The choice survives a reboot, an update and changed settings. Files, SFTP, FTP, backups and certificate renewal keep working. If a backup needs the database of a stopped website, it starts the database for the dump and turns it off again.
The bug that mattered most
Switching the front web server could hang for good, with every website offline. The panel looks after the extra IP addresses every five minutes, and systemd starts web servers only after that check has finished. If the check began in the middle of a switch, it waited for the switch to release the panel's lock, and the switch waited for systemd to start the new web server.
The check no longer waits for the lock. It only ever adds missing addresses, which is safe at any moment.
Two more
- The weekly rebuild of images started the websites of suspended accounts again. Visitors did not see them, but they ran.
- Behind lighttpd, websites of suspended accounts answered 403 instead of 503, and their certificates could not be renewed. lighttpd cannot answer with a status you choose, so the panel now points such a website at a port where nothing listens. That gives a clean 503, and the folder for certificate checks is left out of it.
What comes next
Version 2.5 is in the works: deploying from Git, a test copy of a website that can go live with one button, encrypted backups to S3 or SFTP with an automatic restore test, messages by e-mail and Telegram, and a simple virus scan.