Skip to content

Upgrade Guide

If you made any code changes, it is highly recommended to backup the root folder of your project and the datbase before the update.

Update Steps

The update process is pretty much straightforward, you will have to upload the new files and overwrite existing ones, except 3 files: public_html/.htaccess, public_html/.env and public_html/public/.htaccess and here is how you can do it:

  1. Login into your control panel and open file manager, navigate to the root folder of your project.
  2. Open public directory and copy the .htaccess file to .htaccess.current
  3. Go back to the root directory and copy .env file which exists on the root directory of your project to .env.current.
  4. Copy .htaccess file - found in the root directory - to .htaccess.current
  5. Upload the public_html.zip file to your server, and then extract it.
  6. After extracting the files, .env and .htaccess files will be overwritten.
  7. Delete both .env and .htaccess files.
  8. Copy .env.current file to .env and .htaccess.current to .htaccess
  9. Open public directory, and copy .htaccess.current to .htaccess

Note

If the system is hosted in dockerized environment, please run docker compose up --force-recreate in order to force Laravel's scheduler to see the code changes.

For cPanel Users

.env file can be hidden in control panel. Go to settings (from the top right corner of the screen) and then unhide files in the public_html folder.

Note

If you do not see changes after the update, although the version in System / Status page is updated, then this might be a cache issue, it can be resolved by deleting all php files located in public_html/storage/framework/views directory.