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

Public share throws Files_PDFViewer: But this does not appear to be a public page #946

Open
bjo81 opened this issue Apr 8, 2024 · 7 comments

Comments

@bjo81
Copy link

bjo81 commented Apr 8, 2024

Steps to reproduce

  1. Share a PDF file (e.g. Nextcloud Manual.pdf)
  2. Open the link

Expected behaviour

Open/view the PDF

Actual behaviour

a small PDF icon appears

Screenshot 2024-04-08 at 11-37-00 Nextcloud Manual pdf

Server configuration

Operating system:
Ubuntu 20.04

Web server:
1.18.0-0ubuntu1.4

Database:
MariaDB 10.3.39-0ubuntu0.20.04.2

PHP version:
PHP 8.1.26

Nextcloud version: 28.0.4

Where did you install Nextcloud from:
Own Docker-Image, based on Alpine and the official image

List of activated apps:

Enabled:
  - activity: 2.20.0
  - bruteforcesettings: 2.8.0
  - cloud_federation_api: 1.11.0
  - comments: 1.18.0
  - contactsinteraction: 1.9.0
  - dashboard: 7.8.0
  - dav: 1.29.1
  - federatedfilesharing: 1.18.0
  - federation: 1.18.0
  - files: 2.0.0
  - files_pdfviewer: 2.9.0
  - files_reminders: 1.1.0
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - firstrunwizard: 2.17.0
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - nextcloud_announcements: 1.17.0
  - notes: 4.9.4
  - notifications: 2.16.0
  - oauth2: 1.16.3
  - password_policy: 1.18.0
  - photos: 2.4.0
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - qownnotesapi: 24.4.0
  - recommendations: 2.0.0
  - related_resources: 1.3.0
  - richdocuments: 8.3.3
  - serverinfo: 1.18.0
  - settings: 1.10.1
  - sharebymail: 1.18.0
  - support: 1.11.1
  - survey_client: 1.16.0
  - suspicious_login: 6.0.0
  - systemtags: 1.18.0
  - text: 3.9.1
  - theming: 2.3.0
  - twofactor_admin: 4.5.0
  - twofactor_backupcodes: 1.17.0
  - twofactor_totp: 10.0.0-beta.2
  - updatenotification: 1.18.0
  - user_ldap: 1.19.0
  - user_status: 1.8.1
  - viewer: 2.2.0
  - weather_status: 1.8.0
  - workflowengine: 2.10.0
Disabled:
  - admin_audit: 1.18.0
  - circles: 28.0.0 (installed 0.19.5)
  - encryption: 2.16.0
  - files_external: 1.20.0
  - files_rightclick: 0.15.1 (installed 1.6.0)

Nextcloud configuration:

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "somedomain.xyz.net"
        ],
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "versions_retention_obligation": "D1, auto",
        "overwritehost": "somedomain.xyz.net",
        "default_phone_region": "DE",
        "overwriteprotocol": "https",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/somedomain.xyz.net",
        "dbtype": "mysql",
        "version": "28.0.4.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_smtpauthtype": "LOGIN",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "loglevel": 0,
        "maintenance_window_start": 1,
        "maintenance": false,
        "app_install_overwrite": [
            "mail",
            "files_mindmap",
            "files_linkeditor"
        ],
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ]
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "2.20.0",
            "types": "filesystem"
        },
        "backgroundjob": {
            "lastjob": "3"
        },
        "bruteforcesettings": {
            "enabled": "yes",
            "installed_version": "2.8.0",
            "types": ""
        },
        "calendar": {
            "installed_version": "2.0.3",
            "types": ""
        },
        "circles": {
            "installed_version": "0.18.9",
            "types": "dav"
        },
        "cloud_federation_api": {
            "enabled": "yes",
            "installed_version": "1.11.0",
            "types": "filesystem"
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "logging"
        },
        "contacts": {
            "installed_version": "3.3.0",
            "types": ""
        },
        "contactsinteraction": {
            "enabled": "yes",
            "installed_version": "1.9.0",
            "types": "dav"
        },
        "core": {
            "backgroundjobs_mode": "cron",
            "enterpriseLogoChecked": "yes",
            "files_metadata": "{\"photos-original_date_time\":{\"value\":null,\"type\":\"int\",\"indexed\":true,\"editPermission\":0},\"photos-exif\":{\"value\":null,\"type\":\"array\",\"indexed\":false,\"editPermission\":0},\"photos-ifd0\":{\"value\":null,\"type\":\"array\",\"indexed\":false,\"editPermission\":0},\"photos-size\":{\"value\":null,\"type\":\"array\",\"indexed\":false,\"editPermission\":0},\"photos-gps\":{\"value\":null,\"type\":\"array\",\"indexed\":false,\"editPermission\":0},\"photos-place\":{\"value\":null,\"type\":\"string\",\"indexed\":true,\"editPermission\":0}}",
            "files_metadata_installed": "1",
            "installed.bundles": "[\"CoreBundle\"]",
            "installedat": "1528451426.5171",
            "lastcron": "1712568603",
            "lastupdateResult": "[]",
            "lastupdatedat": "1712565554",
            "moveavatarsdone": "yes",
            "oc.integritycheck.checker": "[]",
            "previewsCleanedUp": "1",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "scss.variables": "216054d902836e686288792a33c48fe7",
            "theming.variables": "2835968b48eb9346463925654df75237",
            "umgmt_send_email": "true",
            "umgmt_show_backend": "false",
            "umgmt_show_email": "true",
            "updater.secret.created": "1618959478",
            "vendor": "nextcloud"
        },
        "dashboard": {
            "enabled": "yes",
            "installed_version": "7.8.0",
            "types": ""
        },
        "dav": {
            "buildCalendarReminderIndex": "yes",
            "buildCalendarSearchIndex": "yes",
            "chunks_migrated": "1",
            "enabled": "yes",
            "installed_version": "1.29.1",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "types": "filesystem"
        },
        "deck": {
            "installed_version": "1.0.5",
            "types": "dav"
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "authentication"
        },
        "files": {
            "cronjob_scan_files": "500",
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": "filesystem"
        },
        "files_accesscontrol": {
            "installed_version": "1.8.1",
            "types": "filesystem"
        },
        "files_linkeditor": {
            "enabled": "yes",
            "installed_version": "1.1.19",
            "types": ""
        },
        "files_mindmap": {
            "enabled": "yes",
            "installed_version": "0.0.30",
            "types": ""
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "2.9.0",
            "types": ""
        },
        "files_pdfviewer.bak": {
            "enabled": "no",
            "installed_version": "2.0.1"
        },
        "files_reminders": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": ""
        },
        "files_rightclick": {
            "enabled": "no",
            "installed_version": "1.6.0",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "installed_version": "1.20.0",
            "outgoing_server2server_share_enabled": "yes",
            "types": "filesystem"
        },
        "files_texteditor": {
            "enabled": "no",
            "installed_version": "2.8.0",
            "types": ""
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "filesystem,dav"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.21.0",
            "types": "filesystem,dav"
        },
        "firstrunwizard": {
            "enabled": "yes",
            "installed_version": "2.17.0",
            "types": "logging"
        },
        "gallery": {
            "enabled": "no",
            "installed_version": "18.4.0",
            "types": ""
        },
        "groupfolders": {
            "enabled": "no",
            "installed_version": "13.1.3",
            "types": "filesystem,dav"
        },
        "impersonate": {
            "installed_version": "1.5.2",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "2.13.0",
            "types": "logging"
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.16.0",
            "types": "authentication"
        },
        "mail": {
            "enabled": "no",
            "installed_version": "1.4.1",
            "types": ""
        },
        "metadata": {
            "installed_version": "0.12.0",
            "types": ""
        },
        "nextcloud_announcements": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "types": "logging"
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "2.16.0",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.16.3",
            "types": "authentication"
        },
        "ojsxc": {
            "apiSecret": "GCBcmJnFd6+pfejKRUAJX44",
            "installed_version": "4.1.1",
            "types": "prelogin"
        },
        "password_policy": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "authentication"
        },
        "photos": {
            "enabled": "yes",
            "installed_version": "2.4.0",
            "lastPlaceMappedUser": "zipline-representative",
            "lastPlaceMappingDone": "true",
            "types": "dav,authentication"
        },
        "polls": {
            "enabled": "yes",
            "installed_version": "7.0.2",
            "types": ""
        },
        "previewgenerator": {
            "installed_version": "2.3.0",
            "types": "filesystem"
        },
        "privacy": {
            "enabled": "yes",
            "installed_version": "1.12.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "prevent_group_restriction"
        },
        "quota_warning": {
            "installed_version": "1.7.0",
            "types": "filesystem"
        },
        "rainloop": {
            "installed_version": "6.1.4",
            "types": ""
        },
        "recommendations": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "types": ""
        },
        "related_resources": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": ""
        },
        "richdocuments": {
            "enabled": "yes",
            "installed_version": "8.3.3",
            "public_wopi_url": "https:\/\/collabora.xyz.net",
            "types": "prevent_group_restriction",
            "wopi_url": "https:\/\/collabora.xyz.net"
        },
        "serverinfo": {
            "cached_count_filecache": "171215",
            "cached_count_storages": "43",
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": ""
        },
        "settings": {
            "enabled": "yes",
            "installed_version": "1.10.1",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "filesystem"
        },
        "spreed": {
            "enabled": "no"
        },
        "support": {
            "SwitchUpdaterServerHasRun": "yes",
            "enabled": "yes",
            "installed_version": "1.11.1",
            "types": "session"
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "1.16.0",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.18.0",
            "types": "logging"
        },
        "tasks": {
            "installed_version": "0.13.3",
            "types": ""
        },
        "text": {
            "enabled": "yes",
            "installed_version": "3.9.1",
            "types": "dav"
        },
        "theming": {
            "backgroundMime": "backgroundColor",
            "cachebuster": "23",
            "color": "#62a31d",
            "enabled": "yes",
            "imprintUrl": "***REMOVED SENSITIVE VALUE***",
            "installed_version": "2.3.0",
            "logoMime": "image\/png",
            "logoheaderMime": "image\/png",
            "name": "somedomain Collaboration - Nextcloud",
            "privacyUrl": "***REMOVED SENSITIVE VALUE***",
            "types": "logging"
        },
        "theming_customcss": {
            "installed_version": "1.6.0",
            "types": ""
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.17.0",
            "types": ""
        },
        "twofactor_u2f": {
            "installed_version": "5.1.0",
            "types": ""
        },
        "updatenotification": {
            "bruteforcesettings": "2.4.0",
            "core": "28.0.4.1",
            "enabled": "yes",
            "files_linkeditor": "1.1.19",
            "files_mindmap": "0.0.30",
            "files_rightclick": "0.15.1",
            "installed_version": "1.18.0",
            "mail": "0.8.3",
            "polls": "7.0.2",
            "related_resources": "1.0.4",
            "richdocuments": "8.3.3",
            "theming": "1.4.5",
            "types": "",
            "update_check_errors": "0"
        },
        "user_status": {
            "enabled": "yes",
            "installed_version": "1.8.1",
            "types": ""
        },
        "viewer": {
            "enabled": "yes",
            "installed_version": "2.2.0",
            "types": ""
        },
        "weather_status": {
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": ""
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "2.10.0",
            "types": "filesystem"
        }
    }

Client configuration

Browser:
124.0.2

Operating system:
Arch

Additional notes:

Logs

Nothing related

Nextcloud log (data/owncloud.log)

Nothing related

Browser log

JQMIGRATE: Migrate is installed, version 3.4.1 [jquery-migrate.min.js:2:980](webpack:///nextcloud/node_modules/jquery-migrate/dist/jquery-migrate.min.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.wordperfect 
Object { app: "viewer", level: 0, mime: "application/vnd.wordperfect", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/rtf 
Object { app: "viewer", level: 0, mime: "application/rtf", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/rtf 
Object { app: "viewer", level: 0, mime: "text/rtf", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/msonenote 
Object { app: "viewer", level: 0, mime: "application/msonenote", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/msword 
Object { app: "viewer", level: 0, mime: "application/msword", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.openxmlformats-officedocument.wordprocessingml.document 
Object { app: "viewer", level: 0, mime: "application/vnd.openxmlformats-officedocument.wordprocessingml.document", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.openxmlformats-officedocument.wordprocessingml.template 
Object { app: "viewer", level: 0, mime: "application/vnd.openxmlformats-officedocument.wordprocessingml.template", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.ms-word.document.macroEnabled.12 
Object { app: "viewer", level: 0, mime: "application/vnd.ms-word.document.macroEnabled.12", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.ms-word.template.macroEnabled.12 
Object { app: "viewer", level: 0, mime: "application/vnd.ms-word.template.macroEnabled.12", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.ms-excel 
Object { app: "viewer", level: 0, mime: "application/vnd.ms-excel", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.openxmlformats-officedocument.spreadsheetml.sheet 
Object { app: "viewer", level: 0, mime: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.openxmlformats-officedocument.spreadsheetml.template 
Object { app: "viewer", level: 0, mime: "application/vnd.openxmlformats-officedocument.spreadsheetml.template", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.ms-excel.sheet.macroEnabled.12 
Object { app: "viewer", level: 0, mime: "application/vnd.ms-excel.sheet.macroEnabled.12", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.ms-excel.template.macroEnabled.12 
Object { app: "viewer", level: 0, mime: "application/vnd.ms-excel.template.macroEnabled.12", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.ms-excel.addin.macroEnabled.12 
Object { app: "viewer", level: 0, mime: "application/vnd.ms-excel.addin.macroEnabled.12", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.ms-excel.sheet.binary.macroEnabled.12 
Object { app: "viewer", level: 0, mime: "application/vnd.ms-excel.sheet.binary.macroEnabled.12", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.ms-powerpoint 
Object { app: "viewer", level: 0, mime: "application/vnd.ms-powerpoint", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.openxmlformats-officedocument.presentationml.presentation 
Object { app: "viewer", level: 0, mime: "application/vnd.openxmlformats-officedocument.presentationml.presentation", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.openxmlformats-officedocument.presentationml.template 
Object { app: "viewer", level: 0, mime: "application/vnd.openxmlformats-officedocument.presentationml.template", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.openxmlformats-officedocument.presentationml.slideshow 
Object { app: "viewer", level: 0, mime: "application/vnd.openxmlformats-officedocument.presentationml.slideshow", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.ms-powerpoint.addin.macroEnabled.12 
Object { app: "viewer", level: 0, mime: "application/vnd.ms-powerpoint.addin.macroEnabled.12", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.ms-powerpoint.presentation.macroEnabled.12 
Object { app: "viewer", level: 0, mime: "application/vnd.ms-powerpoint.presentation.macroEnabled.12", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.ms-powerpoint.template.macroEnabled.12 
Object { app: "viewer", level: 0, mime: "application/vnd.ms-powerpoint.template.macroEnabled.12", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/vnd.ms-powerpoint.slideshow.macroEnabled.12 
Object { app: "viewer", level: 0, mime: "application/vnd.ms-powerpoint.slideshow.macroEnabled.12", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/csv 
Object { app: "viewer", level: 0, mime: "text/csv", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/markdown 
Object { app: "viewer", level: 0, mime: "text/markdown", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/plain 
Object { app: "viewer", level: 0, mime: "text/plain", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/cmd 
Object { app: "viewer", level: 0, mime: "application/cmd", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/x-empty 
Object { app: "viewer", level: 0, mime: "application/x-empty", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/x-msdos-program 
Object { app: "viewer", level: 0, mime: "application/x-msdos-program", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/javascript 
Object { app: "viewer", level: 0, mime: "application/javascript", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/json 
Object { app: "viewer", level: 0, mime: "application/json", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/x-perl 
Object { app: "viewer", level: 0, mime: "application/x-perl", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/x-php 
Object { app: "viewer", level: 0, mime: "application/x-php", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/x-tex 
Object { app: "viewer", level: 0, mime: "application/x-tex", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/xml 
Object { app: "viewer", level: 0, mime: "application/xml", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime application/yaml 
Object { app: "viewer", level: 0, mime: "application/yaml", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/asciidoc 
Object { app: "viewer", level: 0, mime: "text/asciidoc", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/css 
Object { app: "viewer", level: 0, mime: "text/css", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/html 
Object { app: "viewer", level: 0, mime: "text/html", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/org 
Object { app: "viewer", level: 0, mime: "text/org", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/x-c 
Object { app: "viewer", level: 0, mime: "text/x-c", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/x-c++src 
Object { app: "viewer", level: 0, mime: "text/x-c++src", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/x-h 
Object { app: "viewer", level: 0, mime: "text/x-h", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/x-java-source 
Object { app: "viewer", level: 0, mime: "text/x-java-source", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/x-ldif 
Object { app: "viewer", level: 0, mime: "text/x-ldif", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/x-python 
Object { app: "viewer", level: 0, mime: "text/x-python", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime text/x-shellscript 
Object { app: "viewer", level: 0, mime: "text/x-shellscript", group: null }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] viewer: Legacy file action registered for mime video/x-matroska 
Object { app: "viewer", level: 0, mime: "video/x-matroska", group: "media" }
[ConsoleLogger.js:65:18](webpack:///viewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[DEBUG] Files_PDFViewer: Initializing for public page 
Object { app: "Files_PDFViewer", level: 0, isPublicPage: true, canDownload: false, isSecureViewerAvailable: true }
[ConsoleLogger.js:65:18](webpack:///files_pdfviewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
[ERROR] Files_PDFViewer: But this does not appear to be a public page 
Object { app: "Files_PDFViewer", level: 0 }
[ConsoleLogger.js:74:18](webpack:///files_pdfviewer/node_modules/@nextcloud/logger/dist/ConsoleLogger.js)
​```
@Bugsbane
Copy link
Member

One extra bit of info: I have this issue too, but removing special characters (such as hyphens) from the file name seemed to work around the issue.

@bjo81
Copy link
Author

bjo81 commented Apr 28, 2024

@Bugsbane Interesting, as I got the issue also with Nextcloud Manual.pdf which apparently has no special characters.

@R053NR07
Copy link

I get this issue when "hide download" is activated. If not it's loading.

@Bugsbane
Copy link
Member

@Bugsbane Interesting, as I got the issue also with Nextcloud Manual.pdf which apparently has no special characters.

I would suggest trying to remove the space between "Nextcloud" and "Manual" and see if it still happens...

@bjo81
Copy link
Author

bjo81 commented May 27, 2024

I would suggest trying to remove the space between "Nextcloud" and "Manual" and see if it still happens...

Does not help.

@Mer0me
Copy link

Mer0me commented Jun 24, 2024

Some news here ? I've set Onlyoffice as default app to open PDF and disabled files_pdfviewer temporarly as a workaround, but the files_pdfviewer reader is much reactive and I would like to revert as soon as possible.

@DanScharon
Copy link

seems related to #649

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants