Upgrade 4.3 to 4.4

There is an issue when upgrading Contao 4.3 to 4.4 through composer. When executing the composer update command the update process, in my case the update process crashed.

Backup

As always first backup the Contao installation folder and the database!

Upgrade contao

First download the Contao standart-edition from github.

root$

wget https://github.com/contao/standard-edition/archive/master.zip

Now unzip the archive file.

root$

unzip master.zip

Copy the files from the unziped Contao folder to your Contao installation folder.

root$

/usr/bin/cp -R -f standard-edition-master/* /var/www/your-domain.com.www

And add all copied files to the Apache user and group.

root$

chown apache:apache -R /var/www/your-domain.com.www

Start the composer update process.

root$

sudo -u apache composer update

Within the Contao root directory clear the cache with:

root$

rm -R -f var/cache/*

Update database

In your favorite web-browser open the install.php and follow the instructions.

e.g. https://www.it-mk.at/contao/install

 

Contao should now be updated to 4.4.

Kommentare

Bitte rechnen Sie 9 plus 7.