我试图从一个失败的升级中恢复,但之前发生的磁盘问题导致容器崩溃。现在,当我尝试运行 ./discourse-doctor 或 ./launcher rebuild..,甚至进行全新安装时,都会在此处失败。看起来可能是容器镜像存在问题?
2.0.20260915-0028: Pulling from discourse/base
Digest: sha256:5028d077b061225507e7093fda1ff5bdc64d483b5c0397776f9a52c50008cd9b
Status: Downloaded newer image for discourse/base:2.0.20260915-0028
docker.io/discourse/base:2.0.20260915-0028
Ensuring launcher is up to date
Launcher is up-to-date
2.0.20260915-0028: Pulling from discourse/base
Digest: sha256:5028d077b061225507e7093fda1ff5bdc64d483b5c0397776f9a52c50008cd9b
Status: Image is up to date for discourse/base:2.0.20260915-0028
docker.io/discourse/base:2.0.20260915-0028
/usr/local/lib/ruby/3.4.0/rubygems/basic_specification.rb:42:in 'singleton class': uninitialized constant Gem::Deprecate (NameError)
from /usr/local/lib/ruby/3.4.0/rubygems/basic_specification.rb:41:in '<class:BasicSpecification>'
from /usr/local/lib/ruby/3.4.0/rubygems/basic_specification.rb:7:in '<top (required)>'
from /usr/local/lib/ruby/3.4.0/rubygems/specification.rb:11:in 'Kernel#require_relative'
from /usr/local/lib/ruby/3.4.0/rubygems/specification.rb:11:in '<top (required)>'
from /usr/local/lib/ruby/3.4.0/rubygems.rb:1372:in 'Kernel#require_relative'
from /usr/local/lib/ruby/3.4.0/rubygems.rb:1372:in '<top (required)>'
from <internal:gem_prelude>:2:in 'Kernel#require'
from <internal:gem_prelude>:2:in '<internal:gem_prelude>'
cd /pups && git pull && git checkout v1.0.3 && /pups/bin/pups --stdin
git: error while loading shared libraries: /lib/x86_64-linux-gnu/libpcre2-8.so.0: file too short
bootstrap failed with exit code 127
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
078e7b891ce7ebf3454c59f2c0ab346d023d16539b4d8b4b33bf268f5109753b