VPS Update
This document will help you to update the Investra admin panel using VPS.
Step 1: Access VPS
You need to access your VPS. You can use SSH to access your VPS.
ssh username@ipaddress
Step 2: Upload the Files
- Extract the Investra package that you downloaded the latest version from CodeCanyon.
- On that folder, you'll get another file called
core.zip. - Now extract the core.zip file to the core folder.
- Now you'll get two zip files called
admin.zipandstandalone-client.zipon core folder.
Now upload these files to the server:
Upload the admin.zip file to the /var/www/investra/admin directory:
scp -r core/admin.zip root@server:/var/www/investra/admin
Now, you'll get two folders called admin and client on /var/www/investra/
Step 3: Extract the Admin Files
- Extract the admin.zip file:
cd /var/www/investra/admin
unzip -o admin.zip -d /var/www/investra/admin
rm -rf admin.zip
- Give permission to the admin folder:
sudo chown -R www-data:www-data /var/www/investra/admin/bootstrap/cache
sudo chown -R www-data:www-data /var/www/investra/admin/storage
Step 4: Restart Nginx
Now, restart the Nginx service and PHP-FPM service:
sudo systemctl restart php8.3-fpm
sudo systemctl restart nginx
Step 5: Restart Supervisor
sudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl start investra-worker:*
Now you have successfully updated your Investra admin panel on VPS.
Conclusion
Congratulations! You have successfully updated the admin panel on VPS.