Web based Updater stuck - inconsistent data on version installed

Nextcloud version: 20.0.10
Operating system and version: Ubuntu 20.04.6 LTS
Apache or nginx version: 2.4.21
PHP version: 7.4.33

The issue you are facing:

Can not update from 25.0.10 to 25.0.13
Problem started when 25.0.11 came out.
Same issue when 25.0.12 came out.

Is this the first time you’ve seen this error? Y

Steps to replicate it:

  • Web Interface indicates installed version is 25.0.10 and a newer version 25.0.13 is available
  • Web Interface indicates all preconditions met to update to 25.0.13

  • clicking on “Updater öffnen” leads to this screen

  • The screen loads immediately and all green check marks are there immediately. Looks like nothing was performed on the server side

  • clicking on “continue update” leads to a redirect to the Dashboard.

  • The Web Interface “Admin/Overview” still indicates version 25.0.10 is installed an version 25.0.13 could be installed. Restarting Apache/Rebooting OS has no effect.

On the command line, “occ upgrade” indicates the “lastest version” is installed (however not saying which version it is).

Seems there is some mess with the version information/updater.

System was running smoothly so far, no changes made prior to trying to update to 25.0.11, 12 or 13.

The output of your Nextcloud log in Admin > Logging:


2023-12-02T15:54:22+0200 EdZeBC09CO [info] getChangelogURL()
2023-12-02T15:54:22+0200 EdZeBC09CO [info] end of checkForUpdate() Update to Nextcloud 25.0.13 available. (channel: "stable")<br /><span class="light">Following file will be downloaded automatically:</span> <code class="light">https://download.nextcloud.com/server/releases/nextcloud-25.0.13.zip</code><br /><a class="external_link" href="https://nextcloud.com/changelog/#25-0-13" target="_blank" rel="noreferrer noopener">Open changelog ↗</a>
2023-12-02T17:05:00+0200 lFGa5o4pLM [info] request to updater
2023-12-02T17:05:00+0200 lFGa5o4pLM [info] currentStep()
2023-12-02T17:05:00+0200 lFGa5o4pLM [info] Step 12 is in state "end".
2023-12-02T17:05:00+0200 lFGa5o4pLM [info] show HTML page
2023-12-02T17:05:00+0200 lFGa5o4pLM [info] current version: 25.0.10 build time: 2023-08-10T06:13:02+00:00 8ec206d4c5e802eeb2ba50aa255a92fcb6cde8e0
2023-12-02T17:05:00+0200 lFGa5o4pLM [info] getUpdateServerResponse()
2023-12-02T17:05:00+0200 lFGa5o4pLM [info] updaterServer: https://updates.nextcloud.com/updater_server/
2023-12-02T17:05:00+0200 lFGa5o4pLM [info] releaseChannel: stable
2023-12-02T17:05:00+0200 lFGa5o4pLM [info] internal version:
2023-12-02T17:05:00+0200 lFGa5o4pLM [info] updateURL: https://updates.nextcloud.com/updater_server/?version=25x0x10x1xxxstablexx2023-08-10T06%3A13%3A02%2B00%3A00+8ec206d4c5e802eeb2ba50aa255a92fcb6cde8e0x7x4x33
2023-12-02T17:05:00+0200 lFGa5o4pLM [info] getUpdateServerResponse response: Array
    [version] =>
    [versionstring] => Nextcloud 25.0.13
    [url] => https://download.nextcloud.com/server/releases/nextcloud-25.0.13.zip
    [web] => https://docs.nextcloud.com/server/25/admin_manual/maintenance/upgrade.html
    [changes] => https://updates.nextcloud.com/changelog_server/?version=25.0.13
    [autoupdater] => 1
    [eol] => 1
    [signature] => FVPFITm49G4y0pv7xo9XWeLw4zKopsAwrj2iVSW2je9Nq2U25RpudHkrSwHZY2JD

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

  'version' => '',

The output of your Apache/nginx/system log in /var/log/____:

Nothing related to be found in the logs. 

Try running occ maintenance:repair then re-attempt the normal update process.

My guess is you have an stale set of updater .step folders from a prior update run.

Thanks a lot @jtr, you nailed it, problem solved!

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.