我更新 discourse 到最新版本时遇到了失败。文件路径:
/etc/nginx/conf.d/outlets/server/20-https.conf
在我的 Ubuntu 24.04 虚拟实例上不存在。或者错误信息可能意味着它在 docker 镜像的 nginx 安装中丢失了。pups-1.2.1 中似乎存在一个问题。
任何帮助都将不胜感激。我没有在我的主系统上使用 nginx,因为我正在使用:
- "templates/web.socketed.template.yml"
FAILED
--------------------
Errno::ENOENT: No such file or directory @ rb_sysopen - /etc/nginx/conf.d/outlets/server/20-https.conf
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/replace_command.rb:11:in `read'
replace failed with the params {"filename"=>"/etc/nginx/conf.d/outlets/server/20-https.conf", "from"=>"/listen 443
ssl;(\nlisten \\\[::\\\]:443 ssl;)?/", "to"=>"listen unix:/shared/nginx.https.sock ssl;\nset_real_ip_from unix:;"}
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.
e3176c7debb5ed1c106765e76f5896b83dac3bb21dd3478b2ac043cbcb8032e1