'Update site not found' — package update site not auto-registered #309

Open
opened 2026-07-18 20:17:41 +00:00 by jmiller · 1 comment
Owner

Type: bug Priority: medium Component: com_mokosuitebackup / script.php

Summary

Backup Records shows: "MokoSuiteBackup update site not found. Reinstall the package to register the update server." The records view checks #__update_sites for the pkg_mokosuitebackup row; when it is missing the extension can never pull updates and the only remedy was a manual reinstall.

Fix (this PR)

script.php postflight now calls a new ensureUpdateSite() that recreates the #__update_sites (+ _extensions) row idempotently, re-attaching a preserved download key — so the install self-heals on the next install/update.

**Type:** bug **Priority:** medium **Component:** com_mokosuitebackup / script.php ### Summary Backup Records shows: *"MokoSuiteBackup update site not found. Reinstall the package to register the update server."* The records view checks `#__update_sites` for the `pkg_mokosuitebackup` row; when it is missing the extension can never pull updates and the only remedy was a manual reinstall. ### Fix (this PR) `script.php` `postflight` now calls a new `ensureUpdateSite()` that recreates the `#__update_sites` (+ `_extensions`) row idempotently, re-attaching a preserved download key — so the install self-heals on the next install/update.
Author
Owner

Branch created: feature/309-update-site-not-found-package-update-sit

git fetch origin
git checkout feature/309-update-site-not-found-package-update-sit
Branch created: [`feature/309-update-site-not-found-package-update-sit`](https://git.mokoconsulting.tech/MokoConsulting/MokoSuiteBackup/src/branch/feature/309-update-site-not-found-package-update-sit) ```bash git fetch origin git checkout feature/309-update-site-not-found-package-update-sit ```
Sign in to join this conversation.