CarnetApp / CarnetNextcloud

GNU Affero General Public License v3.0
153 stars 28 forks source link

"metadata" is type String, but exceeding the 4.000 length limit. #185

Closed cr9christi9n closed 2 years ago

cr9christi9n commented 2 years ago

Hi there, Nextcloud version = 24.01 Debian 11 (all the securities and configuration tests in my interface are OK)

Impossible to download and install "Carnet" from my nextcloud/apps interface. I've got the following message Column "oc_carnet_metadata"."metadata" is type String, but exceeding the 4.000 length limit.

many thanks in advance, regards. Cr9c

heimchemiker commented 2 years ago

Same Problem here. Nextcloud Version = 24.01 Database = PostgreSQL 13.7 OS = Ubuntu 20.04

phijazz commented 2 years ago

I hope that the project is still alive. I have seen no activity for 4 months.

valentino-sm commented 2 years ago

¯\_(ツ)_/¯

opdelta commented 2 years ago

Getting the same error.

Full stacktrace:`

[settings] Error: InvalidArgumentException: Column "oc_carnet_metadata"."metadata" is type String, but exceeding the 4.000 length limit. at <<closure>>

0. /var/www/html/lib/private/DB/MigrationService.php line 461
   OC\DB\MigrationService->ensureOracleConstraints(Doctrine\DBAL\Schema\Schema {}, Doctrine\DBAL\Schema\Schema {}, 3)
1. /var/www/html/lib/private/DB/MigrationService.php line 417
   OC\DB\MigrationService->migrateSchemaOnly("latest")
2. /var/www/html/lib/private/Installer.php line 154
   OC\DB\MigrationService->migrate("latest", true)
3. /var/www/html/apps/settings/lib/Controller/AppSettingsController.php line 451
   OC\Installer->installApp("carnet")
4. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 225
   OCA\Settings\Controller\AppSettingsController->enableApps(["carnet"], [])
5. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 133
   OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings\Con ... {}, "enableApps")
6. /var/www/html/lib/private/AppFramework/App.php line 172
   OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings\Con ... {}, "enableApps")
7. /var/www/html/lib/private/Route/Router.php line 298
   OC\AppFramework\App::main("OCA\\Settings\\ ... r", "enableApps", OC\AppFramework\ ... {}, {_route: "settin ... "})
8. /var/www/html/lib/base.php line 1023
   OC\Route\Router->match("/settings/apps/enable")
9. /var/www/html/index.php line 36
   OC::handleRequest()
PhieF commented 2 years ago

I'm on it, I guess I've found how to fix it yesterday, will update as soon as possible

meldra commented 2 years ago

Confirmed working.

PhieF commented 2 years ago

Great ! Thanks !

Le 8 juin 2022 22:45:37 GMT+02:00, Melissa Draper @.***> a écrit :

Confirmed working.

-- Reply to this email directly or view it on GitHub: https://github.com/CarnetApp/CarnetNextcloud/issues/185#issuecomment-1150396490 You are receiving this because you commented.

Message ID: @.***>

cr9christi9n commented 2 years ago

It works, thanks a lot !