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:
- Login into your control panel and open file manager, navigate to the root folder of your project.
- Open
public
directory and copy the.htaccess
file to.htaccess.current
- Go back to the root directory and copy
.env
file which exists on the root directory of your project to.env.current
. - Copy
.htaccess
file - found in the root directory - to.htaccess.current
- Upload the
public_html.zip
file to your server, and then extract it. - After extracting the files,
.env
and.htaccess
files will be overwritten. - Delete both
.env
and.htaccess
files. - Copy
.env.current
file to.env
and.htaccess.current
to.htaccess
- 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.