Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paperclip write permissions #1442

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions content/en/admin/optional/object-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ The simplest way to store user uploads is by using the server's file system. Thi

By default, Mastodon will store file uploads under `public/system` in its installation directory, but that can be overridden using the `PAPERCLIP_ROOT_PATH` environment variable.

{{< hint style="info" >}}
If `PAPERCLIP_ROOT_PATH` is not below `/home/mastodon/live`, you'll need to edit `mastodon-sidekiq.service` and `mastodon-web.service` and replace `ReadWritePaths=/home/mastodon/live` by `ReadWritePaths=/home/mastodon <PAPERCLIP_ROOT_PATH>`.
{{</ hint >}}

By default, the files are served at `https://your-domain/system`, which can be overridden using `PAPERCLIP_ROOT_URL` and `CDN_HOST`.

{{< hint style="info" >}}
Expand Down