-
Notifications
You must be signed in to change notification settings - Fork 55
Description
Which version of recognize are you using?
9.0.3
Enabled Modes
Object recognition, Face recognition
TensorFlow mode
Normal mode
Downstream App
Photos App
Which Nextcloud version do you have installed?
31.0.7.1
Which Operating system do you have installed?
Debian 13
Which database are you running Nextcloud on?
11.8.3 (dockerized)
Which Docker container are you using to run Nextcloud? (if applicable)
31.0.7.1 (dockerized)
How much RAM does your server have?
128GB
What processor Architecture does your CPU have?
x86_64
Describe the Bug
I see the following error when attempting to upgrade the recognize app:
Setting log level to debug
Updating database schema
Updated database
Updating <recognize> ...
Exception: Database error when running migration 010000001Date20250727094821 for app recognize
An exception occurred while executing a query: 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 'vector, CHANGE face_vector face_vector LONGTEXT NOT NULL' at line 1
Update failed
Maintenance mode is kept active
Resetting log level
I had to disable the app for now. In the app list, it shows as version 9.0.3. When disabling, it shows version 9.0.5. Thus, I assume this is the upgrade 9.03->9.0.5. Due to the error, it cannot be re-enabled at this point.
Expected Behavior
Run the upgrade and migration without error.
To Reproduce
I haven't set up a fresh instance to reproduce. This instance has been running for a while. Thus, the situation might be different between a fresh installation and this long-running one due to all the migrations that happened over time.
Debug log
Please let me know what I can provide to help.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status