Ran through the install using discourse-setup (I don’t think I ever have yet, so no time like the present!) and the following error showed up:
Checking your domain name . . .
WARNING:: This server does not appear to be accessible at dotest.example.net:443.
A connection to http://dotest.example.net (port 80) also fails.
This suggests that dotest.example.net resolves to the wrong IP address
or that traffic is not being routed to your server.
Google: "open ports YOUR CLOUD SERVICE" for information for resolving this problem.
You should probably answer "n" at the next prompt and disable Let's Encrypt.
This test might not work for all situations,
so if you can access Discourse at http://dotest.example.net, you might try anyway.
I believe this happened as nc isn’t installed so it couldn’t properly run the test. We should ensure nc is available before erroring out on this check.
Hmm. Then the question becomes, does discourse-doctor install nc just for one test that might not be necessary, or just say, “well, you don’t have nc, so you’re on your own to see that you have ports open and mapped correctly.”?
I don’t like installing software if it’s not necessary. I think I’ll change the message to recommend installing nc if they want it.
In that case either stop the script and tell them to re-run with nc installed, or print a warning that the check was skipped because nc was not installed?
Nun, es sind 6 Monate vergangen. Ich habe keine Nachricht hinzugefügt wie „Sie haben kein nc, daher kann ich Ihre Ports nicht testen“, aber niemand anderes hat sich beschwert. Vielleicht ist der folgende Text ausreichend:
Google: \"open ports IHR CLOUD-DIENST\" für Informationen zur Lösung dieses Problems.
Sie sollten wahrscheinlich am nächsten Eingabeaufforderung \"n\" eingeben und Let's Encrypt deaktivieren.
Dieser Test funktioniert möglicherweise nicht in allen Fällen,
daher können Sie es trotzdem versuchen, wenn Sie auf Discourse unter http://$HOST zugreifen können.
Es war nie ein , sondern eher eine Unannehmlichkeit für jemanden, der genug Systemadministrator-Wissen hatte, um Ubuntu nicht verwenden zu wollen. Unter Ubuntu funktioniert es wie erwartet (ich habe andere Distributionen nicht geprüft). Ich bin geneigt, diesen schlafenden Hund liegen zu lassen.