I am now getting a failure trying to update my discourse to the latest version. The file path:
/etc/nginx/conf.d/outlets/server/20-https.conf
does not exist on my Ubuntu 24.04 virtual instance. Or maybe the error below means that it is missing in the nginx install in the docker image. There appears to be an issue in pups-1.2.1.
Any help appreciated. I am not using nginx on my main system, as I am using:
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