MODX EVO Update 1.0 to 1.2 Instruction. Modx Revolution Update

Now it's time to update this CMS.

The whole process will take you for a few minutes. Before installing, be sure to do, including its database. This is necessary in order to if something goes wrong, you can always return the site into its working condition.
Now download the archive with the last version MODX REVO.lUTion. From the official site, remove the files and download them to the server, replacing old files with new ones. To do this, use any-CLINT (I recommend Filezilla) or file manager in your hosting control panel. Make sure that the core / config / config.inc.php file and the Core / Components folder / were not overwritten.

It is time to start updating MODX REVO. Enter in the address bar:

Http://site.ru/setup/

First of all, you need to choose a language in the drop-down list. I choose "RU".

In step "Settings" select "Update an existing installation", although in theory it should happen automatically.

After several simple steps, which are reduced to pressing the "Next" buttons, you will find thanks for the installation and the "Login" button.

Do not forget to also make sure that all setup files Were removed from the server. This should happen in automatic modeBut I always prefer to recheck yourself.

Above, we completely disassembled the question of how to update MODX Revolution. I hope you will have no difficulty. But if you have questions, waiting for them in the comments. I will try to help everyone.

Unfortunately, the MODX Revolution control system does not provide the ability to conduct a CMS update procedure by pressing one button, as is done in WordPress and many other engines.

Therefore, at the initial stage of work in inexperienced users, difficulties are arising with maintaining CMS as an actual state. And to update it vital (for the site, of course) it is necessary.

IMPORTANT! Before starting the system update, make sure backup both site files and databases. In case of unsuccessful update, you can always return to the initial state.

The MODX Revolution update process is not much different from its clean installation to the server. The only thing you want to remember is - you should not delete or overwrite the file core / Config / config.inc.php.

1. Downloading the MODX installation package

We go to the official website of MODX.COM to the section " Download "And download the installation package. IN this section There is a standard version of the installer ( Traditional). Extended version ( Advanced) Slightly deeper - https://modx.com/download/other-downloads. Choose your CMS package.

2. Cleaning the site cache

In the administrative panel of the site, choose " Management - Clear Site Cache».

After the cache is clean, you complete all sessions: " Management - complete all sessions»

3. Download files to the server

Upload unpacked installation package files to our server. For package Advanced Folders are called core and setup.. There are only two of them. For a standard package ( Traditional) Folders are a little more.

File download can be done both through the FTP client and using the hosting control panel. If you do it through the control panel, you can download directly the archive, and the unpacking is already on the server. So it will be faster. Deleting cache files through the control panel will also save you time.

4. Running the update process

In order to update our engine, do the same as with scratch. Go to the address site.ru/Setup.And then recall the installation instructions. The only difference is the option not " New installation ", but " Upgrading an existing installation».

5. Checking update

At the end of the process, check whether the version number has changed in the administrative interface. If everything went successfully, update the additions previously installed. Naturally, only those that require updates.

Make sure the installation files from the server are deleted. This occurs in automatic mode. At the last stage of the installation, provided that the check mark on the removal of the installation package is not removed, but it is better to be reinforced and double-check.

The developer Bob Ray has created an add-on, designed to facilitate the Revo update procedure. You can find out more detail about this supplement on the page. It is the name that it has.

To speed up the work of your sites on MODX Revolution, it is recommended to proceed to use PHP 7. In some cases, the difference is visible even with a naked eye. The server response time is also reduced, by some data almost three times.

A week ago, a fresh release of MODX Revolution was released under version 2.7.0. Its exit has become a good reason to write instructions on updating this popular content management system. Immediately make a reservation that we will update the MODX Revolution manually, without the help of any plugins.

MODX Revolution still has no mechanism for installing updates a couple of mouse clicks. You can, of course, get out of the position by installing a special plugin. But today we will consider updating the MODX Revolution without installing additions.

MODX REVOLUTION 2.7.0 has the following system requirements:

  • PHP 5.5 or higher;
  • Mysql 5.5 or higher, MariaDB 10.1 or higher, Percona Server 5.6 or higher (to choose);
  • Apache 2.2 or higher, nginx 1.8 or higher (to choose);

Attention!

Be sure to back up the site before updating.

But before the backup it is desirable to clear the cache of the site. It is done in the menu Control.

After that, we make a backup of the site. Clearing the cache and the completion of sessions is needed in front of the update anyway, you make a backup or not.

Download the latest version of CMS from the official site. We need a version called ADVANCED DISTRIBUTION. You can download it on the page on this link. This version is cut compared to standard.

Upload files to the server, replacing the current. After that go to the page / setup /. First of all, choose language.

Installation wizard will start.

Select option Upgrading an existing installation. If you want to change the site parameters such as a database connection, the path to the control panel or the kernel, select Extended update.

The installation wizard will hold preseign tests after which you can run directly installation. After its successful completion, you will see such a message:

After the MODX Revolution update is completed, you will encounter a message that the kernel catalog in open access. How to fix it, you can read in.

Good time of day, dear readers. Today I will tell you how to update the MODX EVOLUTION system to latest version. In my example, I will update from version 1.0.5 to 1.0.14. I have already updated my sites to the last versions, but from 1.0.14 faced a problem. To be honest already and I do not remember what. Many where I was looking for detailed instructions Upon renewal on this version, but I did not find it. In the process of updating the site, which I needed, I wrote this article. We will act step by step:

1. We make backup files and databases

Best to do backup through the panel of your hosting company, as they create an archive and files are not lost there, but through FTP clients files can be lost

2. Download the latest version of MODX EVOLUTION

Here is the official page of the latest version of MODX EVO. Click on the button " Traditional", Archive jump starts. Unpack files on your desktop

3. Rename system folders

Rename folders assets. and manager. in assets_old. and manager_old. respectively. We do this in order to once again not pour these folders and files back if something goes wrong during the update process.

4. Save the config.inc.php file

Save to your desktop file config.inc.php.which lies in the folder manager (Well, now Manager_old) / includes of our site

5. Plive files to the server

From the downloaded archive pour folders assets., manager., install and files index.php. and index-ajax.php. In the root of our site on the MODX Evolution. Files index.php.and index-ajax.php.we replace.

6. CONFIG.INC.PHP file to the Manager folder

You need to pour a configuration file to a new Manager folder. config.inc.php with the configuration of connection to our database to allow the MODX installer that we make an update, and not a new installation

7. Open the site and click Install

Open main page our site and click on the link install Now.

8. We follow the update instructions

We'll see start page MODX Evolution Version 1.0.14 Installations (from June 5, 2014), choose Russian and click Next (Next)

9. Select the update of the existing installation

Since we poured into the folder manager. Configuration file. config.inc.php., we will already be automatically selected "Update"

10. Install all additions

Here we leave everything as it is, if only you have not renamed snippeps and plugins. If so, do not update, those add-ons that have made significant changes

11. Agree with the terms of the license and proceed with the installation


The program will check the capabilities of your server, and you need to agree with the terms of the license and click the button "Install"

11. Installation has been successfully completed.


The installer will inform you about what was updated, and what was installed. At the point "Delete Folder and Files of the Installation Program from My Site", we put a tick (although it will stand by default) and click the "Close" button

12. We go to the admin


We see the long-awaited form of the administration, only with the updated design. We rejoice. Come in still login and password

12. We go to the site

We go to myself and the site and see not a very pleasant picture. MODX swears "MODX Encountered The Following Error While Attempting to Parse The Requested Resource:". Do not upset, everything is fine, just some additions that we installed additionally from standard plug-ins and snippets we do not have in the ASSETS folder, as it is new.

13. We download add-ons from Assets_old to Assets

Download folder on your desktop assets_old.. Open the new folder on the site assets / Snippets. And we write it with the Assets_old / Snippets folder. We check each snippet in the ASSETS_OLD folder, and if some is not in the ASSETS folder, download it there. I got this picture

We do the same with plugins and modules. Go to the folder assets_old / plugins. and chew it with a folder assets / Plugins.similar to the modules: assets_old / modules / from assets / Modules.. What is missing - fill.

14. Images and site files

Similar to snippets, modules and plugins pour images and files from the ASSETS_OLD / IMAGES folders and Assets_old / files in Assets / Images and Assets / Files, respectively.

P.S. If you have in the folder assets. there were still any files or folders, they also need to be copied in new Assets.. I had files only in images and files.

15. Open the site and rejoice

The update passed successfully and in total 15 steps. Folders manager_old. and assets_old. can be deleted. You got an updated admin design, improved scripts and system plugins, accelerated work CMS MODX Evolution and the most important thing Higher security compared to S. previous versions and especially 1.0.5.

P.S. Dodel Snippets and plugins

If you have all the spitps and plugins never subjected to change, then you are not worried about, but most of them change such snippets as ajaxsearch. or ditto.. First of all it concerns the editor Tinymce.So on all sites that I updated, this editor does not work correctly. I will make small articles and explain how to cope with a particular problem. The first article will be more convenient than TinyMCE (in my opinion).

And also make minor changes in other additions.

  • We go B. Elements - Control Elements - Plugins - TRANSALIAS - Configuration. Select in the TRANS TABLE point - russian.. Otherwise, we will generate pseudonyms (URL) on Cyrillic, and we do not need it. We need pseudonyms to be translisted in Latin.
  • If you changed before the update cSS forms Search ajaxsearch., Most likely you changed the chunk of this snippet. Single, if you have come to search, you just replace all the chhank from the old site. Address: assets / SnippetS / Ajaxsearch / Templates

Thank you all for your attention and success in your work! I hope this article will help you in updating the site on MODX Evolution