Ich habe ein Problem beim Upgrade von Discourse (discourse/discourse) von 2026.7.3 auf 2026.7.4 (auch die 2026.11.0-latest weist dasselbe Problem auf):
#<Thread:0x00007f7bea3d8430 /var/www/discourse/lib/discourse.rb:1342 run> terminated with exception (report_on_exception is true):
/var/www/discourse/lib/discourse_vips/client.rb:50:in 'block in DiscourseVips::Client.call': libvips operation failed (DiscourseVips::Error)
from /var/www/discourse/lib/image_processing/instrumentation.rb:6:in 'ImageProcessing::Instrumentation.instrument'
from /var/www/discourse/lib/discourse_vips/client.rb:40:in 'DiscourseVips::Client.call'
from /var/www/discourse/lib/discourse_vips.rb:14:in 'DiscourseVips.version'
from /var/www/discourse/lib/letter_avatar.rb:140:in 'LetterAvatar.vips_version'
from /var/www/discourse/lib/letter_avatar.rb:36:in 'LetterAvatar.version'
from /var/www/discourse/lib/discourse.rb:1343:in 'block in Discourse.preload_rails!'
/var/www/discourse/lib/discourse_vips/client.rb:50:in 'block in DiscourseVips::Client.call': libvips operation failed (DiscourseVips::Error)
from /var/www/discourse/lib/image_processing/instrumentation.rb:6:in 'ImageProcessing::Instrumentation.instrument'
from /var/www/discourse/lib/discourse_vips/client.rb:40:in 'DiscourseVips::Client.call'
from /var/www/discourse/lib/discourse_vips.rb:14:in 'DiscourseVips.version'
from /var/www/discourse/lib/letter_avatar.rb:140:in 'LetterAvatar.vips_version'
from /var/www/discourse/lib/letter_avatar.rb:36:in 'LetterAvatar.version'
from /var/www/discourse/lib/discourse.rb:1343:in 'block in Discourse.preload_rails!'
E, [2026-11-09T11:44:20.275076 #11010] ERROR -- : mold gen=0 pid=11013 reaped (#<Process::Status: pid 11013 exit 1>)
I, [2026-11-09T11:44:20.275357 #11010] INFO -- : reaped unknown subprocess #<Process::Status: pid 11063 SIGKILL (signal 9)>
/var/www/discourse/vendor/bundle/ruby/4.0.0/gems/pitchfork-0.18.2/lib/pitchfork/http_server.rb:179:in 'Pitchfork::HttpServer#start': The initial mold failed to boot (Pitchfork::BootFailure)
from /var/www/discourse/vendor/bundle/ruby/4.0.0/gems/pitchfork-0.18.2/exe/pitchfork:110:in '<top (required)>'
from /usr/local/lib/ruby/4.0.0/rubygems.rb:305:in 'Kernel#load'
from /usr/local/lib/ruby/4.0.0/rubygems.rb:305:in 'Gem.activate_and_load_bin_path'
from /var/www/discourse/vendor/bundle/ruby/4.0.0/bin/pitchfork:25:in '<main>'
./config/unicorn_launcher: line 93: kill: (11010) - No such process
./config/unicorn_launcher: line 13: kill: (11010) - No such process
(10949) exiting
Hallo David,
ich verwende die Version discourse/discourse auf Docker Hub (discourse/discourse - Docker Image) mit „redis:7-alpine“ und „discourse/postgres:latest“.
Hier meine aktuelle Konfiguration (als Docker Compose):
Das discourse/discourse-Image ist noch experimentell und wird von uns nicht regelmäßig getestet. Trotzdem habe ich es intern erwähnt, sodass wir sehen können, ob sich jemand darum kümmern kann.
Für eine Produktionsinstallation empfehlen wir die Standardinstallation.
Tut mir leid, aber es hat immer funktioniert, da es sich einfach um das Port-Mapping des Docker-Containers handelt. Die SSL-Verschlüsselung wird zudem von NGINX bereitgestellt und sollte für Discourse kein Problem darstellen.
Der Fehler, den ich bei Versionen von Ende Oktober erhalte, liegt an Änderungen an libvips als Bildverarbeitungs-Tool und hat nichts mit Sockets zu tun
Ich habe gerade die neu veröffentlichte Version 2026.7.5 ausprobiert, aber die Fehler mit libvips bestehen weiterhin:
#<Thread:0x00007f7ebef58d88 /var/www/discourse/lib/discourse.rb:1309 run> terminated with exception (report_on_exception is true):
/var/www/discourse/lib/discourse_vips/client.rb:50:in 'block in DiscourseVips::Client.call': libvips operation failed: Landlock child setup failed: Landlock::SyscallError: seccomp(SECCOMP_SET_MODE_FILTER) failed: Invalid argument (DiscourseVips::Error)
from /var/www/discourse/lib/image_processing/instrumentation.rb:6:in 'ImageProcessing::Instrumentation.instrument'
from /var/www/discourse/lib/discourse_vips/client.rb:40:in 'DiscourseVips::Client.call'
from /var/www/discourse/lib/discourse_vips.rb:14:in 'DiscourseVips.version'
from /var/www/discourse/lib/letter_avatar.rb:140:in 'LetterAvatar.vips_version'
from /var/www/discourse/lib/letter_avatar.rb:36:in 'LetterAvatar.version'
from /var/www/discourse/lib/discourse.rb:1310:in 'block in Discourse.preload_rails!'
/var/www/discourse/lib/discourse_vips/client.rb:50:in 'block in DiscourseVips::Client.call': libvips operation failed: Landlock child setup failed: Landlock::SyscallError: seccomp(SECCOMP_SET_MODE_FILTER) failed: Invalid argument (DiscourseVips::Error)
from /var/www/discourse/lib/image_processing/instrumentation.rb:6:in 'ImageProcessing::Instrumentation.instrument'
from /var/www/discourse/lib/discourse_vips/client.rb:40:in 'DiscourseVips::Client.call'
from /var/www/discourse/lib/discourse_vips.rb:14:in 'DiscourseVips.version'
from /var/www/discourse/lib/letter_avatar.rb:140:in 'LetterAvatar.vips_version'
from /var/www/discourse/lib/letter_avatar.rb:36:in 'LetterAvatar.version'
from /var/www/discourse/lib/discourse.rb:1310:in 'block in Discourse.preload_rails!'
E, [2026-11-11T09:08:04.096537 #1021] ERROR -- : mold gen=0 pid=1024 reaped (#<Process::Status: pid 1024 exit 1>)
I, [2026-11-11T09:08:04.096668 #1021] INFO -- : reaped unknown subprocess #<Process::Status: pid 1085 SIGKILL (signal 9)>
/var/www/discourse/vendor/bundle/ruby/4.0.0/gems/pitchfork-0.18.2/lib/pitchfork/http_server.rb:179:in 'Pitchfork::HttpServer#start': The initial mold failed to boot (Pitchfork::BootFailure)
from /var/www/discourse/vendor/bundle/ruby/4.0.0/gems/pitchfork-0.18.2/exe/pitchfork:110:in '<top (required)>'
from /usr/local/lib/ruby/4.0.0/rubygems.rb:305:in 'Kernel#load'
from /usr/local/lib/ruby/4.0.0/rubygems.rb:305:in 'Gem.activate_and_load_bin_path'
from /var/www/discourse/vendor/bundle/ruby/4.0.0/bin/pitchfork:25:in '<main>'
./config/unicorn_launcher: line 93: kill: (1021) - No such process
./config/unicorn_launcher: line 13: kill: (1021) - No such process
(949) exiting
Auf welcher Art von Rechner führt ihr Discourse aus? Verfügt er über einen aktuellen Linux-Kernel? Ist dort eine ungewöhnliche Virtualisierung im Gange?
Es ist ein Synology-NAS mit fw DSM 7.4.1-90080 Update 1 (der neuesten verfügbaren Version), das wie jedes Synology-NAS auf einer alten Kernel-Version (4.4.302) läuft.
Die alte Kernel-Version bedeutet, dass Sie die ‘Landlock’-Sandboxing-Funktion nicht ausführen können. Das sollte aber zu einem kontrollierten Abbruch führen und eine große Warnung im Admin-Bereich anzeigen.
Das Problem hier scheint bei den ‘seccomp’-Schutzmechanismen zu liegen, die wir in allen Situationen anwenden wollen. Falls der Synology-Kernel seccomp nicht unterstützt (was wahrscheinlich ist), erklärt das den Fehler.
Wir könnten es so umsetzen, dass die Anwendung bei einem solchen Fehler kontrolliert abbricht, aber dann würde die Bildverarbeitung Ihres Forums ohne jegliche Sandbox laufen.
In beiden Fällen würde ich dringend empfehlen, eine aktuellere und sicherere Umgebung für den Betrieb Ihres Forums zu finden, besonders wenn es im öffentlichen Internet erreichbar ist. Die Bildverarbeitung wird in den letzten Monaten zunehmend als Einfallstor für Exploits genutzt, weshalb wir die Sandbox-Funktion hinzugefügt haben.