Note: Before upgrading your installation, perform a complete backup of your data files and database. If the upgrade process fails, you will need to recover from backup before continuing.
Upgrading to the latest version of Leconfe involves updating the codebase and running the upgrade script.
-
Download the latest version of Leconfe from the Leconfe website or from the Leconfe GitHub repository.
-
Extract the downloaded archive into the empty directory.
-
Copy the following files and directories from your existing installation to the new installation:
- .env
- storage/app
-
Backup the current installation directory, and replace it with the new installation directory.
There's to way to upgrade Leconfe, using the command line or using the web interface .
If you have the CLI version of PHP installed (e.g., /usr/bin/php
), you can
run the following command from the Leconfe installation directory:
php artisan leconfe:upgrade
If you don't have access to the command line, you can run the upgrade script from the web interface. Access your website, Leconfe will detect that an upgrade is needed and will redirect you to the upgrade page. Follow the upgrade instructions to complete the upgrade process.