I know this hasn’t been processed yet, but just reconfirming issue in 3.2.0.beta4-dev.
==================== DONE! ====================
Would you like to serve a publicly available version of this file? (Y/n)
./discourse-doctor: line 320: [: ==: unary operator expected
Publicly available log not generated.
You can examine the output of this script with
LESS=-Ri less /tmp/discourse-debug.txt