Update from 34.0.4 to 34.0.5 shows errors for detected downgrade

Ran the upgrade from the CLI:

Nextcloud Updater - version: v34.0.0rc2-5-g713ccce

Current version is 34.0.4.

Update to Nextcloud 34.0.5 available. (channel: “stable”)

This completed as expected.

From the GUI ~ 30 Log errors were reported:

Detected downgrade attempt from installed 34.0.5.1 to code 34.0.4.1

If I re-run the CLI upgrade:

Nextcloud Updater - version: v34.0.0rc2-5-g713ccce

Current version is 34.0.5.

Update to Nextcloud 35.0.2 available. (channel: “stable”)

It displays the available upgrades as expected.

Clearly there’s something not right here, though I’m most concerned about any corrective actions needed.

We have a support template for a reason…

If I was to take a wild guess, your environment has non-standard opcache validation settings. See the Admin Manual, specifically: OPcache Revalidation.