Steps to reproduce
- Disable files_pdfviewer either via Admin UI (Apps) or via command:
php occ app:disable files_pdfviewer
- Try to open a PDF file in Mail app
- 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.
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.
Steps to reproduce
php occ app:disable files_pdfviewerExpected 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.
The command
php occ config:app:delete files_pdfviewer enable_scriptingdoes not resolve the issue either.
Environment
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.