Fehler 500 nach Kommandozeilen-Neuaufbau

Ich verwende Discourse in Docker über den offiziellen Docker-Container

Nachdem ich
./launcher rebuild app
ausgeführt habe, erscheint folgende Meldung:

Oops

Die Software, die dieses Diskussionsforum betreibt, ist auf ein unerwartetes Problem gestoßen. Wir bitten um Entschuldigung für die Unannehmlichkeiten.

Detaillierte Informationen zum Fehler wurden protokolliert, und eine automatische Benachrichtigung wurde ausgelöst. Wir werden uns das ansehen.

Es sind keine weiteren Schritte erforderlich. Sollte der Fehler jedoch weiterhin bestehen, können Sie zusätzliche Informationen bereitstellen, einschließlich der Schritte zur Reproduktion des Fehlers, indem Sie ein Diskussionsthema in der Feedback-Kategorie der Seite veröffentlichen.

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.

Try a git pull before rebuild

cd /var/discourse
git pull
./launcher rebuild app
2 „Gefällt mir“

I have done a git pull however I am greeted with this issue.

1 „Gefällt mir“

is there anyway to recover the database and create a new instance of this?

You need to provide the full build logs, your screenshot is a tiny fraction. Paste it into pastebin or similar and link it.

1 „Gefällt mir“

There isn’t any issue afaik. These look to me like fairly normal console logs that pop up around rebuild.

Agreed that the deprecation logs are normal, but it is returning an error 500.

Which plugins are you using?

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

https://pastebin.com/7Za2D7NJ

Also can you try ./launcher enter app
then do curl http://localhost:3000 and see what the output is

The output from curl http:/localhost:3000
https://pastebin.com/wYaA3N5c

Thanks, that didn’t help like I thought it would, sorry about that!

ok try this:
I looked at your site headers with curl,

Content-Security-Policy: base-uri 'none'; object-src 'none'; 
script-src 'report-sample' http://mechassaultonline.com/logs/ 
http://mechassaultonline.com/sidekiq/ 
http://mechassaultonline.com/mini-profiler-resources/ 
http://mechassaultonline.com/assets/ 

etc etc. so first change your site name in containers/app.yml to www.mechassaultonline.com and rebuild, then check the force https checkbox at https://www.mechassaultonline.com/admin/site_settings/category/all_results?filter=https. That should do it!

combination of that. and this →

Looks like everything is up and running. thanks for all the help!