lefuhs
April 2, 2022, 10:35am
1
I have a problem by upgrading my system to 24.0.0 Beta 2.
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-02T09:35:19+00:00 Setting log level to debug
2022-04-02T09:35:19+00:00 Repair step: Repair MySQL collation
2022-04-02T09:35:19+00:00 Repair info: All tables already have the correct collation -> nothing to do
2022-04-02T09:35:19+00:00 Repair step: Repair SQLite autoincrement
2022-04-02T09:35:19+00:00 Repair step: Copy data from accounts table when migrating from ownCloud
2022-04-02T09:35:19+00:00 Repair step: Drop account terms table when migrating from ownCloud
2022-04-02T09:35:19+00:00 Updating database schema
2022-04-02T09:35:20+00:00 InvalidArgumentException: Column "oc_external_config"."value" is type String, but exceeding the 4.000 length limit.
2022-04-02T09:35:20+00:00 Update failed
2022-04-02T09:35:20+00:00 Maintenance mode is kept active
2022-04-02T09:35:20+00:00 Resetting log level
Does anyone have a solution for that?
[/details]
Nextcloud version _(24.0.0 Beta 2)
Operating system and version _(Ubuntu 18.04.6 LTS)
Apache or nginx version _(Apache/2.4.29)
PHP version _(8.0)
Is this the first time you’ve seen this error? (Y/N) : Y
tflidd
April 2, 2022, 1:28pm
2
Already reported on github:
opened 03:36PM - 01 Apr 22 UTC
bug
0. Needs triage
24-feedback
### ⚠️ This issue respects the following points: ⚠️
- [X] This is a **bug**, no… t a question or a configuration/webserver/proxy issue.
- [X] This issue is **not** already reported on Github _(I've searched it)_.
- [X] Nextcloud Server **is** up to date. See [Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
### Bug description
Within the update process (version 24.0.0 beta 2) I receive this exception:
```
InvalidArgumentException: Column "oc_fulltextsearch_indexes"."message" is type String, but exceeding the 4.000 length limit.
```
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?
- [X] Default user-backend _(database)_
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
### Configuration report
_No response_
### List of activated Apps
```shell
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
Enabled:
- accessibility: 1.10.0
- activity: 2.16.0
- admin_audit: 1.14.0
- calendar: 3.2.2
- circles: 24.0.0-alpha1
- cloud_federation_api: 1.7.0
- comments: 1.14.0
- contactsinteraction: 1.5.0
- dashboard: 7.4.0
- dav: 1.22.0
- federatedfilesharing: 1.14.0
- federation: 1.14.0
- files: 1.19.0
- files_external: 1.16.0
- files_pdfviewer: 2.5.0
- files_rightclick: 1.3.0
- files_sharing: 1.16.0
- files_trashbin: 1.14.0
- files_versions: 1.17.0
- files_videoplayer: 1.13.0
- firstrunwizard: 2.13.0
- logreader: 2.9.0
- lookup_server_connector: 1.12.0
- mail: 1.11.7
- nextcloud_announcements: 1.13.0
- notifications: 2.12.0
- oauth2: 1.12.0
- password_policy: 1.14.0
- photos: 1.6.0
- privacy: 1.8.0
- provisioning_api: 1.14.0
- recommendations: 1.3.0
- serverinfo: 1.14.0
- settings: 1.6.0
- sharebymail: 1.14.0
- support: 1.7.0
- survey_client: 1.12.0
- systemtags: 1.14.0
- text: 3.5.1
- theming: 1.15.0
- twofactor_backupcodes: 1.13.0
- updatenotification: 1.14.0
- user_status: 1.4.0
- viewer: 1.8.0
- workflowengine: 2.6.0
Disabled:
- encryption
- files_fulltextsearch: 23.0.0
- files_fulltextsearch_tesseract: 22.0.0
- files_markdown: 2.3.5
- fulltextsearch: 23.0.0
- fulltextsearch_elasticsearch: 23.0.0
- user_ldap
- weather_status: 1.0.0
```
### Nextcloud Signing status
_No response_
### Nextcloud Logs
_No response_
### Additional info
_No response_