Moin,
mir ist kürzlich aufgefallen, dass grommunio immer eine Fehler 500 Meldung ausgibt, beim Anmelden via grommunio-web.
Im php-fpm Logfile steht kryptisch:
[24-Feb-2024 00:49:02] WARNING: [pool grommunio-web-pool] child 94 said into stderr: "NOTICE: PHP message: Unknown language: 'de_DE.UTF-8'"
[24-Feb-2024 00:49:02] WARNING: [pool grommunio-web-pool] child 94 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: readdir(): Argument #1 ($dir_handle) must be of type resource or null, bool given in /usr/share/grommunio-web/server/includes/core/class.language.php:48"
[24-Feb-2024 00:49:02] WARNING: [pool grommunio-web-pool] child 94 said into stderr: "Stack trace:"
[24-Feb-2024 00:49:02] WARNING: [pool grommunio-web-pool] child 94 said into stderr: "#0 /usr/share/grommunio-web/server/includes/core/class.language.php(48): readdir()"
[24-Feb-2024 00:49:02] WARNING: [pool grommunio-web-pool] child 94 said into stderr: "#1 /usr/share/grommunio-web/server/includes/core/class.language.php(115): Language->loadLanguages()"
[24-Feb-2024 00:49:02] WARNING: [pool grommunio-web-pool] child 94 said into stderr: "#2 /usr/share/grommunio-web/server/includes/core/class.language.php(128): Language->getLanguages()"
[24-Feb-2024 00:49:02] WARNING: [pool grommunio-web-pool] child 94 said into stderr: "#3 /usr/share/grommunio-web/server/includes/templates/welcome.php(68): Language->getJSON()"
[24-Feb-2024 00:49:02] WARNING: [pool grommunio-web-pool] child 94 said into stderr: "#4 /usr/share/grommunio-web/index.php(249): include('...')"
[24-Feb-2024 00:49:02] WARNING: [pool grommunio-web-pool] child 94 said into stderr: "#5 {main}"
[24-Feb-2024 00:49:02] WARNING: [pool grommunio-web-pool] child 94 said into stderr: " thrown in /usr/share/grommunio-web/server/includes/core/class.language.php on line 48"
Die Installation wird regelmäßig über privates Gitlab angesteuert und baut aus Dockerfiles, Container zusammen.
Ich habe mir das nun genauer angesehen.
Bei einem Clean Install, werden nicht alle Dateien/Ordner aus grommunio-web-3.6.47.779b245e-37.1.noarch.rpm nach /usr/share/grommunio-web/server/ extrahiert.
ein " rpm -ql grommunio-web-3.6.47.779b245e-37.1.noarch.rpm | grep /usr/share/grommunio-web/server/language/" hat jedoch gezeigt, dass die Dateien im Paket vorhanden sind.
Ich bin nun verwirrt. Ich habe nun vorerst die Dateien aus dem offiziellen Docker Paket übernommen und damit funktioniert es. Habt ihr vielleicht eine Idee?