Deployment and Upgrade for Marketing Content

Data sources include marketing asset management systems across the enterprise’s business units, customer relationship management databases, offline

What the data for this use case looks like

Data sources include marketing asset management systems across the enterprise’s business units, customer relationship management databases, offline venue activity records, and online channel interaction data. Update cadence: Each sub-brand independently updates assets and customer group tags, with aggregated data synced at the enterprise level on a daily basis. The document structure is a structured metadata list of marketing content, including fields such as brand identifier, asset type, delivery channel, target customer group, and launch cycle. Field units include asset file size (MB), reach impressions, launch duration (days), and similar. Each individual asset document includes three submodules: basic attributes, launch plan, and effect statistics.

What constraints these characteristics impose during deployment and upgrade

Because each sub-brand independently maintains marketing data, configure multi-tenant isolation rules during deployment to prevent cross-brand data leaks. Reserve sufficient scheduled task resources during deployment to support daily aggregated data syncs. Pause non-core sync tasks during upgrades to ensure data consistency. Complete field mapping configuration before deployment, as structured metadata includes multi-dimensional fields. Support legacy field formats during upgrades to avoid data parsing failures. Configure parsing parameters to support multiple file formats during deployment for different marketing asset types. Verify parsing success rates for each format after upgrades to prevent some assets from failing to load properly.

Configuration Settings

Configuration ItemRecommended SettingRationale
MULTI_TENANT_ENABLEtrueSupports multi-sub-brand data isolation, aligns with multi-business unit architecture
SYNC_CRON_EXPR0 2 * * *Matches the daily aggregated marketing data sync requirement, avoids peak business hours
PARSE_FILE_MAX_SIZE800–1200 MBCovers file size limits for all types of marketing assets including posters, short video scripts, event H5 pages, and similar
PARSE_FILE_TIMEOUT_SECONDS600 secondsReserves sufficient processing time for upload and parsing of large marketing assets
DB_BACKUP_BEFORE_UPGRADEtrueAutomatically backs up the full database before upgrades, enables data recovery if an upgrade fails
CONFIG_JSON_AUTO_MIGRATEtrueAutomatically supports legacy configuration file formats, no manual modification of config.json required

The parameter values provided on this page are common starting points for configuration. Actual values are affected by material formats, data volume, and business rules. Specific issues require targeted analysis. It is recommended to test on your own samples before finalizing settings.

Three Common Mistakes

  • After upgrading to v4.8.20 or later, the system still prompts to read the config.json file, or configuration items do not take effect. The cause is that the CONFIG_JSON_AUTO_MIGRATE parameter is not enabled, and the system attempts to load the legacy configuration file.
  • After deploying code pulled from a specific GitHub version, the actual running version remains an older version such as v4.8.17. The cause is failing to switch to the correct code branch for the target version, or failing to specify the correct version tag when building the image.
  • After upgrading to a new version, existing marketing assets and customer group data are lost. The cause is failing to enable the DB_BACKUP_BEFORE_UPGRADE parameter before upgrading, or failing to mount a persistent storage volume to save database files.

How to Verify Proper Configuration

  • Log in to the system backend tenant management page, verify that marketing asset data from different brands is isolated, and cannot be viewed across brands.
  • Check scheduled task logs to confirm that the daily sync task executes normally according to the set SYNC_CRON_EXPR time.
  • Upload marketing assets of different formats and sizes, verify that parsing tasks complete normally without timeout errors.
  • Execute a simulated upgrade process, check whether the system automatically backs up the database and supports legacy configuration files.

Question material comes from public community discussions. Configuration values are common starting points and should be measured against your own samples. Verified on 2026-09-14.