JoomLeague 6.2.0 RC2Testing release · Updating from RC1 · Converting legacy data

Import, Migration & Maintenance Tools

Data Import

Data Import accepts a supported JoomLeague SQL export or converted migration.sql, not arbitrary legacy SQL. The effective file limit is the server's configured upload/post limit, which the screen displays; JoomLeague does not impose a smaller fixed 100 MB cap. The importer is deliberately restrictive for safety: only three kinds of statements are allowed, and only against #__joomleague_* tables —

  • CREATE TABLE IF NOT EXISTS for a #__joomleague_... table
  • CREATE [UNIQUE] INDEX on a #__joomleague_... table
  • INSERT INTO a #__joomleague_... table

Anything else in the uploaded SQL causes the whole import to be rejected before anything runs. The upload is also capped at your server's configured max upload size.

Statement structure and table/column definitions must match the supported contract; a matching table prefix alone does not authorise arbitrary SQL.

RC2 checks sport types, positions, event types and statistics for compatible identities and ownership. Compatible repeats preserve existing records and can populate missing defaults for verified incoming sport owners. Incompatible IDs, UUIDs or profile bindings cancel the import with a conflict diagnostic. This is not a universal ID remapper or a merge tool for unrelated databases.

Executed/skipped counts are operation counters, not a complete sporting-row audit. Compare source counts and representative data separately. Row writes are transactional; trusted schema creation has a separate recovery path. If recovery is reported incomplete, stop and preserve the error and backup instead of repeatedly uploading the file.

This screen also powers the companion export feature reachable from Database Tools below — the SQL it produces uses the same format this importer expects, including a special {{profile_version:<code>}} placeholder that gets resolved to the current installation's active profile version ID for that sport-profile code at import time. That makes exported data portable between installations even if their internal profile-version IDs differ.

Migrations

This screen is a status and inspection view, not where migrations are run interactively. It shows two things:

  1. Migration batch history — every row previously recorded in this installation's #__joomleague_migration_batch table, newest first.
  2. Source inventory — a live inspection of the current database that classifies it (e.g. whether it looks like a legacy JoomLeague schema) and, where possible, detects the specific source version.

Legacy data conversion is performed by the external migration service, not from this screen. It is not a JoomLeague update and it does not make an older installation compatible with 6.2. The generated package belongs in a clean 6.2 test installation — see Converting legacy data.

Database Tools

Lists every installed #__joomleague_* table together with its current row count. From here you can:

  • Export one or more selected tables, or Export all, to a downloaded SQL file (in the same format Data Import accepts). The export contains table structure and data; it is not rendered into the browser page.
  • Rebuild project assets — a repair operation with two effects:
    • Removes orphaned Joomla ACL asset rows: it scans #__assets for rows whose name starts with the raw table-name prefix pattern (left over from Joomla's default, unoverridden asset-name generation) and deletes any that aren't actually referenced by a project, competition, season, stage, round or match record.
    • Re-links every project record so it has a correctly named and parented com_joomleague.project.<id> asset — this is what makes the per-project Permissions tab work correctly. It reports how many orphan assets were removed and how many projects were re-linked.

Diagnostics

A read-only environment report, useful when troubleshooting or filing a bug report. It shows:

  • Database driver and version, and the number of installed #__joomleague_* tables.
  • Installed component version.
  • PHP version, plus the upload_max_filesize, post_max_size, memory_limit and max_execution_time ini settings.
  • Whether the tmp, log and component cache directories are writable.
  • Whether demo-reset mode is enabled (controlled by the Enable complete data reset under Components → JoomLeague → Options → Safety. The option is disabled automatically after a successful reset and should normally remain disabled outside a disposable test installation).