Skip to content

Upgrading ​

This process is for upgrading to Chevereto V5 from Older Chevereto versions.

Review Welcome back for a better understanding of changes in V5.

Requirements ​

  • Existing installation running Chevereto
  • Backup for the existing installation (optional) recommended

Upgrade using Docker ​

For Docker users the upgrade process is the same as the update process. No additional steps are required beyond what is described there.

Manual upgrade ​

Upgrade to Chevereto V5 is performed by overriding the previous software files with the new files provided by Chevereto V5.

Follow these step:

  • Remove app/vendor from your old Chevereto installation
  • Override old Chevereto files with Chevereto V5 files
  • Switch to PHP 8.3 / PHP 8.4
  • Proceed with database migrate

From V3 ​

If you are updating from V3 you will require to update the application settings and CRON.

Application settings ​

Chevereto V4 uses a new configuration standard.

  • Rename app/settings.php to app/env.php
  • Update file accordingly the updated environment
php
<?php // app/settings.php
$settings['db_host'] = 'localhost';
$settings['db_name'] = 'chevereto';
$settings['db_user'] = 'user';
$settings['db_pass'] = 'pass';
php
<?php // app/env.php
return [
    'CHEVERETO_DB_HOST' => 'localhost',
    'CHEVERETO_DB_NAME' => 'chevereto',
    'CHEVERETO_DB_USER' => 'user',
    'CHEVERETO_DB_PASS' => 'pass',
];

CRON ​

Chevereto V4 comes with a new console. You must update your CRON command to point to the new location.

From Chevereto V3 cron:

sh
cli.php -C cron

To Chevereto V4 cron:

sh
app/bin/cli -C cron

Released under the Apache-2.0 License.