Repository navigation
ARS Migration Plugin
A small server-side Joomla plugin that runs on the CWM download site (the Akeeba Release System / ARS server), not on Proclaim sites. It lets churches that installed the old standalone com_proclaim component receive updates and auto-migrate to the current pkg_proclaim package through the normal one-click updater.
TL;DR — It injects a
com_proclaim(component) entry at the top of the stream‑1 update feed. Stranded component-only sites finally match an update; applying it downloads the same package ZIP and migrates them. Keep it enabled until the fleet has migrated, then disable it.
Proclaim 10.3+ ships as the pkg_proclaim package. The ARS update stream advertises updates for element = pkg_proclaim.
Joomla matches an available update to an installed extension on element + type + client_id:
| Site installed | Registered extension | type |
client_id |
|---|---|---|---|
| The package (10.3+) | pkg_proclaim |
package | 0 (site) |
| The old standalone component | com_proclaim |
component | 1 (administrator) |
A site that installed only the standalone component has no pkg_proclaim registered, so the pkg_proclaim update never matches — those sites see "no updates" forever and are stranded on an old version.
The plugin subscribes to onAfterRender and only acts on the ARS update-stream request for the configured stream:
option=com_ars & view=update & task=stream & format=xml & id=<stream_id>
For that response it:
- Finds the newest
pkg_proclaim<update>block in the feed (highest version viaversion_compare). - Clones it and re-types the clone so Joomla will match it against a component:
-
<element>pkg_proclaim</element>→<element>com_proclaim</element> -
<type>package</type>→<type>component</type> -
<client>site</client>→<client>administrator</client>(components areclient_id = 1; Joomla parses<client>by name, soadministratoris required — a numeric1does not match)
-
- Inserts the clone at the top of the feed, immediately after
<updates>.
The download URL and checksums are left untouched — they already point at the same pkg_proclaim ZIP. So when a component-only site applies this "component update", Joomla downloads the package and installs it, migrating the site from component to package. Joomla decides install-vs-package by the downloaded ZIP's own manifest, not by the feed's <type>.
Joomla's Update parser keeps only a single $latest update per feed — the highest version — and on a version tie the first block in the feed wins (it only replaces $latest when a later block is strictly greater).
The injected com_proclaim entry shares its version (e.g. 10.3.3) with the pkg_proclaim entry ARS lists first. If the clone is appended, the package block wins the tie and the component block is discarded → component-only sites still get nothing. Inserting the clone before the equal-version package block makes it win selection.
The feed may also contain a block with
version="Developers Package". It is harmless here: it requires a newer PHP than most sites run, so Joomla routes it to the "requires newer platform" warning bucket rather than treating it as$latest.
Because the component entry wins the version tie, every site polling the stream — including current package sites — is offered the update as this component entry rather than the pkg_proclaim entry. Applying it re-installs the package, which is a clean package-over-package update.
Verified end-to-end on a real package site: applying the offered component update updated both pkg_proclaim and com_proclaim to the new version and ran the schema migrations. Same end result as a normal package update — only the update row's Type column reads "Component" while the plugin is active.
Plugin parameters (Extensions → Plugins → System - CWM ARS Proclaim Migration):
| Field | Default | Purpose |
|---|---|---|
| Update stream ID | 1 |
The ARS stream whose XML output receives the injected entry (the stream your deployed sites poll). |
| Source element | pkg_proclaim |
The package element already served in the stream, cloned from. |
| Target element | com_proclaim |
The component element to advertise the migration update for. |
-
Extensions → Install → Upload Package File → upload
plg_system_cwmarsmigrate.zip(installs as an upgrade over any prior version and stays enabled). -
Confirm it is enabled and the stream ID matches the stream your sites poll (
1). -
Verify the feed — fetch the stream and confirm the injected block is present and first:
.../index.php?option=com_ars&view=update&task=stream&format=xml&id=1The
<element>com_proclaim</element>/<type>component</type>/<client>administrator</client>block should appear before the firstpkg_proclaimblock. -
On a component-only test site: System → Clear Cache (the
com_installercache), then Extensions → Update → Check For Updates — the new version should now be offered.
Keep the plugin enabled while any site still runs the standalone component. Once the fleet has migrated (every site now has pkg_proclaim), disable the plugin — package sites then resume updating through the normal pkg_proclaim entry, and the update row's Type reads "Package" again.
- The plugin lives in its own source tree (
plg_system_cwmarsmigrate/), separate from the Proclaim component repo, because it is deployed to the download server rather than shipped inside the package. - It is purely additive and read-mostly: it rewrites only the outgoing XML for the one matching stream request and changes nothing in ARS or its database.
- Release-Process — how a Proclaim version is built, validated, and published to ARS.
- Upgrading-From-9x — the 9.x → 10.x migration path Proclaim enforces on install.
Need help with your site? Proclaim Support — the place to start for anything to do with your own install · Ask on GitHub
Something wrong with Proclaim itself? Report it on GitHub — bugs and code issues are tracked there, in the open.
More — Proclaim documentation · Helpful videos · Latest release · Christian Web Ministries
Security issues privately to info@christianwebministries.org, not a public tracker. When asking for help, say which Proclaim and Joomla versions you are on.
- Publish Your First Message
- Show Proclaim on Your Site
- Add Audio and Video
- Organise Your Messages
- Set Up Podcasting
- Control How Proclaim Looks
- Import and Migrate
- Maintain Your Site
- Multi-Campus-Admin-Guide
- Multi-Campus-User-Guide
- Template-Customization-Guide
- Vimeo-API-Setup
- Print-Friendly-View
- Protected-Media-Storage
- Content-Security-Policy
- Troubleshooting-FAQ
- Setting-up-your-development-environment
- Standards and Conventions
- Contributing-Workflow
- REST API
- Database-Schema
- Location-API-Reference
- Backward-Compatibility-Breaks-10.1
- ARS Migration Plugin
- Proclaim-Code-Road-map
- Tasks
- Overview
- Admin Center
- Messages
- Media Files
- Servers
- Teachers
- Series
- Podcasts
- Topics
- Locations
- Comments
- Message Types
- Playlists
- Templates
- Utilities