[ERROR] Incorrect definition of table mysql.column_stats: expected column 'histogram' at position 10 to have type longblob, found type varbinary(255).
[ERROR] Incorrect definition of table mysql.column_stats: expected column 'hist_type' at position 9 to have type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB','JSON_HB'), found type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB').
Maybe the database has been upgraded and not the application?
Ivan
[EDIT]
I solved these errors using the solution in
Now I obtain the following error in logs.
app_1 | Can't start Nextcloud because the version of the data (25.0.3.2) is higher than the docker image version (24.0.9.2) and downgrading is not supported. Are you sure you have pulled the newest image version?
[EDIT 2]
I managed the last issue using the solution at:
Now I’m manually upgrading to 24.
[EDIT 3]
Now the upgrade to 25 went flawless.
Thanks for helping!