wir haben bei uns bis vor kurzem noch die OTRS Community Edition in Betrieb gehabt, und haben uns von eurem tollen Projekt inspirieren lassen und haben zu Otobo gewechselt.
Installation und Migration waren kein Problem. Jedoch führt Elasticsearch zu diversen Problemen.
Die Otobo-Version: 10.0.10
Standard ohne Docker
Für den Benutzer werden mal die Suchergebnisse angezeigt, und manchmal auch nicht.
Öfter kommt folgende Fehlermeldung welche sich selbst zu der darauf folgenden generiert und man zum aktualisieren der Seite aufgefordert wird:
Das Elasticsearch Log gibt in diesem Fall keine Fehlermeldung.
Das Apache Log gibt dafür folgenden Fehler aus:
Ist über dieses Problem etwas bekannt bzw. kann mir hier jemand einen Tipp geben?
gibt es denn keine andere Fehlermeldung als obiges? Ist der „Elasticsearch Log“ der output vom Debugger des Elasticsearch Webservices? Eigentlich sollte da bei Fehlern an der Stelle sicher was drinnen stehen, zum Testen könnte man den Debug threshold auch mal auf „Debug“ stellen. (Admin->Webservices->Elasticsearch: Links unten ist der Link zum Debugger, rechts der threshhold)
Ansonsten ist das einzige was mir bei „manchmal wird der gleiche JSON richtig, manchmal falsch dekodiert“ (ich gehe davon aus, dass ihr mehrfach nach dem gleichen sucht) ein ziemlich undurchsichtiger bug, den ich vor ein paar Monaten mal mit JSON::XS 4.02 und 4.03 hatte – ihr könntet im syslog (wenn ich es richtig in Erinnerung hab) mal nach „-e: semi-panic: attempt to dup freed string“ Ausschau halten. Allerdings hatte ich das bisher nur ein einziges mal mit einem OTRS, ich würde erstmal nicht davon ausgehen. Interessant wäre, der Abschnitt „JSON data received from remote system“ in dem webservice debugger.
JSON data received from remote system (15.06.2021 13:18:39 (Europe/Berlin), debug) {"took":3,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":0,"relation":"eq"},"max_score":null,"hits":[]}}
Error while performing REST 'POST' request to Controller '/customeruser/_search' on Host 'http://localhost:9200'. Error while parsing JSON data. (15.06.2021 13:18:39 (Europe/Berlin), error) No data provided
Error while performing REST 'POST' request to Controller '/customeruser/_search' on Host 'http://localhost:9200'. Error while parsing JSON data. (15.06.2021 13:18:39 (Europe/Berlin), error) Error while performing REST 'POST' request to Controller '/customeruser/_search' on Host 'http://localhost:9200'. Error while parsing JSON data.
Grüße aus Berlin
Mario
This reply was modified 1 year, 11 months ago by M. Joest. Reason: Formatierung geändert
Der JSON-String sieht definitiv in Ordnung aus, und auch ein
bin/otobo.Console.pl Dev::Tools::Shell
> $Kernel::OM->Get('Kernel::System::JSON')->Decode( Data => '{"took":3,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":0,"relation":"eq"},"max_score":null,"hits":[]}}' );
setzt das richtig um. Das einzige was zwischen der Ausgabe der Daten im Debugger und diesem Befehl bei der Suche sitzt ist ein Encode, was aber auch nicht viel macht und v.a. auch nicht mal so und mal so funktionieren sollte. (Ich gehe davon aus, dass zu anderen Zeiten kein Fehler kommt, wenn du nach ‚chris‘ suchst.)
Ist das System zufällig ein Ubuntu 20.04, und ist es eine Standardinstallation, d.h. ohne docker? Könntest du dann mal in die /var/log/syslog gucken (ich glaube es war da, bin aber nicht mehr sicher…), und schauen, ob du zu der Zeit ein „-e: semi-panic: attempt to dup freed string“ findest? Außerdem wäre die Ausgabe von
Sorry, ich wollte eigentlich meinen anderen Account wiederherstellen, jedoch bekomme ich nur eine Fehlermeldung wenn ich das Kennwort wieder herstellen möchte..
Nein ich verwende eine Ubuntu Distri, und für apache2 ist PHP notwendig.
auf meiner Ubuntu Version 20.04 war eine PHP-Version 5 oder 6 installiert (total veraltet)
Mit dem Befehl: php -v
Wird dir deine aktuelle PHP Version angezeigt.
ich habe jetzt version 8.0.8 installiert und es funktioniert wunderbar.
für Ubuntu ist z.B. here eine Anleitung, wie du eine aktuelle Version installieren/updaten kannst
Our website uses cookies. Cookies are tiny text files which are saved in your web browser or by your web browser on your device when you access websites. They contain a characteristic character sequence allowing to clearly identify your browser upon your next visit to the website.
You can prevent the setting of cookies at any time by making the appropriate setting in your internet browser. Cookies that have already been set can be deleted manually or automatically at any time. This is possible in all common internet browsers. If the setting of cookies is deactivated in the browser, not all functions of the website may be fully usable.
We deliberately use very little cookies.
Detailed information can be found in section 4 of our Privacy Policy.
Necessary cookies
Essential Cookies are necessary to deliver this website and some of its features correctly.
For this reason, we do not provide any opportunity here to disable them.
Notwithstanding this, you can deactivate all Cookies in your Browser Settings at any time. Please be aware, however, that this might have an impact on the functionality of this website.
More information about the cookies to be set and how long they will be stored can be found in section 4 of our Privacy Poliy: Privacy Policy.
Google Analytics' Cookies
When you visit this website, Google Analytics sets cookies on your system. This will help us analyse how you use our website ans tailor it to the needs of our visitors. Your IP address will be automatically anonymised (IP anonymisation and deactivation of your User ID). Therefore, we cannot trace which data a certain user is accessing. The data are not saved together with any other personal user data.
You can deactivate tracking in your browser if you do not want us to be able to track your visit on our website.
Privacy Policy
Detailed information on the usage of cookies as well as our Privacy Policy can be found here: