Skip to content

[Bug]: Imagemagick preview providers are disabled #62802

Description

@rustyscottweber

⚠️ This issue respects the following points: ⚠️

Bug description

I've noticed that with version 34.0.2 has the image magic providers disabled by hard coding certain functions to return back false.

f99797b

As far as I can tell, there doesn't seem to be a reason as to why they were/should be disabled.

I apologize in advance if this was by design and maybe I just missed the closed PR or bug which discusses why they were disabled. However, prudence tells me that these functions were meant to be enabled. If not enabled now, then enabled in the future.

Steps to reproduce

  1. Install 34.0.2
  2. Attempt to generate a preview for an HEIC image (or some other image magic based provider)
  3. Preview generation fails with error message that there is no preview provider for that file type.

Expected behavior

A preview is generated

Nextcloud Server version

34

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.5

Web server

Apache (supported)

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

NA

List of activated Apps

NA

Nextcloud Signing status

NA

Nextcloud Logs

NA

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap34-feedbackbug

    Type

    Projects

    Status
    Confirmed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions