Problem by upgrading to 24.0.0 Beta 2 | InvalidArgumentException

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

Already reported on github: