Open
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
when using recognize app with MariaDB 11.7.2 in Nextcloud 31 you get an SQL error.
Steps to reproduce
- Install latest MariaDB (not supported yet, but will eventually become supported I believe)
- Install Nextcloud 31
- Install recognize App
- SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LONGTEXT NOT NULL, cluster_id BIGINT DEFAULT NULL, threshold DOUBLE PRECISION...' at line 1
In recognize (I'm the author and maintainer), I'm using the following model code to access the db: https://github.com/nextcloud/recognize/blob/main/lib/Db/FaceDetection.php#L65
And the following code for the migration that seems to offend: https://github.com/nextcloud/recognize/blob/main/lib/Migration/Version003001000Date20221017094721.php#L31
Expected behavior
It should just work as it did in previous MariaDB versions.
Nextcloud Server version
31
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response