Hi, just setting up and configuring a new discourse site, first time with discourse, had the site running perfectly fine on an Ubuntu server, when all of a sudden it complained about something about being out of space for download to local? I was planning on wiring it to my S3 account anyway so I went to admin to do this, ticked the upload to s3 option, all good, pasted my AWS credentials and the fields started showing a generic error message under them. I refreshed the page and then got the 503…
Where can I look for logs in the docker container, and any idea why the 503 would start kicking up. I tried running
launcher rebuild app but it still resulted in the app being unavailable.
Found the logs, the app is complaining about a template error in the rails log:
44: <%- if SiteSetting.s3_cdn_url.present? %>
45: Discourse.S3CDN = '<%= SiteSetting.s3_cdn_url %>';
46: <%- end %>
47: Discourse.S3BaseUrl = '<%= Discourse.store.absolute_base_url %>';
48: <%- end %>
app/controllers/categories_controller.rb:33:in `block (2 levels) in index'
There’s a repetitive error about being able to connect Redis in production.stderr.log which I’m not sure is related or not.
We need more information. Can you paste more of the logs?
I figured out what was happening, the 503 was totally unrelated to the S3 template error.
It looks like launcher had downloaded/created about 5GB of docker images/instances and eaten up every last bit of space on the server. So when the launcher tried to run it had absolutely no space to use for discourse, the server has a 10GB HDD on it and the launcher managed to eat up every last bit of it with only a handful of rebuilds.
It’s resolved now, but thank you for responding, I think probably what happened with the S3 settings is that I was filling in the settings as discourse was basically in it’s death throes (from lack of space) and thats why the errors occurred and the log entries happened.