Upgrade Unsuccessful. Now Can't Access Log In Page

Was trying to upgarde to v26. But Failed.

Preparing update. The error. Now I can’t access the log in page.

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

Updated database

Updated “federation” to 1.16.0

Updated “lookup_server_connector” to 1.14.0

Repair step: Update OAuth token expiration times

Updated “oauth2” to 1.14.0

Updated “password_policy” to 1.16.0

Updated “photos” to 2.2.0

Updated “files” to 1.21.1

Updated “activity” to 2.18.0

Repair step: Upgrading Circles App

Updated “circles” to 26.0.0

Updated “cloud_federation_api” to 1.9.0

Repair step: Fix component of birthday calendars

Repair info: 1 birthday calendars updated.

Repair step: Regenerating birthday calendars to use new icons and fix old birthday events without year

Repair info: Adding background jobs to regenerate birthday calendar

Repair step: Fix broken values of calendar objects

[0 / 0]: Fix broken values of calendar objects

Repair step: Registering building of calendar search index as background job

Repair info: Add background job

Repair step: Register building of social profile search index as background job

Repair step: Registering background jobs to update cache for webcal calendars

Repair info: Added 0 background jobs to update webcal calendars

Repair step: Registering building of calendar reminder index as background job

Repair info: Add background job

Repair step: Clean up orphan event and contact data

Repair info: 0 events without a calendar have been cleaned up

Repair info: 0 properties without an events have been cleaned up

Repair info: 0 changes without a calendar have been cleaned up

Repair info: 0 cached events without a calendar subscription have been cleaned up

Repair info: 0 changes without a calendar subscription have been cleaned up

Repair info: 0 contacts without an addressbook have been cleaned up

Repair info: 0 properties without a contact have been cleaned up

Repair info: 0 changes without an addressbook have been cleaned up

Repair step: Remove activity entries of private events

Repair info: Removed 0 activity entries

Repair step: Clean up old calendar subscriptions from deleted users that were not cleaned-up

[0 / 0]: Clean up old calendar subscriptions from deleted users that were not cleaned-up

Repair info: 0 calendar subscriptions without an user have been cleaned up

Repair step: Remove invalid object properties

Repair info: 0 invalid object properties removed.

Updated “dav” to 1.25.0

Repair step: Fix the share type of guest shares when migrating from ownCloud

Repair step: Copy the share password into the dedicated column

Repair step: Set existing shares as accepted

Updated “files_sharing” to 1.18.0

Updated “files_trashbin” to 1.16.0

Updated “files_versions” to 1.19.1

Updated “sharebymail” to 1.16.0

Repair step: Populating added database structures for workflows

Updated “workflowengine” to 2.8.0

Updated “comments” to 1.16.0

Updated “firstrunwizard” to 2.15.0

Updated “nextcloud_announcements” to 1.15.0

Updated “notifications” to 2.14.0

Updated “systemtags” to 1.16.0

Repair step: Failed to clean up the old administration theming images folder

Repair info: Migrating administration images

Repair info: No administration images to migrate

Repair step: Migrate old user accessibility config

[1 / 0]: Migrate old user accessibility config

[1 / 1]: Migrate old user accessibility config

Repair step: Initialize migration of background images from dashboard to theming app

Updated “theming” to 2.1.1

Updated “contactsinteraction” to 1.7.0

Updated “dashboard” to 7.6.0

Updated “federatedfilesharing” to 1.16.0

Updated “files_pdfviewer” to 2.7.0

Updated “logreader” to 2.11.0

Updated “privacy” to 1.10.0

Updated “provisioning_api” to 1.16.0

Updated “recommendations” to 1.5.0

Updated “related_resources” to 1.1.0-alpha1

Updated “serverinfo” to 1.16.0

Updated “settings” to 1.8.0

Repair step: Switches from default updater server to the customer one if a valid subscription is available

Updated “support” to 1.9.0

Repair step: Send an admin notification if monthly report is disabled

Updated “survey_client” to 1.14.0

Repair step: Force-reset all Text sessions before Yjs migration

[1 / 1]: Force-reset all Text sessions before Yjs migration

[1 / 1]: Force-reset all Text sessions before Yjs migration

Updated “text” to 3.7.2

Repair step: Add background job to check for backup codes

Updated “twofactor_backupcodes” to 1.15.0

Updated “updatenotification” to 1.16.0

Updated “user_status” to 1.6.0

Updated “viewer” to 1.10.0

Updated “weather_status” to 1.6.0

Repair step: Repair MySQL collation

Repair info: All tables already have the correct collation → nothing to do

Repair step: Repair mime types

Repair step: Clean tags and favorites

Repair info: 0 tags of deleted users have been removed.

Repair info: 0 tags for delete files have been removed.

Repair info: 0 tag entries for deleted tags have been removed.

Repair info: 0 tags with no entries have been removed.

Repair step: Repair invalid shares

Repair step: Move .step file of updater to backup location

Repair step: Add move avatar background job

Repair info: Repair step already executed

Repair step: Add preview cleanup background jobs

Repair step: Migrate oauth2_clients table to nextcloud schema

Repair info: Update the oauth2_access_tokens table schema.

Repair info: Update the oauth2_clients table schema.

Repair step: Fix potential broken mount points

Repair info: No mounts updated

Repair step: Repair language codes

Repair step: Add log rotate job

Repair step: Clear frontend caches

Repair info: Image cache cleared

Repair info: JS cache cleared

Repair step: Clear every generated avatar on major updates

Repair step: Add preview background cleanup job

Repair step: Queue a one-time job to cleanup old backups of the updater

Repair step: Cleanup invalid photocache files for carddav

Repair step: Add background job to cleanup login flow v2 tokens

Repair step: Remove potentially over exposing share links

Repair info: No need to remove link shares.

Repair step: Clear access cache of projects

Repair step: Reset generated avatar flag

Repair step: Keep legacy encryption enabled

Repair step: Check encryption key format

Repair step: Remove old dashboard app config data

Repair step: Add job to cleanup the bruteforce entries

Repair step: Queue a one-time job to check for user uploaded certificates

Repair step: Repair DAV shares

Repair step: Add background job to set the lookup server share state for users

Repair step: Add token cleanup job

Repair step: Clean up abandoned apps

Repair step: Add possibly missing system config

Starting code integrity check

Doctrine\DBAL\Exception\DriverException: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 4031 The client was disconnected by the server because of inactivity. See wait_timeout and interactive_timeout for configuring this behavior.

my crystal ball is broken…

What’s your envoirement?
Did your restart your server?
Did you restart mysql?
Did you restart apache2 or NGiNX?

did your search for the error you got https://dev.mysql.com/doc/mysql-errors/8.0/en/server-error-reference.html#error_er_client_interaction_timeout

And the settings suggested too look at
https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_wait_timeout

https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_interactive_timeout