Update - Server
This documents outlines the update process of the server-side code.
cPanel
To update the script on cPanel, we have made an easy to follow video available in our YouTube channel on https://bit.ly/muly-cpanel-update link.
If you are using cPanel, you can follow below steps to safely update server side code.
Create a
backupfolder outside your installation e.g., in/home/xxx.Move
.envfile andstoragefolder into thebackupfolder.Delete rest files inside your installation and cleanup.
Upload new contents of
serverfolder from update archive into your installation folder.Delete the default
storagefolder and.envfile from newly uploaded update.Restore original
.envfile andstoragefrombackupinto your installation.Run below commands (using Terminal in cPanel) inside your installation folder to update database and cache:
php artisan config:cache php artisan migrate php artisan storage:link
LAMP or LEMP
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:
scp server.zip root@yourapp.com:/var/www/update.zipThen SSH into the server and apply the update as follows:
Last updated