-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsuccessful Update to 14.x #11820
Comments
It seems that the mysql server stopped during the upgrade :/ There is unfortunately very little we can do in this case :( Just retry again the upgrade and maybe check the logs of your DB server. |
@MorrisJobke I can confirm mysql is running on the server and I even tried rebooting it and trying to update via the command line. 13.x was working fine and I didn't make any changes to the server other than clicking the update button |
This then looks a lot like #8863 |
Solved my issue by running apt-get update and apt-get upgrade, which updated the mysql database. Not sure what version I was running before, but here's part of the logs if it helps:
After that I just ran rebooted and ran sudo -uwww-data php occ upgrade and everything worked |
It also did some stuff with PHP, so that might have been the issue:
|
Maybe this helps:
|
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ' UPDATE
oc_filecache
SETmimetype
= ? WHEREmimetype
<> ? ANDmimetype
<> ? ANDname
COLLATE utf8mb4_general_ci LIKE ? ' with params ["73", 2, "73", "%.vsdm"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone awayDetailed logs
Preparing update
Set log level to debug
Turned on maintenance mode
Updating database schema
Updated database
Updated "federatedfilesharing" to 1.4.0
Updated "files_pdfviewer" to 1.3.2
Updated "files_texteditor" to 2.6.0
Updated "files_videoplayer" to 1.3.0
Updated "password_policy" to 1.4.0
Updated "provisioning_api" to 1.4.0
Updated "serverinfo" to 1.4.0
Updated "survey_client" to 1.2.0
Updated "twofactor_backupcodes" to 1.3.1
Updated "updatenotification" to 1.4.1
Updated "federation" to 1.4.0
Updated "lookup_server_connector" to 1.2.0
Updated "oauth2" to 1.2.1
Updated "files" to 1.9.0
Updated "activity" to 2.7.0
[0 / 0]: Fix broken values of calendar objects
Updated "dav" to 1.6.0
Updated "encryption" to 2.2.0
Updated "files_sharing" to 1.6.2
Updated "files_trashbin" to 1.4.1
Updated "files_versions" to 1.7.1
Updated "sharebymail" to 1.4.0
Updated "workflowengine" to 1.4.0
Updated "firstrunwizard" to 2.3.0
Updated "nextcloud_announcements" to 1.3.0
Updated "notifications" to 2.2.1
Updated "theming" to 1.5.0
Checking for update of app "activity" in appstore
Checked for update of app "activity" in appstore
Checking for update of app "cloud_federation_api" in appstore
Checked for update of app "cloud_federation_api" in appstore
Checking for update of app "dav" in appstore
Checked for update of app "dav" in appstore
Checking for update of app "encryption" in appstore
Checked for update of app "encryption" in appstore
Checking for update of app "federatedfilesharing" in appstore
Checked for update of app "federatedfilesharing" in appstore
Checking for update of app "federation" in appstore
Checked for update of app "federation" in appstore
Checking for update of app "files" in appstore
Checked for update of app "files" in appstore
Checking for update of app "files_pdfviewer" in appstore
Checked for update of app "files_pdfviewer" in appstore
Checking for update of app "files_sharing" in appstore
Checked for update of app "files_sharing" in appstore
Checking for update of app "files_texteditor" in appstore
Checked for update of app "files_texteditor" in appstore
Checking for update of app "files_trashbin" in appstore
Checked for update of app "files_trashbin" in appstore
Checking for update of app "files_versions" in appstore
Checked for update of app "files_versions" in appstore
Checking for update of app "files_videoplayer" in appstore
Checked for update of app "files_videoplayer" in appstore
Checking for update of app "firstrunwizard" in appstore
Checked for update of app "firstrunwizard" in appstore
Checking for update of app "logreader" in appstore
Checked for update of app "logreader" in appstore
Checking for update of app "lookup_server_connector" in appstore
Checked for update of app "lookup_server_connector" in appstore
Checking for update of app "nextcloud_announcements" in appstore
Checked for update of app "nextcloud_announcements" in appstore
Checking for update of app "notifications" in appstore
Checked for update of app "notifications" in appstore
Checking for update of app "oauth2" in appstore
Checked for update of app "oauth2" in appstore
Checking for update of app "password_policy" in appstore
Checked for update of app "password_policy" in appstore
Checking for update of app "provisioning_api" in appstore
Checked for update of app "provisioning_api" in appstore
Checking for update of app "serverinfo" in appstore
Checked for update of app "serverinfo" in appstore
Checking for update of app "sharebymail" in appstore
Checked for update of app "sharebymail" in appstore
Checking for update of app "survey_client" in appstore
Checked for update of app "survey_client" in appstore
Checking for update of app "theming" in appstore
Checked for update of app "theming" in appstore
Checking for update of app "twofactor_backupcodes" in appstore
Checked for update of app "twofactor_backupcodes" in appstore
Checking for update of app "updatenotification" in appstore
Checked for update of app "updatenotification" in appstore
Checking for update of app "workflowengine" in appstore
Checked for update of app "workflowengine" in appstore
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing ' UPDATE
oc_filecache
SETmimetype
= ? WHEREmimetype
<> ? ANDmimetype
<> ? ANDname
COLLATE utf8mb4_general_ci LIKE ? ' with params ["73", 2, "73", "%.vsdm"]: SQLSTATE[HY000]: General error: 2006 MySQL server has gone awayThe update was unsuccessful. Please report this issue to the Nextcloud community.
The text was updated successfully, but these errors were encountered: