Current state is when description is included and full text search is enabled we get: Error 500: Error while rebuilding database. See log file for details.
Log:
Database:
Log:
Code:
[2018-08-01 16:36:39] Espo.ALERT: Rebuild database fault: exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1283 Column 'description' cannot be part of FULLTEXT index' in /usr/share/nginx/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:699 Stack trace: #0 /usr/share/nginx/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(699): PDO->query('CREATE FULLTEXT...') #1 /usr/share/nginx/html/application/Espo/Core/Utils/Database/Schema/Schema.php(196): Doctrine\DBAL\Connection->executeQuery('CREATE FULLTEXT...') #2 /usr/share/nginx/html/application/Espo/Core/DataManager.php(95): Espo\Core\Utils\Database\Schema\Schema->rebuild(NULL) #3 /usr/share/nginx/html/application/Espo/Core/DataManager.php(62): Espo\Core\DataManager->rebuildDatabase(NULL) #4 /usr/share/nginx/html/application/Espo/Controllers/Admin.php(51): Espo\Core\DataManager->rebuild() #5 /usr/share/nginx/html/application/Espo/Core/ControllerManager.php(118): Espo\Controllers\Admin->postActionRebuild(Array, '', Object(Slim\Http\Request)) #6 /usr/share/nginx/html/application/Espo/Core/Application.php(227): Espo\Core\ControllerManager->process('Admin', 'rebuild', Array, '', Object(Slim\Http\Request)) #7 [internal function]: Espo\Core\Application->Espo\Core\{closure}() #8 /usr/share/nginx/html/vendor/slim/slim/Slim/Slim.php(1210): call_user_func_array(Object(Closure), Array) #9 /usr/share/nginx/html/vendor/slim/slim/Slim/Slim.php(1356): Slim\Slim->applyHook('slim.before.dis...') #10 /usr/share/nginx/html/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call() #11 /usr/share/nginx/html/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call() #12 /usr/share/nginx/html/application/Espo/Core/Utils/Api/Auth.php(121): Slim\Middleware\MethodOverride->call() #13 /usr/share/nginx/html/application/Espo/Core/Utils/Api/Slim.php(125): Espo\Core\Utils\Api\Auth->call() #14 /usr/share/nginx/html/application/Espo/Core/Application.php(88): Espo\Core\Utils\Api\Slim->run() #15 /usr/share/nginx/html/api/v1/index.php(33): Espo\Core\Application->run() #16 {main} Next exception 'Doctrine\DBAL\DBALException' with message 'An exception occurred while executing 'CREATE FULLTEXT INDEX IDX_SYSTEM_FULL_TEXT_SEARCH ON `account` (name, description)': SQLSTATE[HY000]: General error: 1283 Column 'description' cannot be part of FULLTEXT index' in /usr/share/nginx/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:91 Stack trace: #0 /usr/share/nginx/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(702): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(PDOException), 'CREATE FULLTEXT...', Array) #1 /usr/share/nginx/html/application/Espo/Core/Utils/Database/Schema/Schema.php(196): Doctrine\DBAL\Connection->executeQuery('CREATE FULLTEXT...') #2 /usr/share/nginx/html/application/Espo/Core/DataManager.php(95): Espo\Core\Utils\Database\Schema\Schema->rebuild(NULL) #3 /usr/share/nginx/html/application/Espo/Core/DataManager.php(62): Espo\Core\DataManager->rebuildDatabase(NULL) #4 /usr/share/nginx/html/application/Espo/Controllers/Admin.php(51): Espo\Core\DataManager->rebuild() #5 /usr/share/nginx/html/application/Espo/Core/ControllerManager.php(118): Espo\Controllers\Admin->postActionRebuild(Array, '', Object(Slim\Http\Request)) #6 /usr/share/nginx/html/application/Espo/Core/Application.php(227): Espo\Core\ControllerManager->process('Admin', 'rebuild', Array, '', Object(Slim\Http\Request)) #7 [internal function]: Espo\Core\Application->Espo\Core\{closure}() #8 /usr/share/nginx/html/vendor/slim/slim/Slim/Slim.php(1210): call_user_func_array(Object(Closure), Array) #9 /usr/share/nginx/html/vendor/slim/slim/Slim/Slim.php(1356): Slim\Slim->applyHook('slim.before.dis...') #10 /usr/share/nginx/html/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call() #11 /usr/share/nginx/html/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call() #12 /usr/share/nginx/html/application/Espo/Core/Utils/Api/Auth.php(121): Slim\Middleware\MethodOverride->call() #13 /usr/share/nginx/html/application/Espo/Core/Utils/Api/Slim.php(125): Espo\Core\Utils\Api\Auth->call() #14 /usr/share/nginx/html/application/Espo/Core/Application.php(88): Espo\Core\Utils\Api\Slim->run() #15 /usr/share/nginx/html/api/v1/index.php(33): Espo\Core\Application->run() #16 {main} [] [] [2018-08-01 16:36:39] Espo.ERROR: API [POST]:/Admin/rebuild, Params:Array ( ) , InputData: - Error while rebuilding database. See log file for details. [] [] [2018-08-01 16:36:39] Espo.ERROR: Display Error: Error while rebuilding database. See log file for details., Code: 500 URL: /api/v1/Admin/rebuild [] []
Comment