Ich habe nun scheinbar herausgefunden, warum dies so ist. Der grund sind scheinbar Emojis, die in der E-Mail waren.
Bisher hatte ich dies nur bei einem Kundenbenutzer, jedoch nun auch bei einem zweiten. Da fiel es mir auf, da bisher bei diesem nie ein Ticket kaputt war und ich mir die Mails von Ihm nochmals genauer ansah und bei einer Mail ebenfalls ein Emoji gefunden habe.
Das Ticket sieht dann so aus:
Bei dem rot umrandetem Eintrag handelt es sich um die Mail, wo das Emoji drinnen war. Replys darauf gehen zwar raus, aber sobald wieder eine Antwort kommt, wo das Emoji drinnen ist, kommt erneut das schwarze Dreieck.
Hier die Infos, wenn man eines der Dreiecke anklickt:
Im Sysprotokoll schlägt es so auf:
Was kann ich tun, damit dies nicht mehr passiert. Das Kunden Emojis nutzen, werde ich nicht unterbinden können. Kann man hier an der DB was einstellen?
Systemdaten:
Otobo 10.1.5
Ubuntu 20.4 LTS
Grüße aus Berlin
Mario
This topic was modified 1 year, 2 months ago by M. Joest. Reason: Zusätzliches Bild eingefügt
ich denke Deine Datenbank läuft mit dem falschen Charset, ich tippe auf utf8mb3. Es muss utf8mb4 sein.
Man kann das entweder in der DB direkt ändern mit einem „Alter Table“ Befehl, oder Du dumpst die Datenbank, ersetzt alle Vorkommnisse und spielst den Dump wieder ein.
Es gibt da einige Tutorials im Netz. Kuck aber zuerst mal ob ich Recht habe mit dem Zeichensatz.
Bei den Perlmodulen (Screenshot würde nicht alles erfassen) habe ichdies, sehe aber keines, wo steht, dass es zwingend benötigt wird:
Perlmodule Es sind nicht alle benötigten Perl-Module installiert.
Required packages: o Archive::Tar.....................ok (v2.32) o Archive::Zip.....................ok (v1.67) o Date::Format.....................ok (v2.24) o DateTime.........................ok (v1.51) o DateTime::TimeZone.............ok (v2.38) o Convert::BinHex..................ok (v1.125) o CGI::PSGI........................ok (v0.15) o DBI..............................ok (v1.643) o DBIx::Connector..................ok (v0.56) o Digest::SHA......................ok (v6.02) o File::chmod......................ok (v0.42) o List::AllUtils...................ok (v0.15) o LWP::UserAgent...................ok (v6.26) o Moo..............................ok (v2.003006) o namespace::autoclean.............ok (v0.29) o Net::DNS.........................ok (v1.22) o Net::SMTP::SSL...................ok (v1.04) o Path::Class......................ok (v0.37) o Sub::Exporter....................ok (v0.987) o Template::Toolkit................ok (undef) o Template::Stash::XS..............ok (undef) o Text::CSV........................ok (v1.95) o Text::Trim.......................ok (v1.03) o Time::HiRes......................ok (v1.9760) o Try::Tiny........................ok (v0.30) o URI..............................ok (v1.71) o XML::LibXML......................ok (v2.0134) o YAML::XS.........................ok (v0.81) o Unicode::Collate.................ok (v1.27) o Plack............................ok (v1.0047) o Plack::Middleware::Header........ok (v0.04) o Plack::Middleware::Refresh.......ok (undef) o Plack::Middleware::ReverseProxy..ok (v0.16) o Const::Fast......................ok (v0.014)
Recommended features for setups using apache: o ModPerl::Util....................ok (v2.000011)
Packages needed for the feature 'auth': o Crypt::JWT.......................Not installed! (optional - Required for authentication via OpenIDConnect.)
Database support (installing one is required): o DBD::mysql.......................ok (v4.050) o DBD::ODBC........................Not installed! (optional - Required to connect to a MS-SQL database.) o DBD::Oracle......................Not installed! (optional - Required to connect to a Oracle database.) o DBD::Pg..........................Not installed! (optional - Required to connect to a PostgreSQL database.) o DBD::SQLite......................Not installed! (optional - Required to connect to a SQLite database.)
Features which can be useful in development environments: o Data::Peek.......................Not installed! (optional - for deeply inspecting scalars, especially strings) o String::Dump.....................Not installed! (optional - for deeply inspecting strings) o Selenium::Remote::Driver.........FAILED! Not all prerequisites for this module correctly installed. Version 1.36 installed but 1.40 or higher is required! o Test::Compile....................Not installed! (optional - a quick compile check) o Test2::Suite.....................Not installed! (optional - basic test functions) o Test2::Harness...................Not installed! (optional - an alternative test runner) o Test::Simple.....................ok (v1.302162) o Test2::Tools::HTTP...............Not installed! (optional - testing PSGI apps and URLs)
Various features for additional functionality: o Encode::HanExtra.................ok (v0.23) o IO::Socket::SSL..................ok (v2.067) o Net::LDAP........................ok (v0.66) o Crypt::Eksblowfish::Bcrypt.......ok (v0.009) o XML::LibXSLT.....................ok (v1.99) o XML::Parser......................ok (v2.46)
Required packages if you want to use Gazelle webserver: o Gazelle..........................Not installed! (optional - High-performance preforking PSGI/Plack web server) o Linux::Inotify2..................Not installed! (optional - Used when plackup is run with the -R option. This option restarts the server when files have changed.)
Features enabling communication with a mail-server: o Net::SMTP........................ok (v3.11) o Mail::IMAPClient.................ok (v3.42) o Authen::SASL.....................ok (v2.16) o Authen::NTLM.....................ok (v1.09) o IO::Socket::SSL..................ok (v2.067)
Optional features which can increase performance: o JSON::XS.........................ok (v4.02) o Text::CSV_XS.....................ok (v1.41) o Redis............................Not installed! (optional - For usage with Redis Cache Server.) o Redis::Fast......................Not installed! (optional - Recommended for usage with Redis Cache Server. (its compatible withRedis`, but **~2x faster**))
Packages needed for the feature 'storage': o Mojolicious......................Not installed! (optional - support for the REST requests to the S3 storage) o Cpanel::JSON::XS.................Not installed! (optional - correct and fast JSON support, used by Mojo::JSON) o Mojolicious::Plugin::AWS.........Not installed! (optional - support for S3 using Mojo::UserAgent)
Bundled modules:
o Algorithm::Diff..................ok (v1.1903) o CGI..............................ok (v4.36) o CSS::Minifier....................ok (v0.01) o Class::Inspector.................ok (v1.31) o Crypt::PasswdMD5.................ok (v1.40) o Crypt::Random::Source............ok (v0.14) o Email::Valid.....................ok (v1.202) o Encode::Locale...................ok (v1.05) o Exporter::Tiny...................ok (v1.002001) o IO::Interactive..................ok (v1.022) o JSON.............................ok (v2.94) o JSON::PP.........................ok (v2.27203) o JavaScript::Minifier.............ok (v1.16) o LWP..............................ok (v6.26) o Linux::Distribution..............ok (v0.23) o Locale::Codes....................ok (v3.69) o MIME::Tools......................ok (v5.509) o Mail::Address....................ok (v2.18) o Mail::Internet...................ok (v2.18) o Math::Random::ISAAC..............ok (v1.004) o Math::Random::Secure.............ok (v0.080001) o Module::Find.....................ok (v0.15) o Module::Refresh..................ok (v0.17) o Mozilla::CA......................ok (v20200520) o Net::HTTP........................ok (v6.17) o Net::IMAP::Simple................ok (v1.2209) o Net::SSLGlue.....................ok (v1.058) o PDF::API2........................ok (v2.033) o SOAP::Lite.......................ok (v1.20) o Sys::Hostname::Long..............ok (v1.5) o Text::CSV........................ok (v1.95) o Text::Diff.......................ok (v1.44) o Types::TypeTiny..................ok (v1.010000) o URI..............................ok (v1.71) o YAML.............................ok (v1.23)
Ich hoffe, dass es nicht dieses ist:
Folgende Pakte sind derzeit in Nutzung:
Des Weiteren bin ich hierüber gestolpert, was ich bisher noch nirgends in einer Anleitung sah:
Ich hoffe dies hilft Licht ins Dunkel zu bringen.
Grüße
Mario
This reply was modified 1 year, 2 months ago by M. Joest.
This reply was modified 1 year, 2 months ago by M. Joest.
Das System wurde nicht migriert. Es wurde damals frisch installiert. Ich müsste sehen bei welcher Version wir damals gestartet sind. War aber noch 10.0.2. Habe gerade den Thread gesucht, den ich damals eröffnet habe und da hatte ich 10.0.2 frisch installiert, da es damals Probleme gab.
Dann haben wir auf 10.1.0 angehoben und von da an immer wieder patched, sobald es Updates gegeben hat.
Ich schaue mir gleich das Tutorial an und werde den Apache dann auch nochmal gerade ziehen.
ich hatte das Thema gerade nochmal bei einem Partner und habe schnell ein Skript geschrieben. Das Script kannst Du einfach wie folgt herunterladen und ausführen:
otobo@support:~/Kernel/System/Console/Command/Maint/Database/MySQL$ /opt/otobo/bin/otobo.Console.pl Maint::Database::MySQL::UTF8MB4Migration Bareword found where operator expected at /opt/otobo/Kernel/System/Console/Command/Maint/Database/MySQL/UTF8MB4Migration.pm line 9, near ""en" data" (Missing operator before data?) Bareword found where operator expected at /opt/otobo/Kernel/System/Console/Command/Maint/Database/MySQL/UTF8MB4Migration.pm line 9, near ""auto" data" (Missing operator before data?) Bareword found where operator expected at /opt/otobo/Kernel/System/Console/Command/Maint/Database/MySQL/UTF8MB4Migration.pm line 9, near ""light" data" (Missing operator before data?) Bareword found where operator expected at /opt/otobo/Kernel/System/Console/Command/Maint/Database/MySQL/UTF8MB4Migration.pm line 9, near ""dark" data" (Missing operator before data?) Error: Could not find Kernel::System::Console::Command::Maint::Database::MySQL::UTF8MB4Migration.
Use of uninitialized value $Module in stat at /opt/otobo/Kernel/System/ModuleRefresh.pm line 83. Error: Kernel::System::Console::Command::Maint::Database::MySQL::UTF8MB4Migration could not be loaded: Attempt to reload Kernel/System/Console/Command/Maint/Database/MySQL/UTF8MB4Migration.pm aborted. Compilation failed in require at /opt/otobo/Kernel/System/ObjectManager.pm line 266. at /opt/otobo/Kernel/System/Console/Command/List.pm line 61. otobo@support:~/Kernel/System/Console/Command/Maint/Database/MySQL$
Mach die Datei bitte auf und vergleiche sie mit den Inhalten die Du siehst wenn Du auf den Link klickst. Nur weil da irgendwas liegt, sagt das noch nichts.
Ich habe die Datei jetzt über touch angelegt, den Code eingefügt, chmod (660) und chown (otobo) gemacht (An der InnoDBMigration orientiert) und einen dry run.
Ergebnis jetzt:
Checking for tables that need to be converted to utf8mb4... Dry run: We need to change the following column comments from table acl to utf8mb4... You can re-run this script with --force to start the migration. Dry run: We need to change the following column description from table acl to utf8mb4... You can re-run this script with --force to start the migration. Dry run: We need to change the following column name from table acl to utf8mb4... You can re-run this script with --force to start the migration. Dry run: We need to change the following column acl_id from table acl_sync to utf8mb4... You can re-run this script with --force to start the migration. Dry run: We need to change the following column sync_state from table acl_sync to utf8mb4... You can re-run this script with --force to start the migration. Dry run: We need to change the following column insert_fingerprint from table article to utf8mb4... You can re-run this script with --force to start the migration. Dry run: We need to change the following column a_bcc from table article_data_mime to utf8mb4... You can re-run this script with --force to start the migration. Dry run: We need to change the following column a_body from table article_data_mime to utf8mb4... You can re-run this script with --force to start the migration. Dry run: We need to change the following column a_cc from table article_data_mime to utf8mb4...
Liste ist noch etwas länger.
Jedoch möchte ich nun dies durchführen, aber er findet -force jetzt nicht.
otobo@support:~/Kernel/System/Console/Command/Maint/Database/MySQL$ /opt/otobo/bin/otobo.Console.pl Maint::Database::MySQL::UTF8MB4Migration –force Error: found unknown arguments on the command line ('–force').
Convert all columns in MySQL database tables to utf8mb4. Please use only this script if columns were created incorrectly with utf8 or utf8mb3 charset and in any case make a backup of the database beforehand.
Options: [--force] - Actually do the migration now. [--force-pid] - Start even if another process is still registered in the database. [--help|h] - Display help for this command. [--no-ansi] - Do not perform ANSI terminal output coloring. [--quiet] - Suppress informative output, only retain error messages.
otobo@support:~/temp$ /opt/otobo/bin/otobo.Console.pl Maint::Database::MySQL::UTF8MB4Migration –-force Error: found unknown arguments on the command line ('–-force').
ich sehe mal zu das ich ggf. die Datei doch anders auf das System bekomme, vielleicht mag er mein Vorgehn via touch nicht.
Ja kann ich, jetzt hat es (warum auch immer :) ) geklappt und er hat angefangen zu Migrieren.
Nun stolpert er hier: otobo@support:~$ /opt/otobo/bin/otobo.Console.pl Maint::Database::MySQL::UTF8MB4Migration -force Converting all database columns to utf8mb4... Change column a_bcc mediumtext 16777215 YES from table article_data_mime to utf8mb4... DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(16777215) NULL, CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci' at line 1 at /opt/otobo/Kernel/System/DB.pm line 556. ERROR: OTOBO-otobo.Console.pl-Maint::Database::MySQL::UTF8MB4Migration-01 Perl: 5.30.0 OS: linux Time: Tue Oct 11 09:08:40 2022
Message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(16777215) NULL, CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci' at line 1, SQL: 'ALTER TABLE article_data_mime DEFAULT CHARACTER SET utf8mb4, MODIFY a_bcc mediumtext(16777215) NULL, CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci'
Die Spalte a_bbc in der Tabelle article_data_mime sollte VARCHAR sein, nicht MEDIUMTEXT. Das kann ich im Skript natürlich abfangen, aber interessant wäre trotzdem wie das ganze so entstanden ist. Denn ich habe das Gefühl, dass da noch mehr im Argen ist.
Habt ihr wirklich das System von OTRS auf OTOBO migriert, oder einfach die Datenbank wieder verwendet für OTOBO? Falls ja, wie seid Ihr genau vorgegangen?
Gab es nicht ein Datenbank Update beim Wechsel von 10.0.x auf 10.1.x? Vielleicht lief da schon etwas schief, wobei ich mich immer an die Anleitung gehalten habe.
Grüße
Mario
This reply was modified 1 year, 1 month ago by M. Joest.
ja hat geholfen, ich werde das Script noch dementsprechend abändern. Da OTOBO 100% kostenfrei ist, können wir die kostenfreie Forenarbeit nur machen, wenn Zeit ist. Und diese fehlt einfach gerade. Wenn es eilt, dann gerne an hallo@otobo.de schreiben, da wird Dir zeitnah im Rahmen unserer Supportverträge geholfen.
Wir verwenden Cookies, um diese Website optimal gestalten und laufend verbessern zu können. Für Analyse und Statistik nutzen wir Google Analytics (anonymisiert).
Unsere Website verwendet Cookies. Cookies sind kleine Textdateien, die beim Aufruf von Websites im Internetbrowser bzw. vom Internetbrowser auf Ihrem Endgerät gespeichert werden. Diese Cookies enthalten eine charakteristische Zeichenfolge, die eine eindeutige Identifizierung des Browsers beim erneuten Aufrufen der Website ermöglichen.
Sie können das Setzen von Cookies jederzeit über eine entsprechende Einstellung in Ihrem Internetbrowser verhindern. Bereits gesetzte Cookies können jederzeit manuell oder automatisiert gelöscht werden. Dies ist in allen gängigen Internetbrowsern möglich. Wird das Setzen von Cookies im Browser deaktiviert, sind unter Umständen nicht alle Funktionen der Website vollumfänglich nutzbar.
Wir gehen grundsätzlich sehr sparsam mit Cookies um.
Detaillierte Informationen finden Sie in Abschnitt 4 unserer Hinweise zum Datenschutz.
Technisch erforderliche Cookies
Diese Cookies sind erforderlich, um die Darstellung dieser Website und einiger ihrer Features zu gewährleisten.
Deshalb bieten wir hier auch keine Möglichkeit an, diese Cookies zu deaktivieren.
Dessen ungeachtet können Sie jederzeit durch entsprechende Einstellungen in Ihrem Browser alle Cookies deaktivieren. Unter Umständen stehen Ihnen dann nicht mehr alle Funktionalitäten dieser Website zur Verfügung.
Weitere Informationen zu den gesetzten Cookies und zur Speicherdauer finden Sie in Abschnitt 4 unserer Hinweise zum Datenschutz.
Cookies von Google Analytics
Beim Besuch der Website werden Cookies von Google Analytics gesetzt, die eine Analyse der Benutzung unserer Website durch Sie ermöglichen. Ihre IP-Adresse wird dabei durch technische Vorkehrungen pseudonymisiert (IP-Anonymisierung und Deaktivierung der User-ID). Eine Zuordnung der Daten zum aufrufenden Nutzer ist daher nicht mehr möglich. Die Daten werden nicht gemeinsam mit anderen personenbezogenen Daten der Nutzer gespeichert.
Wenn Sie nicht möchten, dass wir Ihren Besuch auf unserer Website verfolgen, können Sie das Tracking in Ihrem Browser hier deaktivieren:
Hinweise zum Datenschutz
Detaillierte Informationen zum Einsatz von Cookies sowie unsere Datenschutzerklärung finden Sie hier: