From 336c470a24aeefffb87e379ebe29352f307f3513 Mon Sep 17 00:00:00 2001 From: LouisSung <37973545+LouisSung@users.noreply.github.com> Date: Wed, 6 Sep 2023 00:35:46 +0800 Subject: [PATCH] docs: add repair-filecache when mimetype has been updated Signed-off-by: LouisSung <37973545+LouisSung@users.noreply.github.com> --- admin_manual/configuration_mimetypes/index.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/admin_manual/configuration_mimetypes/index.rst b/admin_manual/configuration_mimetypes/index.rst index c2bdf793721..b0d835895a4 100644 --- a/admin_manual/configuration_mimetypes/index.rst +++ b/admin_manual/configuration_mimetypes/index.rst @@ -21,6 +21,9 @@ command to propagate the changes through the system. This example is for Ubuntu Linux:: $ sudo -u www-data php occ maintenance:mimetype:update-js + + # you may also need to update the mimetype for existing files, see nextcloud/server#30566 + $ sudo -u www-data php occ maintenance:mimetype:update-db --repair-filecache See :doc:`../configuration_server/occ_command` to learn more about ``occ``.