# Updating Nextcloud 19.0 to Latest Docker Error

**URL:** <https://help.nextcloud.com/t/updating-nextcloud-19-0-to-latest-docker-error/123692>\
**Category:** ℹ️ Support\
**Created:** [September 15, 2021, 7:37am UTC](https://help.nextcloud.com/t/updating-nextcloud-19-0-to-latest-docker-error/123692 "2021-09-15T07:37:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![grimboto](https://help.nextcloud.com/letter_avatar/grimboto/32/6_449c533f586939b6e5f246632a46421f.png) [@grimboto](https://help.nextcloud.com/u/grimboto)\
**Post date:** [September 15, 2021, 7:37am UTC](https://help.nextcloud.com/t/updating-nextcloud-19-0-to-latest-docker-error/123692/1 "2021-09-15T07:37:07Z")

</div>

Hey i was running Nextcloud in docker and accidently rebuilt my image. i was running version 19 and now i can’t update to the latest version. I tried downgrading back to version 19 then tried to update to version 20 first but i’m getting the following error.

```auto
Update to 20.0.12
Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'ALTER TABLE oc_authtoken CHANGE `password_invalid` password_invalid TINYINT(1) DEFAULT '0'': SQLSTATE[HY000]: General error: 4047 InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE.

Detailed logs 
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

Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'ALTER TABLE oc_authtoken CHANGE `password_invalid` password_invalid TINYINT(1) DEFAULT '0'': SQLSTATE[HY000]: General error: 4047 InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE.

The update was unsuccessful. Please report this issue to the Nextcloud community.

```

the steps i took to downgrade

> **[How to fix an accidental Nextcloud docker image update - Nicolas Bouliane](https://nicolasbouliane.com/blog/nextcloud-docker-upgrade-error)**
>
> Here's what to do if you get "Updates between multiple major versions and downgrades are unsupported" after updating the docker image.

I’d be grateful for any help

---

<div class="post-metadata">

**Author:** ![Reiner\_Nippes](https://help.nextcloud.com/user_avatar/help.nextcloud.com/reiner_nippes/32/9479_2.png) [@Reiner\_Nippes](https://help.nextcloud.com/u/Reiner_Nippes)\
**Post date:** [September 15, 2021, 4:11pm UTC](https://help.nextcloud.com/t/updating-nextcloud-19-0-to-latest-docker-error/123692/2 "2021-09-15T16:11:14Z")

</div>

```auto
InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE.

```

did you google/search this error message along with nextcloud?

may be you have an old version of mariadb or missed some command line options. there are a lot of threads here in the forum about this subject.

e.g.: [https://techoverflow.net/2021/08/17/how-to-fix-nextcloud-4047-innodb-refuses-to-write-tables-with-row\_formatcompressed-or-key\_block\_size/](https://techoverflow.net/2021/08/17/how-to-fix-nextcloud-4047-innodb-refuses-to-write-tables-with-row_formatcompressed-or-key_block_size/)

---

<div class="post-metadata">

**Author:** ![grimboto](https://help.nextcloud.com/letter_avatar/grimboto/32/6_449c533f586939b6e5f246632a46421f.png) [@grimboto](https://help.nextcloud.com/u/grimboto)\
**Post date:** [September 15, 2021, 8:39pm UTC](https://help.nextcloud.com/t/updating-nextcloud-19-0-to-latest-docker-error/123692/3 "2021-09-15T20:39:33Z")

</div>

thanks, I found something after i posted.

adding ‘mysql.utf8mb4’ =\> false, to my nextcloud config file fixed the issue

thanks

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [September 23, 2024, 4:22pm UTC](https://help.nextcloud.com/t/updating-nextcloud-19-0-to-latest-docker-error/123692/4 "2024-09-23T16:22:14Z")

</div>

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