Updating from 14.0.4 to 15.0.4 fails

Updating via the browser admin does not function so I updated manually instead

The issue I’m facing is the all goes well until I get this this spot …

Update to 15.0.4

  • Preparing update
  • Set log level to debug
  • Turned on maintenance mode
  • Repair step: Repair MySQL collation
  • Repair info: All tables already have the correct collation -> nothing to do
  • Repair step: Repair SQLite autoincrement
  • Repair step: Copy data from accounts table when migrating from ownCloud
  • Repair step: Drop account terms table when migrating from ownCloud
  • Updating database schema
    *** An error occurred.**

Please Reload the Page

Then …

Maintenance mode

This Nextcloud instance is currently in maintenance mode, which may take a while. This page will refresh itself when the instance is available again.
Contact your system administrator if this message persists or appeared unexpectedly.

config.php

    <?php
    $CONFIG = array (
      'instanceid' => 'occxxx',
      'passwordsalt' => 'xxxx',
      'secret' => 'xxx',
      'trusted_domains' => 
      array (
        0 => 'domain.com.au',
        1 => 'www.domain.com.au',
      ),
      'datadirectory' => '/home/domain/ncdata',
      'overwrite.cli.url' => 'https://domain.com.au/nextcloud',
      'dbtype' => 'mysql',
      'version' => '14.0.4.2',
      'dbname' => 'growthpo_nextcloud',
      'dbhost' => 'localhost',
      'dbport' => '',
      'dbtableprefix' => 'oc_',
      'dbuser' => '
      'dbpassword' => ',
      'logtimezone' => 'UTC',
      'installed' => true,
      'updater.server.url' => 'https://updates.nextcloud.com/updater_server/',
      'updater.release.channel' => 'stable',
      'maintenance' => true,
      'filelocking.enabled' => true,
      'theme' => '',
      'loglevel' => 0,
      'trashbin_retention_obligation' => 'auto',
      'updater.secret' => 'xxxx',
    );

Nextcloud version 14.0.4_:
PHP version _7.1.26

Did you check your logfiles? There is hopefully more information in case a table is broken or something else.

Suggested location?
I have rolled back the update as I need to use NC
So will have to attempt update again and find that file.

You can always try a manual upgrade.

First line of this thread … Updating via the browser admin does not function so I updated manually instead
Tried this multiple times

I have the same problem how did you rolled back?

Used my cPanel backup and reverted back a couple of days.
Wish the update was a simple.

Om here’s my zipped logfile having just “tried” to update manually again. :disappointed_relieved:
Logfile
I have no apps installed.

Nextcloud will be updated to version 15.0.4
These apps will be updated:

Accessibility (accessibility)
Activity (activity)
Cloud Federation API (cloud_federation_api)
Comments (comments)
WebDAV (dav)
Federated file sharing (federatedfilesharing)
Federation (federation)
Files (files)
PDF viewer (files_pdfviewer)
File sharing (files_sharing)
Text editor (files_texteditor)
Deleted files (files_trashbin)
Versions (files_versions)
Video player (files_videoplayer)
First run wizard (firstrunwizard)
Gallery (gallery)
Lookup Server Connector (lookup_server_connector)
Nextcloud announcements (nextcloud_announcements)
Notifications (notifications)
OAuth 2.0 (oauth2)
Password policy (password_policy)
Provisioning API (provisioning_api)
Monitoring (serverinfo)
Share by mail (sharebymail)
Usage survey (survey_client)
Collaborative tags (systemtags)
Theming (theming)
Two factor backup codes (twofactor_backupcodes)
Update notification (updatenotification)
Files workflow engine (workflowengine)

These incompatible apps will be disabled:

(bruteforcesettings)

Please make sure that the database, the config folder and the data folder have been backed up before proceeding.
To avoid timeouts with larger installations, you can instead run the following command from your installation directory:

Refresh the page … :thinking:

Maintenance mode

This Nextcloud instance is currently in maintenance mode, which may take a while. This page will refresh itself when the instance is available again.

Contact your system administrator if this message persists or appeared unexpectedly.

Ok looks like I’m Cinderella here.
I’ve now blown away my old 14.04 to install 15.04, which isn’t the first time I’ve had this issue … this is most disappointing :unamused:

sorry to hear that, did you go further in the log file - the link you provided is not helpful, it looks some antimicrobial stuff.

Thanks for getting back John
I removed the file as it was of no further use to the issue for me.
I’ve already trashed the old version and reinstalled the new one.
If it is of use to further research as to a resolution to this ongoing issue I can put it back for you.