You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In OTOBO 10.0.4 we have the problem, that the auto installation and activation (at least using docker) not work.
I check the logs and found the following error:
elastic_1 | "stacktrace": ["java.lang.IllegalStateException: you must set the number of shards before setting/reading primary terms"
After that I'll checked the code in Kernel/Modules/Installer.pm line 857 and found:
my $IndexConfig = $Kernel::OM->Get('Kernel::Config')->Get('Elasticsearch::ArticleIndexCreationSettings');
In installer.pl this setting don't exists at this moment. So I add the setting in Kernel/Config/Defaults.pm:
Hi,
In OTOBO 10.0.4 we have the problem, that the auto installation and activation (at least using docker) not work.
I check the logs and found the following error:
elastic_1 | "stacktrace": ["java.lang.IllegalStateException: you must set the number of shards before setting/reading primary terms"
After that I'll checked the code in Kernel/Modules/Installer.pm line 857 and found:
my $IndexConfig = $Kernel::OM->Get('Kernel::Config')->Get('Elasticsearch::ArticleIndexCreationSettings');
In installer.pl this setting don't exists at this moment. So I add the setting in Kernel/Config/Defaults.pm:
Elasticsearch settings needed for installer.pl
$Self->{'Elasticsearch::ArticleIndexCreationSettings'} = {
'NS' => '1',
'NR' => '0',
};
Now everything look fine for me.
@sven, do I miss something?
Thanks!
Stefan
The text was updated successfully, but these errors were encountered: