Upgrade Guide
There are 2 ways to update to the new version
1. Manually
For developers:
- Override folder
app
,config
,platform
,public/themes
,public/vendor
andpublic/index.php
from the latest version. - Update file
composer.json
andcomposer.lock
from new source code. - Delete folder
/vendor
then runcomposer install
to upgrade vendor packages. - Delete folder
public/vendor
and run commandphp artisan vendor:publish --tag=cms-public --force
- Delete folder
public/themes
and run commandphp artisan cms:theme:assets:publish
- Run command
php artisan vendor:publish --tag=cms-lang --force
to update translations. - Run
php artisan optimize:clear
to clear cache.
- Override folder
For non-developers:
- Override folder
app
,config
,platform
,public/themes
,public/vendor
andpublic/index.php
from the latest version. - Override folder
public/themes
,public/vendor
,bootstrap
,vendor
from the latest version. - Delete all files in
storage/framework/views
andstorage/framework/cache
. - Go to Admin -> Translations -> Admin translations then click on
Import group
to update translations.
- Override folder
2. Automatic - via website updater
- Access to Admin
- Platform Administration > System Updater
- The website will automatically detect the new version, click "Download & Install Update"
Note : Please back up your database and script files before upgrading.