Skip to content
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

Nextcloud Error after upgrading / fresh install "General error: 4047 InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE." #72

Open
eitschalot opened this issue Dec 15, 2021 · 1 comment

Comments

@eitschalot
Copy link

HI, after setting up nextcloud on the last release I get following error:
"Error while trying to initialise the database: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 4047 InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE."

In the nextcloud forum I found even the solution: https://help.nextcloud.com/t/update-to-next-cloud-21-0-2-has-get-an-error/117028

But I am still puzzled how to configure the yaml file for the database to put in this fix?
Can someone please help?

@eitschalot eitschalot changed the title Nextcloud Error after upgrading / fresh install Nextcloud Error after upgrading / fresh install "General error: 4047 InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE. Dec 15, 2021
@eitschalot eitschalot changed the title Nextcloud Error after upgrading / fresh install "General error: 4047 InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE. Nextcloud Error after upgrading / fresh install "General error: 4047 InnoDB refuses to write tables with ROW_FORMAT=COMPRESSED or KEY_BLOCK_SIZE." Dec 15, 2021
@eitschalot
Copy link
Author

Got an update:
A very very ugly but working solution is to fix the mariadb version to release 10.5. Apparently the latest version of mariadb is not supported and I did not find a way to pass the env value as described in the post on the nextcloud forum.

So what you need to do is to change file "team-container/team-nextcloud/templates/deploy_database.yaml" and change the entry "image: mariadb" to "image:mariadb:10.5"

After that change the database boots correctly and nextcloud will work again.

Still I hope that nextcloud will again support the latest version of mariadb properly....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant