AdminBolt 1.9.5: WordPress Staging and Safe Updates, Overrides for One Account and More of the REST API

·AdminBolt team·5 min read

AdminBolt 1.9.5 is out. WordPress Management can now create a staging copy of a site and try to roll back an update that breaks it. You can change the features and limits of one hosting account without touching its package. The REST API now covers backups, the firewall, SSH access and the server's own settings.

WordPress staging and safe updates

WordPress Management creates a staging copy of a site at staging.<domain>. The copy can be pushed to the live site as files, the database or both. The live site is backed up before the push.

Core, plugin and theme updates now back up what they replace. When the panel finds that an update failed or broke the site, it tries to roll the update back automatically. This applies to updates started from WordPress Management and from the API.

An Automatic updates tab sets how each site is kept up to date. The page also has an XML-RPC switch and a page cache card. Where the server cannot switch XML-RPC, the page says so.

Overrides for one account

Edit Account in the admin and reseller panels can now turn single Feature List features on or off for one account. It can also override the disk space, addon domain, subdomain, parked domain, mailbox, database and FTP limits. The hosting package stays as it is. View Hosting Account shows each override next to the package value. The admin and reseller APIs read and set the same overrides.

Resellers can also be kept from turning on SSH access for their accounts. Reseller permissions on the Resellers list sets the default. Each reseller's edit form can follow it, allow SSH or forbid it.

More of the REST API

The admin API now backs up and restores accounts, restores deleted accounts and manages backup destinations and policies. Resellers can back up and restore their own accounts over the API. Clients can restore a mailbox or a mail folder.

The admin API also manages firewall rules, SSH Access and the login protection settings. The pages and the API guard against changes that would lock the administrator out of the panel or SSH. Server settings are covered too: the hostname, nameservers, DNS resolver, time zone, service restarts and the Watchdog. External migrations can be run, paused, resumed and cancelled over the API.

On the client side, the API manages autoresponders, catch-all addresses, mail routing and Remote MySQL hosts. It can turn SpamExperts or MailChannels filtering on and off for each domain.

Admin API keys get a new permission, Allow writes that run commands as root. It is off by default. Admin panel sign-in links need their own grant on the key. The administrator sign-in button of the WHMCS module uses such a link. LVE Manager tokens over the API need their own grant too (CloudLinux Only). If your scripts use an existing key for such changes or links, select the permission or the grant on that key after the upgrade.

Installation and sign-in

New servers can be installed without mail, DNS or FTP. Run install.sh --without=mail,dns,ftp. Health then shows the left-out services in grey, without warnings. Their pages are hidden in the client panel.

Root can now sign in to the admin panel with the server root password. It is on when a new server is installed. The setup wizard recommends turning it off, but you can keep it on. On upgraded servers, it is off unless an administrator set it before. Settings > Admin Management turns it on or off. If you cannot sign in, the sign-in page lists the ways back in.

bolt-cli admin-sso-generate --first-admin=<name> names the first administrator of a new server. That administrator sets their own password in the setup wizard. New installs set up only PHP versions that still get security fixes. PHP Versions marks end-of-life versions before you install one.

Mail, DNS and databases

Outbound Relay can now send mail through the relay for selected recipient domains only. All other mail is delivered directly. Settings > DNS Settings sets a default TTL for new DNS records. A New accounts switch under SSL > AutoSSL decides whether new hosting accounts start with AutoSSL. Mail from hosted subdomains passes DKIM checks once its DNS is in place.

The panel also manages servers whose database is MySQL 8.0, also with MySQL Governor.

Smaller things you may notice

When an update stops before it finishes, System Updates shows it and offers Repair and finish the update. The page also shows the number of pending package and security updates. Firewall rules accept port ranges such as 2000-3000. The external migration wizard shows the source server's fingerprint and asks you to approve it. When the source does not fit on this server, the preflight shows the needed and free space, so you can pick the accounts that fit.

Servers without their own hostname certificate get a new certificate for the panel, mail and FTP, so mail and FTP clients may ask to accept it once.

Servers now send AdminBolt usage statistics, which you can review or turn off in Settings > System > AdminBolt usage statistics.

How to update

Upgrades run from the panel. Open Settings, then System Updates under System, check for updates and start 1.9.5 from there. New installs are one command:

curl -sSL https://get.adminbolt.com/install.sh | bash

Tell us how it goes

Tell us how 1.9.5 works for you on Discord or the community forum.

← Back to BlogMore in Releases