The System Update panel gives you full visibility and control over your OwnPay platform version. Keeping the platform updated ensures you have the latest security patches, gateway integration fixes, and new features as they are released. Updates are applied directly through the admin dashboard — no manual file transfers required — and the process includes automatic database migrations, signature verification, and a filesystem backup of the previous version before any files are overwritten.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/own-pay/OwnPay-Documentation/llms.txt
Use this file to discover all available pages before exploring further.
Accessing System Update
Log in as Super-Administrator
Sign in to the OwnPay admin dashboard with your super-administrator credentials.
Dashboard Overview
Current Version
Displays the currently installed and active version of OwnPay (e.g.
v0.1.0).Latest Available
Shows the latest version on the update server. Displays a green Up to date ✓ badge when current, or an Update Available! badge with an install button when a newer release is found.
Update History
Logs all previous update executions: version migration path, date, status (
completed, failed, running), and duration in seconds.Auto-Update Settings
Toggle to allow the system to download and apply updates automatically during the low-traffic window between 2:00 AM and 5:00 AM.
Checking for Updates
Installing a Core Update
Initiate the Update
When a new version is available, click the green Update to v button in the Latest Available card.
Confirm the Dialog
A confirmation dialog warns that the system will back up files, apply updates, and run database migrations. Click OK to proceed.
Update Execution
The update process runs the following sequence automatically:
- Enters maintenance mode to block customer traffic
- Downloads the signed update package from the update server
- Verifies the package signature against
update_public_key.pem - Backs up the existing codebase to
storage/cache - Extracts and applies the new files
- Runs any included database migration scripts
- Clears application caches and reloads the platform
During the update, the
/admin/system-update path remains accessible even while maintenance mode is active. This prevents you from being locked out if the update process is interrupted and you need to check status.What Happens During an Update
Signature verification
Signature verification
All downloaded update packages are verified using asymmetric key cryptography. The system public key (
update_public_key.pem) is stored in the root directory and validates the archive signature before a single file is extracted. If the signature check fails, the update is aborted immediately.Database migrations
Database migrations
Each update package includes SQL migration scripts that alter or extend the database schema. Migrations run sequentially after file extraction. If a migration fails, the update status is marked as
failed in the history log and the system attempts to roll back.Cache clearing
Cache clearing
After migrations complete, OwnPay clears all application caches, forcing fresh configuration and template compilations on the next request. This prevents stale cache values from conflicting with new code.
Filesystem backup and rollback
Filesystem backup and rollback
Before overwriting any files, OwnPay stores a backup of the previous version’s codebase in the
storage/ cache directory. If the update fails, the stored backup allows a clean rollback. Update history is tracked in the op_update_history table.Update History Reference
The Update History table records each update run with the following columns:| Column | Description |
|---|---|
| Version | Migration path, e.g. v0.1.0 → v0.1.1. |
| Date | Start timestamp of the update process. |
| Status | completed (green), failed (red), or running (yellow). |
| Duration | Time taken in seconds for the full update execution. |
Enabling Auto-Update
If you prefer hands-off maintenance, toggle Enable Auto-Update in the Settings card. When enabled, OwnPay automatically checks for, downloads, and applies core updates during the low-traffic window of 2:00 AM – 5:00 AM server time.Auto-update applies the same signature verification and migration steps as a manual update. The update history table records all auto-applied updates so you can review what changed.
Pre-Update Checklist
Before triggering a manual update, complete the following steps:Back up the database
Run a full SQL dump of all
op_ tables. Store the backup in a location outside the OwnPay directory.Review release notes
Read the changelog for the target version to understand UI changes, migration impacts, and any configuration actions required after the update.
Verify write permissions
Ensure the web server process (
www-data or the PHP-FPM user) has write access to the storage/ directory and the root codebase directory. The update script cannot download or extract files without write access.Troubleshooting
Update fails with permission errors
Update fails with permission errors
The web server process does not have write access to the root codebase directory. Adjust folder permissions to allow write operations for the web server user, or run the update manually via the CLI. Check
storage/logs/ for the specific error path.System is stuck in maintenance mode after update
System is stuck in maintenance mode after update
The update process was interrupted or a post-update migration failed. Check
storage/logs/ for details. You can manually disable maintenance mode by removing the storage/.maintenance lock file, or by toggling the Maintenance Mode setting directly in the database op_system_settings table.Do not modify core files directly
Do not modify core files directly
Any changes made to files in
src/ or public/ will be overwritten by the next update. Use the Plugin system to extend or customize OwnPay functionality so your customizations survive updates.Related Pages
Plugins
Install and activate modular gateway or addon extensions.
System Settings
Adjust global runtime settings and maintenance mode controls.
Addons
Manage mail, SMS, and Telegram utility addon plugins.