I realized that a few websites running with Panopticon 2 and connector 1.0.7 could not get the connector updated to 1.1.0 automatically. Backend manual updating the connector works. After many different attempts, I tried to analyze the issue with AI and realized that it might be an issue in the XML file? Is that a real issue or just a problem on my side?
I hope this helps:
# Panopticon Connector update XML - targetplatform regex does not match Joomla 5.1+ or 6.x
## Summary
The Panopticon Connector's update server XML (`https://cdn.akeeba.com/updates/pkg_panopticon.xml`) uses a `targetplatform` regex that only matches Joomla 4.0–4.4 and 5.0. This prevents Joomla 5.1+ and 6.x sites from detecting connector updates through the standard Joomla update system. As a result, Panopticon cannot auto-update its own connector on managed sites running Joomla 5.1 or later.
## Environment
- **Panopticon version**: 2.0.0 (self-hosted) - **Connector installed**: 1.0.7 on most sites, 1.1.0 on a few (manually upgraded) - **Joomla versions on managed sites**: 5.2.x – 5.4.4 and 6.0.3 - **Number of affected sites**: 80+
## Problem
### 1. targetplatform regex excludes Joomla 5.1+
Every entry in `https://cdn.akeeba.com/updates/pkg_panopticon.xml` (including 1.0.8) uses:
```xml <targetplatform name="joomla" version="((4\.(0|1|2|3|4))|(5\.(0)))"/> ```
This regex matches: - Joomla 4.0, 4.1, 4.2, 4.3, 4.4 ✓ - Joomla 5.0 ✓ - Joomla 5.1, 5.2, 5.3, 5.4 ✗ **NOT matched** - Joomla 6.0, 6.1 ✗ **NOT matched**
For comparison, Akeeba Backup Professional's update XML (`pkgakeebabackuppro.xml`) correctly uses:
```xml <targetplatform name="joomla" version="((4\.(4|5))|(5\.(0|1|2|3|4|5|6|7|8|9))|(6\.(0|1)))"/> ```
### 2. The same bug exists in the GitHub source
The file `updates/pkg_panopticon.xml` in the `akeeba/panopticon-connector` repository (checked on the `main` branch) contains the same restrictive regex for ALL versions including 1.1.0. This appears to be a build template issue — the targetplatform value was never updated when Joomla 5.1+ and 6.x support was added.
### 3. CDN XML is missing version 1.1.0
The CDN file at `https://cdn.akeeba.com/updates/pkg_panopticon.xml` only lists versions up to 1.0.8. Version 1.1.0 (released 2026-03-17) is present in the GitHub repository's `updates/pkg_panopticon.xml` but has not been published to the CDN.
### 4. README contradicts release notes on supported versions
The repository README states supported Joomla versions as:
> "Joomla 4.0, 4.1, 4.2, 4.3, 4.4, or 5.0"
However, the 1.1.0 release notes state:
> "Joomla! 4.0 to 6.1, inclusive."
The targetplatform regex in `updates/pkg_panopticon.xml` matches the README (up to 5.0) but not the release notes (up to 6.1). This suggests the README and the update XML were not updated when 1.1.0 expanded Joomla version support.
For reference, the connector 1.1.0 actually installs and works correctly on Joomla 5.4.4 and 6.0.3 — we verified this on our sites. The version restriction appears to be only in the update XML and documentation, not in the code itself.
## What We Tried
1. **Verified update site is registered**: On our Joomla 5.4.4 sites, the update site `https://cdn.akeeba.com/updates/pkg_panopticon.xml` IS correctly registered in `#__update_sites`. Panopticon shows no "Update Site Missing" warning for the connector.
2. **Checked Panopticon extension update settings**: The connector is set to "Install Any Version" (which the wiki says is non-configurable and always on).
3. **Ran `site:extensions:refresh --force`**: Panopticon refreshed extensions successfully but reported "no extensions need to be updated".
4. **Ran `task:extensionupdates:director --force`**: Same result — zero extensions queued for the connector.
5. **Verified other Akeeba extensions update correctly**: Akeeba Backup Professional and Admin Tools Professional on the same sites DO detect updates through Panopticon, because their update XMLs use a correct targetplatform regex that covers Joomla 5.x.
6. **Manually fetched and compared the update XMLs**: - `pkgakeebabackuppro.xml` → targetplatform includes `5\.(0|1|2|3|4|5|6|7|8|9)` ✓ - `pkg_panopticon.xml` → targetplatform only includes `5\.(0)` ✗
## Expected Behavior
The connector's update XML should use a targetplatform regex that matches all supported Joomla versions. According to the 1.1.0 release notes, the connector supports "Joomla! 4.0 to 6.1, inclusive", so the regex should be something like:
```xml <targetplatform name="joomla" version="((4\.(0|1|2|3|4|5))|(5\.(0|1|2|3|4|5|6|7|8|9))|(6\.(0|1)))"/> ```
Additionally, version 1.1.0 should be published to the CDN at `https://cdn.akeeba.com/updates/pkg_panopticon.xml`.
## Impact
- **Panopticon 2.0 cannot auto-update its own connector** on any site running Joomla 5.1 or later — which is the vast majority of active Joomla sites today. - The wiki states the connector "always updates automatically (non-configurable)", but this is currently not possible due to the regex mismatch. - Site administrators managing 80+ sites must manually upgrade the connector on each site, which defeats the purpose of centralized management. - Panopticon 2.0 requires connector 1.1.0 for full functionality (the `/panopticon/core/update` API endpoint returns 404 with connector 1.0.7 on Joomla 5.x sites). This makes the update gap a blocker for Panopticon 2.0 adoption.
## Suggested Fix
1. Update `build/templates/update.xml` (or equivalent) to use the correct targetplatform regex matching all supported Joomla versions (4.0–6.1 per the 1.1.0 release notes). 2. Rebuild and publish `updates/pkg_panopticon.xml` to CDN with the corrected regex and including version 1.1.0. 3. Update the README to reflect the actual supported Joomla versions (currently says "4.0–5.0" while 1.1.0 release notes say "4.0–6.1").