Aborting! Domain is not configured!

I don’t remember seeing the following before when rebuilding Discourse. The errors are “Aborting! Domain is not configured!” and “Aborting! CDN must have a protocol specified. Once fixed you should rebake your posts now to correct all posts.”

Is is anything to be concerned about? Thanks.

I, [2022-06-19T22:14:38.676589 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
I, [2022-06-19T22:14:38.767947 #1]  INFO -- :
I, [2022-06-19T22:14:38.768752 #1]  INFO -- : > /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
I, [2022-06-19T22:14:38.858456 #1]  INFO -- :
I, [2022-06-19T22:14:38.859105 #1]  INFO -- : > /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Aborting! CDN must have a protocol specified. Once fixed you should rebake your posts now to correct all posts."; exit 1; end'
I, [2022-06-19T22:14:38.927528 #1]  INFO -- :

It didn’t abort, did it? If it did not abort, then yes, you should ignore it, which I guess explains your other topic.

I think you mean the Discourse rebuild. That definitely didn’t abort, and the forum still works.

Looking properly at the text, it looks like a line of Ruby at the command line which checks whether DISCOURSE_HOSTNAME is still “discourse.example.com” and would abort the rebuild if it were. The next line is similar. So, as you say, nothing to worry about.

Rightly or wrongly, I started four topics tonight. I think you mean this one: ERROR: Can't find Ruby library file or shared library pups, as it was the earliest one. What’s the connection? Thanks.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.