Update - Server
This documents outlines the update process of the server-side code.
Last updated
This documents outlines the update process of the server-side code.
Last updated
To update the script on cPanel, we have made an easy to follow video available in our channel on link.
If you are using cPanel, you can follow below steps to safely update server side code.
Create a backup
folder outside your installation e.g., in /home/xxx
.
Move .env
file and storage
folder into the backup
folder.
Delete rest files inside your installation and cleanup.
Upload new contents of server
folder from update archive into your installation folder.
Delete the default storage
folder and .env
file from newly uploaded update.
Restore original .env
file and storage
from backup
into your installation.
Run below commands (using Terminal in cPanel) inside your installation folder to update database and cache:
Firstly, create a ZIP archive of the contents of server folder (excluding the parent folder itself). Then upload the created archive to your server using below command:
Then SSH into the server and apply the update as follows: