Updates

An update can break a site. jekcms runs each update in four steps: it takes a backup, applies the update, checks the site, and rolls the update back automatically if the site stops responding.

The updates screen showing current version, database version and PHP version
Current version, last check, and whether anything is waiting.

The overview

The top of the screen shows your core version, the database schema version and your PHP version. Support will ask for these three numbers first.

Below that you see either an available update or a note that you have the latest version. Check for Updates asks the update server immediately instead of waiting for the scheduled check.

What happens when you apply an update

First a backup of the files and the database is taken.

Then the package is verified. jekcms checks its signature and hash before it extracts any file, because an update channel that accepted unsigned packages could be used to attack every site that uses it.

After the files are in place, jekcms requests its own pages over HTTP and checks the responses. If the site keeps returning a server error, the update is rolled back automatically: the site is restored from the backup taken a few minutes earlier, and further update attempts are paused until you have seen the reason.

The automatic rollback matters because updates often run when nobody is watching. Without it, a failure might only be noticed the next day, when a reader cannot open the site.

History and rollback

The History tab lists every update with its result. You can also roll back an update yourself from here. If something smaller broke, such as a theme detail or a plugin that no longer works with the core, you do not have to wait for a fix.

Release Notes shows what changed, with the same text published on the site.

When the update server cannot be reached

The automatic channel does not work behind a firewall or on a host that blocks outgoing requests. In that case, download the package from your account and upload it under Upload a Package. The backup, verification and rollback work the same way.

Be the first to know

New features, release notes and CMS guides. We send a couple of emails a month.