-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: 24.0.0 beta 2, InvalidArgumentException: Column "oc_fulltextsearch_indexes"."message" is type String, but exceeding the 4.000 length limit. #31791
Comments
As temporary workarround I simply dropped the tables with
Currently the apps 'fulltextsearch' are disabled. In the case of need the index can be rebuild. |
Same thing with the app forms.
Seems to be happening in all app tables, where there is a VARCHAR field with more then 4000 length.
By setting them all to 4000 (from 4096, 8192, etc.) you can finish the update after a few tries. |
Same at "oc_cas_ticket"."service" and "oc_external_config"."value" |
cc @PVince81 |
InvalidArgumentException: Column "oc_bookmarks_folders_public"."description" is type String, but exceeding the 4.000 length limit. |
I got a similar issue but here is only the files_external App affected, any workaround increase the VARCHAR is not helping here
|
You have to reduce it, not increase it. |
I was able to find and shorten several fields in tables. After that the update was successful. Here are the steps I followed. Mini help (step by step): -- Run psql -- List DB -- Connect to DB -- List Tables (all or by pattern) -- Get info about a table -- Chenge column leng |
Since when is 4000 a limit in Nextcloud? Where is this documented? This is a breaking change. |
Another one fir this collection... Updating <user_ldap> ... |
if you find more, please add a comment with a checkbox and a link to the issue in the app's repo, if applicable |
Needs to be tried with beta3. We dispatched some fixes for it |
Forms fixed with nextcloud/forms#1149 |
Bookmarks opted out of oracle support: https://github.com/nextcloud/bookmarks/blob/master/appinfo/info.xml#L40-L42 |
Can't find that table. What app is it from? |
Fixed in nextcloud/fulltextsearch#679 |
Isn't this already solved in the meantime? |
nextcloud/fulltextsearch#679 is still not merged... |
right |
can I get a quick review on nextcloud/fulltextsearch#679 ? |
could you ask in the files chat? :) |
Should be fixed with nextcloud/fulltextsearch#679 |
…me", this undoes the change in 1.5.2. - reduce maximum database string column size to 3999 to get around '4000 length limit' (nextcloud/server#31791)
Bug description
Within the update process (version 24.0.0 beta 2) I receive this exception:
The upgrade procedure cannot be accomplished.
Steps to reproduce
$ sudo -u apache php /var/www/<***>/updater/updater.phar
Current version is 24.0.0 beta 2.
Update to Nextcloud 24.0.0 beta 2 available. (channel: "beta")
Following file will be downloaded automatically: https://download.nextcloud.com/server/prereleases/nextcloud-24.0.0beta2.zip
Steps that will be executed:
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Continue update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Update of code successful.
Should the "occ upgrade" command be executed? [Y/n]
Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
2022-04-01T17:27:02+02:00 Setting log level to debug
2022-04-01T17:27:02+02:00 Repair step: Repair MySQL collation
2022-04-01T17:27:02+02:00 Repair info: All tables already have the correct collation -> nothing to do
2022-04-01T17:27:02+02:00 Repair step: Repair SQLite autoincrement
2022-04-01T17:27:02+02:00 Repair step: Copy data from accounts table when migrating from ownCloud
2022-04-01T17:27:02+02:00 Repair step: Drop account terms table when migrating from ownCloud
2022-04-01T17:27:02+02:00 Updating database schema
2022-04-01T17:27:02+02:00 Updated database
2022-04-01T17:27:02+02:00 Updating <files_external> ...
2022-04-01T17:27:03+02:00 InvalidArgumentException: Column "oc_fulltextsearch_indexes"."message" is type String, but exceeding the 4.000 length limit.
2022-04-01T17:27:03+02:00 Update failed
2022-04-01T17:27:03+02:00 Maintenance mode is kept active
2022-04-01T17:27:03+02:00 Resetting log level
Expected behavior
The upgrade procedure should be finished successfully.
Installation method
Manual installation
Operating system
RHEL/CentOS
PHP engine version
PHP 8.0
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 22.2.3 to 22.2.4)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: