Wie bearbeite ich meine "/containers/app.yml" Datei vom root@digitaloceandropletname SSH-Arbeitsbereich aus?

I installed discourse through DigitalOcean with the instructions here

The instructions read:

If you need to change or fix these settings after bootstrapping, edit your /containers/app.yml file

I am at the command prompt and logged into the ssh workspace

root@discourseforum:~#

Can someone please explain how I open the “/containers/app.yml file” file to edit it?

This should work:

cd /var/discourse
nano containers/app.yml

This just gives me a black screen. How do I access the text file to make changes?

Hmm…is the file not there?

What do you get when you run:

cd /var/discourse/containers
ls -la

Also, just to check, when you ran the commands in my previous post, you didn’t put a slash in front of containers, right?

thanks this works after i started over with a fresh install from a fresh droplet. it wasn’t working previously thanks.

Du kannst eine der Vorlagen aus dem Ordner templates verwenden. Wenn du beispielsweise einen eigenständigen Server betreiben möchtest, verwende einfach die Datei standalone.yml.

Beispiel:

cp /var/discourse/samples/standalone.yml /var/discourse/containers/app.yml

Dort kannst du die erforderlichen Änderungen vornehmen.

Soweit ich weiß, wenn es sich nicht im Container befindet, ist containers ein Unterverzeichnis von /var/discourse; es gibt kein Verzeichnis /containers. Wenn ich mich also nicht irre, sollte die Zeile “or edit /containers/app.yml manually” in INSTALL.md lauten “or edit containers/app.yml manually” oder “or edit /var/discourse/containers/app.yml manually”.