Skip to content

Documentation to disable preview generation wrong #5600

@Kaijudo

Description

@Kaijudo

In the documentation, in order to disable preview generation, the config value is set as lazy:

By default Nextcloud will generate previews of Office files using the Collabora file conversion endpoint. This can be turned off through
occ config:app:set richdocuments preview_generation --type boolean --lazy --value false

When the configuration value is actually loaded, only non-lazy values are loaded, since getAppValueBool() defaults to non-lazy if not explicitly set.

public function isPreviewGenerationEnabled(): bool {
return $this->appConfig->getAppValueBool('preview_generation', true);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions