Upgrading To 2.4.0 From 2.3.*
Please read the changelog for detail about the changes, this will help you to decide if you really need to upgrade or not.
To upgrade to the 2.4.0 From 2.3.* please follow these steps:
Step 1: Download the files and extract on your local computer.
Step 2: Set your marketplace in maintenance mode, so that visitor doesn’t get any errors or see sensitive system information.
Step 3: Take a backup of your database and the project files(current running script). So that you can get back to the old version if having issues with the new one.
Step 4: Replace only these directories and files [Dont touch other files/directories] with the newly downloaded one:
Directories:
- app
- bootstrap
- config
- database
- public (The default theme has changes that need to update)
- packages
- resources
- routes
- vendor
Files:
- composer.json
- composer.lock
- package.json
Step 5: Open the command line and cd into the project root. Then run this command:
php artisan passport:install
Step 6: Check the permissions as described in the installation guide.
Step 7: Check the .env file for new parammeters and removed few. Update your .env if required.
Step 8: Social login redirect URI changed (need to change on fb, google) to socialite/customer/{provider}/callback
Step 9: Login as superadmin and access your-domain.com/admin/incevio/upgrade
Or open the command line and cd into the project root. Then run this command:
php artisan migrate
Step 10: Now turn off the maintenance mode and you’re done.