Skip to main content

Upgrade

The application is regularly updated to fix bugs, add new features, or extensions.

Cloud

Cloud updates are automatic. You don't need to do anything, the application will update automatically.

Self-hosted

Self-hosted updates are manual. You need to replace the application files with the new ones.

warning

We recommend making a backup of your application and database before starting an update.

To update ClientXCMS, choose one of the methods below: downloading the release (archive) or updating via Git.

  1. Download the latest release from GitHub and save it as clientxcms.zip:
curl -L -o clientxcms.zip "https://github.com/ClientXCMS/ClientXCMS/releases/latest"
  1. Put your application in maintenance mode:
php artisan down
  1. Extract the archive and replace the files:
unzip clientxcms.zip -d /var/www/clientxcms
mv /var/www/clientxcms/ClientXCMS-*/* /var/www/clientxcms
rm -r /var/www/clientxcms/ClientXCMS-*
  1. Install dependencies and run migrations:
composer install --optimize-autoloader --no-dev
php artisan migrate --seed && php artisan clientxcms:db-extension --all
  1. Clear caches and rebuild assets:
php artisan cache:clear
php artisan view:clear
php artisan route:clear
npm install && npm run build
  1. Exit maintenance mode and run post-update hooks:
php artisan up
php artisan clientxcms:on-update

Plesk

If you use Plesk and installed the application via the Laravel Toolkit, you can follow these steps:

  1. Log in to your Plesk panel.
  2. Go to the Git repository manager.
  3. Update the Git repository with the new version by clicking the "Deploy Now" button. Git Deployment - Plesk
  4. Follow steps 3 to 5 of the Git update method above using the Laravel Toolkit interface.