# Nextcloud problem with upgrade to 13

**URL:** <https://help.nextcloud.com/t/nextcloud-problem-with-upgrade-to-13/27057>\
**Category:** ℹ️ Support\
**Tags:** update\_problems, nc13\
**Created:** [February 8, 2018, 1:30am UTC](https://help.nextcloud.com/t/nextcloud-problem-with-upgrade-to-13/27057 "2018-02-08T01:30:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bear](https://help.nextcloud.com/user_avatar/help.nextcloud.com/bear/32/7637_2.png) [@bear](https://help.nextcloud.com/u/bear)\
**Post date:** [February 8, 2018, 1:30am UTC](https://help.nextcloud.com/t/nextcloud-problem-with-upgrade-to-13/27057/1 "2018-02-08T01:30:50Z")

</div>

after upgrade from version 12

- installed: true
- version: 13.0.0.14
- versionstring: 13.0.0

server: Debian Stable

occ upgrade:  
Nextcloud or one of the apps require upgrade - only a limited number of commands are available  
You may use your browser or the occ upgrade command to do the upgrade  
Set log level to debug  
Updating database schema  
Updated database  
Checking for update of app activity in appstore  
Checked for update of app “activity” in appstore  
Checking for update of app admin\_audit in appstore  
Checked for update of app “admin\_audit” in appstore  
Checking for update of app calendar in appstore  
Checked for update of app “calendar” in appstore  
Checking for update of app comments in appstore  
Checked for update of app “comments” in appstore  
Checking for update of app contacts in appstore  
Checked for update of app “contacts” 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\_external in appstore  
Checked for update of app “files\_external” 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 gallery in appstore  
Checked for update of app “gallery” 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 notes in appstore  
Checked for update of app “notes” 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 ownbackup in appstore  
Checked for update of app “ownbackup” 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 user\_saml in appstore  
Checked for update of app “user\_saml” 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`  
SET `mimetype` = ?  
WHERE `mimetype` \<\> ? AND `mimetype` \<\> ? AND `name` COLLATE UTF8\_general\_ci LIKE ?  
’ with params [“133”, 2, “133”, “%.gpx”]:

SQLSTATE[HY000]: General error: 1206 The total number of locks exceeds the lock table size  
Update failed  
Maintenance mode is kept active  
Reset log level

---

<div class="post-metadata">

**Author:** ![himbeere](https://help.nextcloud.com/letter_avatar/himbeere/32/6_22734026db12803ebb3e059622ac3534.png) [@himbeere](https://help.nextcloud.com/u/himbeere)\
**Post date:** [February 10, 2018, 11:05am UTC](https://help.nextcloud.com/t/nextcloud-problem-with-upgrade-to-13/27057/2 "2018-02-10T11:05:57Z")

</div>

> [@bear](#):
>
> SQLSTATE[HY000]: General error: 1206 The total number of locks exceeds the lock table size

Your mysql installation needs some tuning. Probably innodb\_buffer\_pool\_size is set to low. Try to search for that error. Maybe other solutions are available too.

---

<div class="post-metadata">

**Author:** ![tx7](https://help.nextcloud.com/letter_avatar/tx7/32/6_22734026db12803ebb3e059622ac3534.png) [@tx7](https://help.nextcloud.com/u/tx7)\
**Post date:** [February 11, 2018, 1:40am UTC](https://help.nextcloud.com/t/nextcloud-problem-with-upgrade-to-13/27057/3 "2018-02-11T01:40:17Z")

</div>

Hi,

I’m receiving this error while updating with the updater:

```
Parsing response failed. <html> <head><title>504 Gateway Time-out</title></head> <body bgcolor="white"> <center><h1>504 Gateway Time-out</h1></center> <hr><center>nginx</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->
```

---

<div class="post-metadata">

**Author:** ![tx7](https://help.nextcloud.com/letter_avatar/tx7/32/6_22734026db12803ebb3e059622ac3534.png) [@tx7](https://help.nextcloud.com/u/tx7)\
**Post date:** [February 11, 2018, 1:21pm UTC](https://help.nextcloud.com/t/nextcloud-problem-with-upgrade-to-13/27057/4 "2018-02-11T13:21:48Z")

</div>

I fixed by by performed the upgrade via CLI.

This v13 is a pain.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 3, 2024, 9:19pm UTC](https://help.nextcloud.com/t/nextcloud-problem-with-upgrade-to-13/27057/5 "2024-12-03T21:19:19Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 2:11pm UTC](https://help.nextcloud.com/t/nextcloud-problem-with-upgrade-to-13/27057/6 "2024-12-09T14:11:36Z")

</div>


