No. That’s the issue, I’m pretty sure. They are using S3 for backups, but not for uploads, which is a pretty common setup for self-hosters. It’s easy to configure S3 backups, and doesn’t require a CDN or changing the YML to upload assets to precompile.
It’s blank because they aren’t using S3 for uploads.
SiteSetting.Upload.s3_endpoint.blank? && !SiteSetting.Upload.s3_region.start_with?("cn-")
from the github link above, should be
GlobalSettings.use_s3 && SiteSetting.Upload.s3_endpoint.blank? && !SiteSetting.Upload.s3_region.start_with?("cn-")
or maybe
SiteSetting.enable_s3_uploads && SiteSetting.Upload.s3_endpoint.blank? && !SiteSetting.Upload.s3_region.start_with?("cn-")
I’m not quite sure how use_s3 and enable_s3_uploads are connected.