docs/admin-interface/system/maintenance/upgrade.md
The Upgrade tool allows you to check for new OpenCart versions, download updates, and install them directly from your admin panel. Keeping your OpenCart installation up-to-date is essential for security patches, bug fixes, performance improvements, and new features. This tool connects to the official OpenCart server, compares your current version with the latest release, and provides a streamlined upgrade process with automatic file replacement and database migration.
{% stepper %} {% step %}
Log in to your admin dashboard and go to System → Maintenance → Upgrade. {% endstep %}
{% step %}
You will see the upgrade interface showing your current version, latest available version, release date, and change log. {% endstep %}
{% step %}
Click Check Latest Version to refresh version information from the OpenCart server, then use the Upgrade button if a newer version is available. {% endstep %} {% endstepper %}
System Information
VERSION constantRemote Version Data
OPENCART_SERVER API to fetch version dataProgress Tracking
{% hint style="info" %} Pre-Upgrade Preparation: Always create a complete backup of your database and files before upgrading. Test upgrades on a staging environment first, especially for major version updates. {% endhint %}
{% hint style="warning" %}
Connection Requirements: The upgrade tool requires outgoing HTTP/HTTPS connections to api.opencart.com and github.com. Ensure your server allows these connections and has sufficient disk space for the download (typically 20-50MB).
{% endhint %}
To see if updates are available for your OpenCart installation:
To upgrade to the latest OpenCart version:
If an upgrade fails or is interrupted:
To understand what changes an update includes:
Safe Update Procedures
System Readiness
Quality Assurance
Protected Upgrades
{% hint style="danger" %} Irreversible Changes: Upgrades modify core files and database structure. Once started, the process cannot be easily reversed without a backup. Always test thoroughly on staging and have verified backups before proceeding with production upgrades. {% endhint %}
Connection Issues
api.opencart.com and github.com are allowed.Download Problems
max_execution_time and set_time_limit for large downloads.File System Issues
Post-Upgrade Problems
Version Detection Issues
VERSION constants can cause detection issues."Staying current isn't just about new features—it's about security, stability, and providing the best possible experience for your customers. Regular updates are an investment in your store's future."