Child pages
  • Upgrade guide
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

This page guides you through an upgrade of CONTENIDO. For an installation, please have a look at this guide.


Upgrade to version 4.9 are only supported from the latest version of CONTENIDO 4.8. Direct upgrades from earlier versions (such as 4.6) are not supported and not recommended! Please upgrade your installation to the latest release of version 4.8 before doing the upgrade to version 4.9.

Important information for upgrade from version 4.8

If you are upgrading from version 4.8 make sure, you have the latest version installed.

An upgrade from version 4.8 is not done within a few minutes!

In version 4.9 many of the old classes are not available and therefore interrupt your web page (for an overview of technical changes please have a look here).

You should install a local copy of your web page and then fix your modules and plugins.

Trouble during upgrade?

If you have any trouble during the upgrade, the community in the support forum at may can answer your questions.

Recommendation for upgrades

It is highly recommended that upgrades from an earlier version (especially from version 4.8!) are done local (or one a second installation) and not on the production system, as many fixes and changes might came along with the upgrade depending on the amount of modules and plugins used in the system.

When you are done with the upgrade on your local system, you can replace your productive installation with the local installation. 


Doing an update on a local or second system has the major advantage that your productive page is only a few minutes not reachable and you can take as long as you want doing the upgrade. Especially on upgrade from version 4.8 this is very useful, as fixing all old functionality may take some time.

However, as an update can take a long time, you must ensure, that no new content is being added to the page once you have taken a backup of all files and the database. Otherwise, the replace of your local installation also would replace any content entered in the meantime.

To shorten the maintenance time of the page you could take another backup of database and files on the day, you are performing the upgrade of productive system. Take care, that you are doing all steps according to the guide, to prevent any mistakes.

Checks before upgrade

Upgrading to another version of CONTENIDO can change the systems behaviour. Thus, modules and plugins must be checked. Please have a look for compatibility of all plugins you are using. Especially on upgrades from version 4.8 the author of the plugin must offer a version that works with version 4.9. Plugins of version 4.8 definitely do NOT work with version 4.9 because the plugin system was changed. Chains should work as before.

Create a backup of filesystem and database

The very first step of a upgrade is the backup of ALL existing files of your web page (including all clients with their uploads and so on) in the filesystem and of course the whole database. 


It is highly recommended doing a backup of all stuff to restore your page if upgrade process fails. If you are not performing a backup of your installation you might can not restore your old installation if anything went wrong. This can cause irreparable content loss!

Download and unzip latest version of CONTENIDO

Get a copy of the latest download release archive from the website Do not use other sources for downloads! Unzip the archive to a destination of your choice on your computer.

Prepare client folder(s) for upgrade


If you are performing the upgrade on your productive system you should ensure that from now on all requests are redirected to a maintenance page or so, because the frontend now gets affected and would display errors.

Delete the following resources (if existing) in the client folder(s) of your installation:

  • Directory includes
  • dbfs.php
  • error.php
  • front_content.php
  • index.php

Replace previous system files

Rename all directories by appending the suffix "_old" to the directory name, excepting "data" on installations where this folder already exists.

Then upload all directories from your unpacked download archive in this directory.


If you have multiple clients or your clients directory name is not "cms" you have to replace the files in all other client directories, too.

Executing upgrade interface

Open the upgrade web interface by visitting "setup/" of your installation. 


Once again make sure you have a copy of your database backupped because the database now gets affected.

Choose setup type "upgrade" and proceed with the upgrade. 


When you are asked for entering the database credentials you must use the same as the old installation. Otherwise the upgrade fails. 

Test backend login after upgrade

If the upgrade process was successful, try to login into the backend with your previous password. Please delete any content of your browser cache before to avoid display problems.

If you have installed custom plugins in the system, it may occur, that the backend header displays an error message. As long the plugins must be ported to the new plugin syntax (see below) these errors should be fixed then.

When you encountered any problems during update, please have a look into our support forum on Maybe other persons did have the same problem and you can find a solution for this problem there.

Moving configuration files

When you upgrade from version 4.8 you must move the configuration files stored in the root directory of your client to the folder data/config. Do not miss other local configuration files such as config.local.php and config.after.php!

If you had changed configurations for the backend, you must apply them to the new configuration files in data/config/ENVIRONMENT. We recommend you to use the config.local.php, so you must not modify any core files.

Fixing usage of removed functionality

Every time an update removes deprecated functionality (such as an upgrade from version 4.8) you must check your modules and plugins for outdated functionality. If you do not, backend and frontend will behave uncorrectly.

If the version you are upgrading to has any removed outdated functionality you can check in the Changelog area. For upgrade from version 4.8 please have a look at this page.

Please keep in mind, that plugins have other structure in version 4.9 and may not work immediately after update. It belongs to the plugin author to advise you what to do on upgrading the system.

Cleaning up and finish upgrade

Once you have downloaded a local copy of the filesystem backup you can delete any folder which is suffixed with "_old". These folders are not needed any longer.

Deactivate maintenance mode if activated, your website now should be running with the new version. 

Replace productive installation with upgraded system

On top of this guide we recommended you to do the upgrade local. The changes made to your system now must be transferred to the production system. You must replace all files in the filesystem and import the whole database.


Do not forget to set the write permissions for folders and files. You can check correct permissions in the system integrity check in the backend.

Restore an old installation on upgrade failure

To restore the old installation when upgrade failed you have to delete all directories, which are NOT suffixed with "_old" and remove that suffix from all directories. Additionally, you must overwrite the database with your backup.

Maybe it is necessary to delete your browser cache.

  • No labels