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

[stable30] feat(admin): document preview:cleanup occ command #12487

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions admin_manual/configuration_files/previews_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ values.

But deemed necessary, following changes have to be made in ``config/config.php`` file. As a best practice, take a backup of this config file before making a lot of changes.

After changing one or more of the following parameters, you might want to run the ``preview:cleanup`` occ command to get rid of the previews with obsolete settings.
See :ref:`occ_cleanup_previews` to learn more.

Disabling previews:
^^^^^^^^^^^^^^^^^^^

Expand Down
12 changes: 12 additions & 0 deletions admin_manual/configuration_server/occ_command.rst
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,18 @@ with the files on the actual storage.::
Arguments:
folder The appdata subfolder to scan [default: ""]

.. _occ_cleanup_previews:

Cleanup previews
^^^^^^^^^^^^^^^^

``preview:cleanup`` removes all of the server's preview files. This is useful
when changing the previews configuration (sizes, quality or file), and especially
on systems using Object Storage as Primary Storage where the ``appdata_xxx/preview``
folder can't simply be deleted.

See :doc:`configuration_files/previews_configuration`.


Cleanup
^^^^^^^
Expand Down
Loading