我遇到了类似的问题。这似乎与 Failed to bootstrap using import template 相同。
我本意是不尝试升级该容器,因为我已经看到了这个问题,但由于另一个奇怪的错误,我还是试了一下……
编辑:我在模板中
su discourse -c 'bundle config unset deployment'
这一行之前添加了
su discourse -c 'bundle install --no-deployment --path vendor/bundle --jobs 4 --without "test development"'
现在可以正常工作了。(不过,唉,这并没有解决我那个无关的问题)。