Sto riscontrando un errore durante l’aggiornamento di discourse alla versione più recente. Il percorso del file:
/etc/nginx/conf.d/outlets/server/20-https.conf
non esiste sulla mia istanza virtuale Ubuntu 24.04. O forse l’errore sottostante indica che manca nell’installazione nginx nell’immagine docker. Sembra esserci un problema in pups-1.2.1.
Qualsiasi aiuto è apprezzato. Non sto usando nginx sul mio sistema principale, poiché sto usando:
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
Sono riuscito a far funzionare qualcosa facendo:\n\ngit reset --hard HEAD^1\ngit checkout -b mybranch\n./launcher rebuild app\n\nquindi sembra che il commit 7b042d6157 stia causando problemi con la mia configurazione.
Sono arrivato qui con lo stesso problema, ho provato a fare un redeploy per aggiornare e installare un plugin. Sto usando Discourse dietro un reverse proxy.