System Maintenance & Diagnostics
GeniXCMS provides a centralized hub for monitoring your server environment and managing updates for the core system, modules, and themes. Access these tools via System in the administrative sidebar.
1. System Health
The System Health page performing real-time diagnostics on your server environment to ensure it meets the GeniXCMS operational requirements.
Key Diagnostics:
- PHP Version: Ensures your environment is running on PHP 8.2 or higher.
- Critical Extensions: Verifies the presence of
PDO, GD, ZipArchive, cURL, and OpenSSL.
- Server Configuration: Checks for
file_uploads capability, post_max_size, and max_execution_time.
Extending Diagnostics
Developers can inject custom requirements via the system_health_requirements filter hook.
Example usage in a module:
Hooks::add('system_health_requirements', function($req) {
$req['Exif Extension'] = [
'req' => 'Enabled',
'val' => extension_loaded('exif') ? 'Enabled' : 'Disabled',
'status' => extension_loaded('exif')
];
return $req;
});
2. System Update Repository
The Updates page centralizes version management for your entire ecosystem by communicating with the GeniXCMS Marketplace API.
Core Updates
GeniXCMS automatically checks for core updates in real-time. If a new version is available, a "Download Update" button will appear, providing a direct link to the latest stable release.
Module & Theme Updates
The system performs a Batch Check for every installed module and theme.
- Up-to-Date: Indicates your component matches the stable version in the cloud.
- New Version Available: Triggers if a developer has released a newer version on the marketplace.
Manual Sync
You can force a fresh version check by clicking the Manual Sync button at any time.
Extending Update Logic
You can manipulate or append update data using the following filter hooks:
system_updates_modules
system_updates_themes
Example:
Hooks::add('system_updates_modules', function($modUpdates) {
// Custom logic to modify the update list
return $modUpdates;
});