How to rebuild index for StaticDB

Moderator: crythias

Locked
JojoModjo
Znuny newbie
Posts: 38
Joined: 17 Mar 2016, 12:29
Znuny Version: 5.0.14
Real Name: Joseph Munyao
Company: Diamond Trust

How to rebuild index for StaticDB

Post by JojoModjo »

I need guidance on how to run the otrs.Console.pl Maint::Ticket::FulltextIndexRebuild
index rebuild script on redhat 7.1.
To whom much is given, much is expected from.

OTRS 5.0.14 | Newbie :D | Glad to meet you all
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to rebuild index for StaticDB

Post by jojo »

just type it in the CLI (shell) of the OTRS user
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
JojoModjo
Znuny newbie
Posts: 38
Joined: 17 Mar 2016, 12:29
Znuny Version: 5.0.14
Real Name: Joseph Munyao
Company: Diamond Trust

Re: How to rebuild index for StaticDB

Post by JojoModjo »

jojo wrote:just type it in the CLI (shell) of the OTRS user

I know this may sound stupid but how do i login as OTRS user in the CLI to execute the script.
To whom much is given, much is expected from.

OTRS 5.0.14 | Newbie :D | Glad to meet you all
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: How to rebuild index for StaticDB

Post by wurzel »

Hi,

shh otrs@yourserver

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
JojoModjo
Znuny newbie
Posts: 38
Joined: 17 Mar 2016, 12:29
Znuny Version: 5.0.14
Real Name: Joseph Munyao
Company: Diamond Trust

Re: How to rebuild index for StaticDB

Post by JojoModjo »

Hi Jojo,

Finally figured out how to do it. :D

su -c "./otrs.Console.pl Maint::Ticket::FulltextIndexRebuild" -s /bin/bash otrs
Rebuilding article search index...
Done.
To whom much is given, much is expected from.

OTRS 5.0.14 | Newbie :D | Glad to meet you all
JojoModjo
Znuny newbie
Posts: 38
Joined: 17 Mar 2016, 12:29
Znuny Version: 5.0.14
Real Name: Joseph Munyao
Company: Diamond Trust

Re: How to rebuild index for StaticDB

Post by JojoModjo »

wurzel wrote:Hi,

shh otrs@yourserver

Flo

Thanks for the suggestion.
To whom much is given, much is expected from.

OTRS 5.0.14 | Newbie :D | Glad to meet you all
Locked