Ionos XL VPS Ubuntu Plesk。使用 Wordpress 等应用程序。同时使用 Redis。因此需要在同一服务器上为 Discourse 使用相同的 Redis 安装。似乎存在问题。
Docker 安装。
无法构建。错误 Redis 无法连接。是的,在 app.yml 和 redis.config 和 nginx 和 apache 中尝试了所有可想象的变化。与 Deepseek、Chatgpt、Gemini、Grok 一起度过了 1 周,地球上没有人能解决这个问题。
域名和托管和 DNS 在 Plesk、Ionos 帐户区域(用于防火墙)中设置。所有其他操作都在 Bash 中完成。
安装程序注意事项:在 Plesk Ubuntu 上使用 Docker 安装 Discourse
app.yml: app.yml
redis.config: redis.config
Discourse 位置: root@determined-ptolemy:/var/www/vhosts/make.ooo/forum.make.ooo/discourse_docker#
构建错误:
< 112:M 15 Dec 2025 15:23:12.908 * DB saved on disk
112:M 15 Dec 2025 15:23:12.908 # Redis is now ready to exit, bye bye…
FAILED
Pups::ExecError: cd /var/www/discourse && su discourse -c ‘bundle exec rake db:migrate’ failed with return #<Process::Status: pid 4484 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.3.0/lib/pups/exec_command.rb:131:in `spawn’
exec failed with the params {“cd”=>“$home”, “tag”=>“migrate”, “hook”=>“db_migrate”, “cmd”=>[“su discourse -c ‘bundle exec rake db:migrate’”]}
bootstrap failed with exit code 1
** 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.
d1f6f36479328f22c8e65012eaf015046ecf28a07f0675911fdf6661704d2581
root@determined-ptolemy:/var/www/vhosts/make.ooo/forum.make.ooo/discourse_docker# />