Existe-t-il un guide pour déplacer /uploads vers un nouveau disque dur attaché ?

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.

To use your new attached drive with Discourse, you need to move the Discourse data folder (typically /var/discourse) to the new disk and then configure Discourse to point to it, or configure Discourse to store new uploads to the attached drive by changing the uploads_path in your Discourse configuration to a directory on the new disk.

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?

yes.

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

1 « J'aime »