Nextcloud version: Nextcloud Hub 8 (29.0.5)
Operating system and version: Arch Linux (fully updated)
nginx version: 1.26.2
PHP version: 8.3.10
The issue you are facing:
After upgrading from Nextcloud 29.0.4 to 29.0.5 I always get the following error when executing “occ maintenance:repair”:
- Convert multi accounts
- ERROR: An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1364 Field 'token_type' doesn't have a default value
This error also gets reflected in the Logging together with another error:
Error no app in context
DbalException An exception occurred while executing a query: SQLSTATE[HY000]: General error: 1364 Field 'token_type' doesn't have a default value
Exception while executing repair step Convert multi accounts
Warning no app in context
DbalException An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory
exception while getMetadataFromDatabase()
Is this the first time you’ve seen this error? : Yes
How can I fix the database table/data so the error goes away?