SuiteCRM version: 7.14.3
PHP version: 8.2.17
Good afternoon,
We have a working suiteCRM installation. That is, it’s being used and records can be created, deleted, modified, etc.
A while ago we set up Elastic Search for our installation. However, the scheduler task wouldn’t work.
We eventually found that the scheduler job to index records for ES could be done with the command
/var/www/html/crm/vendor/bin/robo elastic:index 0
This has been working fine until now. The only relevant occurence we can report is a power outage around yesterday. Performing the command now yields a fatal error:
/var/www/html/crm/vendor/bin/robo elastic:index 0
Fatal error: Uncaught Exception: SuiteCRM is not installed. Entry point needs an installed SuiteCRM, please install first. in /var/www/html/crm/include/entryPoint.php:59
Stack trace:
#0 /var/www/html/crm/lib/Robo/Traits/CliRunnerTrait.php(72): require_once()
#1 /var/www/html/crm/lib/Robo/Plugin/Commands/ApiCommands.php(83): SuiteCRM\Robo\Plugin\Commands\ApiCommands->bootstrap()
#2 [internal function]: SuiteCRM\Robo\Plugin\Commands\ApiCommands->__construct()
#3 /var/www/html/crm/vendor/league/container/src/Definition/Definition.php(212): ReflectionClass->newInstanceArgs()
#4 /var/www/html/crm/vendor/league/container/src/Definition/Definition.php(175): League\Container\Definition\Definition->resolveClass()
#5 /var/www/html/crm/vendor/league/container/src/Definition/Definition.php(154): League\Container\Definition\Definition->resolveNew()
#6 /var/www/html/crm/vendor/league/container/src/Definition/DefinitionAggregate.php(79): League\Container\Definition\Definition->resolve()
#7 /var/www/html/crm/vendor/league/container/src/Container.php(161): League\Container\Definition\DefinitionAggregate->resolve()
#8 /var/www/html/crm/vendor/league/container/src/Container.php(111): League\Container\Container->resolve()
#9 /var/www/html/crm/vendor/consolidation/robo/src/Runner.php(384): League\Container\Container->get()
#10 /var/www/html/crm/vendor/consolidation/robo/src/Runner.php(346): Robo\Runner->instantiateCommandClass()
#11 /var/www/html/crm/vendor/consolidation/robo/src/Runner.php(319): Robo\Runner->registerCommandClass()
#12 /var/www/html/crm/vendor/consolidation/robo/src/Runner.php(279): Robo\Runner->registerCommandClasses()
#13 /var/www/html/crm/vendor/consolidation/robo/src/Runner.php(158): Robo\Runner->run()
#14 /var/www/html/crm/vendor/consolidation/robo/robo(49): Robo\Runner->execute()
#15 /var/www/html/crm/vendor/bin/robo(119): include('...')
#16 {main}
thrown in /var/www/html/crm/include/entryPoint.php on line 59
We are at a complete loss as to why suiteCRM would stop identifying itself as installed.
The installation is otherwise working.
We weren’t able to find anyone else with a similar issue.
Any help would be greatly appreciated.
We have tried repairing the installation but that didn’t change the outcome.
Of course, we will be available to provide any more necessary information.