Existe um guia para mover /uploads para um novo disco rígido anexado?

I have about 20gb of space left and rather than upgrading my AWS Lightsail instance to the next level up I would rather just add an attached drive. I have done this and mounted it but I am unsure of what I need to do for Discourse to use it for either future uploads (hey wouldn’t that be nice) or move the entire folder over to the new drive and have it access it there.

Any pointers would be appreciated.

(post deleted by author)

I assume you mean a configuration setting in app.yml and a rebuild of Discourse? There is no uploads_path in the normal settings area of Discourse.

And are you saying that if I do this only new uploads will be stored there?

(post deleted by author)

You sound like an hallucinating LLM… There is no such setting?

2 curtidas

In broad strokes, you can rsync /var/discourse/shared/standalone/uploads to the new drive and then add another line in the app.yml to direct /shared/uploads to the new path.