Hallo,
ich haben einen GenericAgent Job eingerichtet, der alle gefundenen Tickets löschen soll. Beim Ausführen bekomme ich aber diese Meldung:
Can't locate object method "ArticleIndexDeleteTicket" via package "Kernel::System::Ticket" at /var/www/otrs/Kernel/System/Ticket.pm line 545.
Diese Methode wird in Kernel/System/Ticket/ArticleSearchIndex/RuntimeDB.pm und StaticDB.pm definiert. Am SearchIndex habe ich nichts geändert, daher sollte standardmäßig RuntimeDB.pm eingebunden sein. Hat jemand eine Ahnung, wie ich das in den Griff bekomme?
Danke, Christian.
GenericAgent: Can't locate object method ArticleIndexDelete
GenericAgent: Can't locate object method ArticleIndexDelete
OTRS: 2.4.x
OS: Debian Lenny
Apache2/PostgreSQL 8.3/MySQL 5
OS: Debian Lenny
Apache2/PostgreSQL 8.3/MySQL 5
GenericAgent: Can't locate object method ArticleIndexDelete
Bitte füll erstmal Deine Signatur
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
GenericAgent: Can't locate object method ArticleIndexDelete
danke, ich hätte erwähnen sollen, um welche Version es sich handelt, da hast du recht.jojo wrote:Bitte füll erstmal Deine Signatur
christian.
OTRS: 2.4.x
OS: Debian Lenny
Apache2/PostgreSQL 8.3/MySQL 5
OS: Debian Lenny
Apache2/PostgreSQL 8.3/MySQL 5
GenericAgent: Can't locate object method ArticleIndexDelete
In Deinem Fall solltest Du die komplette Version angeben, nicht nur 2.4.x
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
GenericAgent: Can't locate object method ArticleIndexDelete
der fehler tritt unter 2.4.3 - 2.4.6 auf, in der kürzlich erschienenen version 2.4.7 höchstwarscheinlich auch.jojo wrote:In Deinem Fall solltest Du die komplette Version angeben, nicht nur 2.4.x
OTRS: 2.4.x
OS: Debian Lenny
Apache2/PostgreSQL 8.3/MySQL 5
OS: Debian Lenny
Apache2/PostgreSQL 8.3/MySQL 5
GenericAgent: Can't locate object method ArticleIndexDelete
Hab ich zwar noch nichts von gehört, aber mach am besten mal ein Bug unter http://bugs.otrs.org auf
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
GenericAgent: Can't locate object method ArticleIndexDelete
Was ich mir jetzt noch vorstellen könnte ist, dass es mal wieder daran liegt, dass ich mehere OTRS Setups auf einem Host laufen habe. Damit das überhaupt hinhaut, lade ich bei jedem Aufruf von bin/cgi-bin/index.pl die Kernel/Config.pm neu, in der ich ein paar relevante Variablen manuell setze, um die einzelnen Installationen unterscheiden zu können. Wenn ich das nicht täte, würde die jeweils zuletzt geladenen Installation die Variablen der vorherigen überschreiben. könnte es sein, dass ich irgendeine Variable übersehen habe? Hier mal die jenigen, die ich in Config.pm setze:jojo wrote:Hab ich zwar noch nichts von gehört, aber mach am besten mal ein Bug unter http://bugs.otrs.org auf
$Self->{SystemID} = '1234';
$Self->{Home} = '/var/www/otrs/';
$Self->{ScriptAlias} = 'otrs001/';
$Self->{Frontend::WebPath} = '/otrs001-web/';
$Self->{FQDN} = 'otrs1.example.com';
$Self->{HttpType} = 'http';
$Self->{TicketIndexModule} = 'Kernel::System::Ticket::IndexAccelerator::RuntimeDB';
OTRS: 2.4.x
OS: Debian Lenny
Apache2/PostgreSQL 8.3/MySQL 5
OS: Debian Lenny
Apache2/PostgreSQL 8.3/MySQL 5
GenericAgent: Can't locate object method ArticleIndexDelete
wenn mehrere OTRS Instanzen auf einem Host laufen, darf nur eine mod-perl verwenden. Sonst kommt es zu verschiedenen "Randeffekten"
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
GenericAgent: Can't locate object method ArticleIndexDelete
Ich denke, das war es wohl. Ich probiere es jetzt ohne mod_perl bei paar kleineren Installationen und beobachte das ganze erstmal ein paar Tage. Schön wäre es trotzdem, das ganze auf mod_perl auch zum Laufen zu bekommen.jojo wrote:wenn mehrere OTRS Instanzen auf einem Host laufen, darf nur eine mod-perl verwenden. Sonst kommt es zu verschiedenen "Randeffekten"
Gruß christian.
OTRS: 2.4.x
OS: Debian Lenny
Apache2/PostgreSQL 8.3/MySQL 5
OS: Debian Lenny
Apache2/PostgreSQL 8.3/MySQL 5