They remain on the list of modules to update because they do not install the latest version. For example, vigie eau remains at v3.0 when it is supposed to install v3.4.
Hi @l.dolle ,
Thanks for the feedback, and sorry for the delayed response!
I looked into it in detail: the issue isn’t with the integrations, but with the version of Gladys you have installed.
On October 12th, VigiEau 3.4 and Prix carburants 2.4 were released with a new feature: choosing a Gladys home from a list. This functionality only exists since Gladys 5.2, so these versions require Gladys 5.2 at minimum.
On an older version, Gladys doesn’t know how to read the description of the new integration version. Instead of displaying an error, it reinstalls the already existing version. The update seems to go through normally, but you stay on 3.0, and the integration remains in the “To update” list. This is exactly what you’re observing.
To fix this:
Update Gladys to the latest version (5.3.2 today). You can see your current version in Settings > System .
Then, restart the update of the two integrations. You’ll go directly to VigiEau 3.6 and Prix carburants 2.6, which now require Gladys 5.3 at minimum.
If Gladys still gets stuck, send me the logs at the moment you click “Update”. A line Ignoring the invalid repo manifest of prohand/gladys-vigieau will give us the exact cause.
On our side, Gladys shouldn’t have offered you an update it can’t install without explaining why. I opened an issue to fix this, with a clear message “requires Gladys x.y” instead: #3359
Keep me posted!
Hi everyone!
This topic is now in development .
A PR has been opened to no longer propose an integration update that Gladys cannot apply, and to indicate when a version has been ignored:
master ← fix/external-integration-update-incompatible-gladys
opened 09:32AM - 13 Nov 26 UTC
### Description
When the latest store version of an installed external integrat… ion requires a newer Gladys than the running one, Gladys still offered it as an update. Clicking "Update" then re-installed the version already there and reported a success: the integration stayed in "To update" forever (header counter and "Update all" included), and nothing told the admin why (reported on the forum with VigiEau, stuck at 3.0 while 3.4 was offered, and Prix carburants).
**Root cause** (checked against `master`)
- `isUpdateAvailable` / `getLatestVersion` compared versions only and ignored the manifest's `gladys_version`, so a version requiring a newer Gladys was flagged `update_available`.
- `update()` dropped that manifest because `validateManifest` refused it (it declares fields this Gladys doesn't know yet, e.g. `source: "houses"`, `keywords`, `countries`). It then fell back on the installed image as a last resort and returned success with the old version. On top of that, `fetchManifestFromRepo` validated the repo manifest, so the update never even saw the repo version.
**Fix**
Server (`server/lib/external-integration/`):
- New `getLatestManifest` (the manifest behind `getLatestVersion`) and `getRequiredGladysVersion`. If the latest known version is newer but the running Gladys doesn't satisfy its `gladys_version`, `update_available` is now `false`, and the range is exposed as **`update_requires_gladys_version`** in `GET /api/v1/external_integration` and `GET .../:selector`. The rule is the same as the catalog's `compatible` flag: an unknown Gladys version satisfies everything, and a malformed range is left to `validateManifest`.
- `update()` checks `gladys_version` **before** `validateManifest`. The repo manifest is fetched with `fetchManifestFromRepo(slug, { validate: false })` and validated by the update itself. Every dropped candidate is recorded, and the response now carries **`skipped_update: { version, reason, gladys_version }`**: the most recent version newer than the one installed that the update couldn't apply. `reason` is `GLADYS_VERSION`, `INVALID_MANIFEST` or `IMAGE_UNAVAILABLE`, and the field is `null` when the latest version was installed. Re-pulling the running image as a last resort still happens, but it's no longer reported as a silent success.
- A repo manifest dropped for its `gladys_version` stays in `repoManifests`. It never turns the badge on, it only feeds the "update Gladys first" notice. Repo manifests that are invalid or can't be pulled are still evicted, as before.
Front:
- Catalog card: a version requiring a newer Gladys shows `v1.0.0 → v2.0.0` and "This version requires Gladys >=x: update Gladys first", with **no Update button**. It's not counted in the header, not listed in "To update", and not part of "Update all". After an update that skipped a version, the card says which version wasn't installed and why, instead of "Updated to vX".
- Supervision screen: a warning banner replaces "update available" in that case (the button stays "Force update"). The update outcome names the version that wasn't installed, why, and what is installed now, instead of "already up to date".
- Translations added in en / fr / de / es.
Spec updated in the same diff: `docs/specs/external-integrations/core/store.md` (detection, update candidates, `skipped_update`), `contracts/management-api.md` (C.5 fields), `core/frontend.md` (card, counter, "Update all", supervision block).
### Related request
Forum: https://community.gladysassistant.com/t/probleme-de-mise-a-jour-de-vigie-eau-et-prix-carburant/11105
Closes #3359
### Checklist
- [x] If a forum topic or GitHub issue exists, the description links it (`Forum: https://community.gladysassistant.com/t/...` or `Closes #...`)
- [x] Tests pass: `cd server && npm run coverage` (Codecov requires 100% coverage on changed lines) and Cypress (`npm run cypress:run`) if the UI changed
- [x] Linter and prettier pass on both front and server (`npm run eslint`, `npm run prettier`)
- [x] No undocumented breaking change
**Checks run locally**
- Server: `prettier` / `prettier-check` ✅, `eslint` ✅ (0 errors, only existing warnings), `npm run coverage`: every changed line and branch is covered (lcov). 26 tests fail in this container: Gladys Plus gateway / backup / voice tests that need the `sqlite3` CLI (not installed here; CI installs it) and get `405` from the Gladys Plus gateway in this sandbox. The same set fails identically on the base commit (`970147c`: 31 passing / 20 failing for the same three gateway test files), so the failures aren't caused by this change.
- Front: `prettier` / `prettier-check` ✅, `eslint` ✅ (0 errors), `compare-translations` ✅, `build` ✅.
- Cypress: new specs in `ExternalIntegrationCardUpdate.cy.js` (2 tests) and a new `ExternalIntegrationSupervisionUpdate.cy.js` (2 tests). The card / "Update all" / supervision specs pass (18/18). The full suite (`npm run start:cypress` + `npm run cypress:run`), re-run after rebasing on the latest `master`, passes: 149/149.
---
_Generated by [Claude Code](https://claude.ai/code/session_01MNjB37aebpuL55hWq1Xckc)_
Feel free to follow the PR, test (optional, especially for small requests) and give your feedback here if needed.
Hello,
Gladys no longer offers an external integration update that it cannot apply, and indicates when a version has been skipped. This is fixed in Gladys Assistant 5.3.3 .
Details are in the announcement:
Hi everyone!
Gladys Assistant 5.3.3 is out
Don’t let the version number fool you: this release is almost entirely about one project, Gladys on your phone. Many of you check your dashboard on your smartphone, but as soon as you wanted to change a widget or a scene, you were facing a desktop form squeezed onto a small screen. So we rebuilt dashboard and scene editing starting from the phone. On a computer, your habits don’t change.
[The Devices widget, the scene list and the scene editor…