MODX Core and Packages Update

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Our competencies:
Development stages
Latest works
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    822
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    847
  • image_website-sbh_0.png
    Website development for SBH Partners
    999
  • image_website-_0.png
    Website development for Red Pear
    451

MODX Core and Packages Update

MODX releases security updates and functional releases. Updating MODX is simpler than WordPress or Drupal — no Composer-dependencies in core, procedure is manual but clear.

Preparation

# Backup files
tar czf /backups/modx-$(date +%Y%m%d).tar.gz /var/www/yourdomain.com

# Backup DB
mysqldump -u root modx_db > /backups/modx-db-$(date +%Y%m%d).sql

Update Core

# Download new version
wget https://modx.com/download/current/ -O modx-new.zip
unzip modx-new.zip -d /tmp/modx-update

# Copy only changed core files (not custom Extra folders)
rsync -avz --exclude='core/components/' \
    --exclude='assets/components/' \
    --exclude='core/config/' \
    /tmp/modx-update/modx-*/ \
    /var/www/yourdomain.com/

After copying files go to yourdomain.com/setup/:

  1. Select "Update existing installation"
  2. Confirm version and parameters
  3. Run update

Setup checks compatibility, updates DB tables if needed, clears cache.

Update Packages (Extras)

System → Package Manager → Installed Packages → "Check Updates" button.

Or in interface: right-click package → Update.

Important: some popular packages (pdoTools, FormIt, Tickets) update very rarely — don't expect weekly updates.

Update via CLI (MODX 3)

# MODX 3.x supports CLI
php artisan modx:upgrade  # if CLI configured

# Or via built-in script
php core/packages/upgrade.php

Check After Update

# Check error logs
tail -n 100 core/cache/logs/error.log

# Clear MODX cache
# System → Clear Cache
# Or: delete core/cache/ contents
find /var/www/yourdomain.com/core/cache/ -type f -name "*.php" -delete

If Update Broke Site

# Restore files from backup
rsync -avz /backups/modx-20240301.tar.gz /var/www/yourdomain.com/
# Unpack backup

# Restore DB
mysql -u root modx_db < /backups/modx-db-20240301.sql

Timeframes

MODX core update with backup and testing — 1–2 hours. Update of 10–15 Extras with functionality check — 2–4 hours.