From 15d57d7f7f51e560898a4c32d81ea92f1505bc6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 7 Jun 2023 01:21:34 +0200 Subject: [PATCH] Fix --- conf/homeserver.yaml | 4 ++-- manifest.toml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/homeserver.yaml b/conf/homeserver.yaml index b193acf..9e1bf4e 100644 --- a/conf/homeserver.yaml +++ b/conf/homeserver.yaml @@ -956,7 +956,7 @@ log_config: "/etc/matrix-__APP__/log.yaml" # Directory where uploaded images and attachments are stored. # -media_store_path: "/home/yunohost.app/matrix-__APP__/media" +media_store_path: "__DATA_DIR__/media" # Media storage providers allow media to be stored in different # locations. @@ -970,7 +970,7 @@ media_storage_providers: # Whether to wait for successful storage for local uploads store_synchronous: false config: - directory: "/home/yunohost.app/matrix-__APP__/media_storage" + directory: "__DATA_DIR__/media_storage" # The largest allowed upload size in bytes # diff --git a/manifest.toml b/manifest.toml index 9496ec4..681d045 100644 --- a/manifest.toml +++ b/manifest.toml @@ -80,6 +80,7 @@ ram.runtime = "50M" dir = "/opt/yunohost/matrix-__APP__" [resources.data_dir] + subdirs = ["media", "media_storage"] [resources.permissions] main.url = "/"