Skip to content

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

  1. Download the latest version from Codester.
  2. Upload the .zip file you have downloaded to your website's root folder.
  3. Put your website under maintenance from the Admin panel -> Settings -> General. And don't log out as admin user.
  4. Use a terminal (console) to log in your website's root folder.
  5. Extract the zip file and replace the existing files except the storage folder and the .env file
  6. 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.