User jdelmore encountered a 500 error after running ./launcher rebuild app in a Docker-based Discourse installation. Initial troubleshooting included checking for plugins (none enabled), performing a git pullitsbhanusharma, and reviewing logs. Despite normal-looking deprecation logs itsbhanusharma, the site remained unresponsive, with blank pages and broken links, though /logs and /safe-mode loaded partially. jdelmore shared build logs via Pastebin, and alextheblade suggested testing via curl http://localhost:3000, which revealed CSP header issues. The solution involved updating the site name in app.yml to www.mechassaultonline.com, rebuilding, and enabling “force HTTPS” in site settings alextheblade. jdelmore confirmed the fix worked, citing a helpful meta.discourse.org thread on CSP policy errors after rebuild. The root cause was misconfigured CSP headers due to an incomplete or incorrect site URL setup.
The software powering this discussion forum encountered an unexpected problem. We apologize for the inconvenience.
Detailed information about the error was logged, and an automatic notification generated. We’ll take a look at it.
No further action is necessary. However, if the error condition persists, you can provide additional detail, including steps to reproduce the error, by posting a discussion topic in the site’s feedback category.
Can anyone help me with this? I am getting this (see image below) warning, however I do not think it is the cause. I do not have any plug-ins enabled. i.e the git clone repos for them are commented out in the app.yml file.
The plugins that are enabled are listed below:
docker_manager
babble
discourse-chat-integration
At the moment the page simply does not load anything. it appears blank. /logs does load but no links work. /safe-mode loads but will not load after hitting the “Enter Safe Mode” button.
Here is a pastebin of the output build.
./launcher rebuild app > ~/discourse_build.log