Appearance
Update
Before you are going to update the Alma script, we recommend you to read the following instructions below first.
Important!
Make sure you have backup your website (files and database) before starting the upgrade.
Upgrade Method
- Download the latest version from Codester.
- Upload the .zip file you have downloaded to your website's root folder.
- Put your website under maintenance from the Admin panel -> Settings -> General. And don't log out as admin user.
- Use a terminal (console) to log in your website's root folder.
- Extract the zip file and replace the existing files except the storage folder and the .env file
- Then in console type
php artisan migrate
If the media is not displayed on your resource, then enter the command in the console
shell
php artisan storage:link
Also, in some cases, may need to reset the cache and dumps the autoloader
Resets the cache
shell
php artisan optimize:clear
Dumps the autoloader
shell
composer dump-autoload
TIP
If your server or hosting provider uses some kind of file caching (supercacher, opcache, cloudflare cache etc) you will need to clear that cache after updating, otherwise some changes from the update might not work properly.