Skip to content

Files_pdfviewer cannot be properly disabled in Nextcloud 33 #12772

@PeViz

Description

@PeViz

Steps to reproduce

  1. Disable files_pdfviewer either via Admin UI (Apps) or via command:
    php occ app:disable files_pdfviewer
  2. Try to open a PDF file in Mail app
  3. Optionally restart Apache

Expected behaviour

After disabling the app, PDF files should fall back to
downloading or being handled by the browser natively.

Actual behaviour

Even after disabling the app, Nextcloud still attempts to
open PDF files through files_pdfviewer and fails with
"File not found" notification. Restarting Apache does not help.

Image

The command php occ config:app:delete files_pdfviewer enable_scripting
does not resolve the issue either.

Environment

  • Nextcloud version: 33
  • PHP version: 8.4.20 (cli) (built: Apr 8 2026 08:16:38) (NTS gcc x86_64)
  • Web server: Apache
  • Browser: Chrome, Edge, Safari (and others)

Additional context

The app appears to be hardcoded or deeply integrated into
the Viewer app in NC33, with no clean fallback when disabled.
Disabling via UI and via occ both leave the system in a broken state.

Metadata

Metadata

Assignees

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