Docker update detection prompt to update again depsite using the latest version #2204

Closed
opened 2026-10-05 01:09:39 +02:00 by adam · 1 comment
Owner

When using piwigo docker 16.3.0a, a prompt for updating to piwigo 16.2.0b appear due to the update script not accounting for the latest version reported by piwigo.org being lower than the current version.

// This is the same as check for != 0 or non equal
if ($this->container_version_compare($build_version, $last_version))
{
  // Prompt for update
}

To prevent issue like this in the future, only consider updating when the latest version is higher than the locally reported version.

When using piwigo docker 16.3.0a, a prompt for updating to piwigo 16.2.0b appear due to the update script not accounting for the latest version reported by piwigo.org being lower than the current version. ```php // This is the same as check for != 0 or non equal if ($this->container_version_compare($build_version, $last_version)) { // Prompt for update } ``` To prevent issue like this in the future, only consider updating when the latest version is higher than the locally reported version. <!-- github-sync-id:4082056064 -->
adam closed this issue 2026-10-05 01:09:39 +02:00
Author
Owner
related to https://piwigo.org/forum/viewtopic.php?id=34765 <!-- github-comment-id:4067649915 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#2204