Upgrade Guide
This guide will walk you through the process of upgrading Botble CMS based products. There are three ways to upgrade your product:
- Automatic Update (in-app updater) — easiest, recommended for most users.
- Command Line Update (
php artisan cms:update) — most reliable, recommended if you have SSH access. - Manual Update (download and extract) — last resort when neither of the above works.
Automatic Update
To update your product automatically, follow these steps:
- Log in to your admin panel.
- Go to
Platform Administration->System Updater. - If there is a new version available, you will see a
Download & Install Updatebutton. Click on it to start the automatic update process.

TIP
If the automatic update fails with errors like HTTP 504, Invalid or uninitialized Zip object, or a 500 error mid-progress, use the Command Line Update method below — it bypasses the web-server timeouts that cause these failures. See Troubleshooting - System Updater Errors for more details.
Command Line Update
If you have SSH access to your server, this is the most reliable way to update. The CLI command bypasses every web-tier timeout (Cloudflare's 100-second connection cap, nginx and php-fpm proxy timeouts, browser request limits) that typically causes the in-app updater to fail mid-progress on slower connections or behind a reverse proxy. It also retries the update download up to 3 times automatically and bumps PHP execution time and memory limits at runtime.
SSH into your server and
cdto your project root:bashcd /path/to/your/projectRun the update command:
bashphp artisan cms:updateConfirm the prompts. The command will download the latest update, extract files, run database migrations, publish assets, and clear caches in a single pass with live progress output. If anything fails, you will see the exact step and error message in the terminal.
TIP
The command does the same work as the in-app updater (download → extract → migrate → publish → clear cache) but as a CLI process it is not subject to web request timeouts. This is the recommended path for any update that fails in the browser.
WARNING
Increasing max_execution_time in php.ini does not help against Cloudflare's 100-second connection cap or upstream proxy timeouts in nginx / php-fpm — those limits live above PHP. Use the command line method when you hit those.
Manual Update
Warning: Backup .env first
The CodeCanyon package contains a default .env file. If you extract the package on top of your live install with a tool that does not skip .env, your real database credentials, APP_KEY, and other settings will be overwritten and your site will go down with a database connection error. Always back up your .env before extracting, or extract to a temporary directory first and copy files manually.
The in-app updater and php artisan cms:update both refuse to apply any update that contains a .env file, exactly to prevent this. Manual extraction has no such guard. If you have already overwritten .env, see Troubleshooting - .env Overwritten After Manual Update.
This way is a bit more complex, but it gives you more control over the upgrade process. Here are the steps:
Back up your
.envfile before doing anything else.Download the latest version of the product from CodeCanyon.
Extract the downloaded file.
Upload the extracted files to your server, overwrite the following directories and files (and never the
.envfile in your project root):appdatabaseconfigplatformpublic/themespublic/vendorbootstrapvendorcomposer.jsoncomposer.lockpublic/index.php
Verify your
.envfile is unchanged. If it was overwritten, restore it from your backup before reloading the site.Clear the cache by navigating to
Platform Administration->Cache Managementand clicking on theClear all CMS cachebutton.
Deactivate all plugins by going to
Plugins->Installed Plugins, and then activate them again.Update the translations by going to
Settings->Localization->Other Translationsand click to theherelink to update the translations.