LibreSign won't load the PDF. It's a blank page. Error in log

When I try to open a PDF in LibreSign (that otherwise works fine) I get a blank PDF window, and the document won’t load. It works viewing the PDF by itself, and it works in Certificate24.
Screenshot: https://i.imgur.com/1WPgsmJ.png

In the App settings, everything looks good.
https://i.imgur.com/0CRxCmL.png

There is an error in the logs each time I try:

include(/home/<redacted>/apps/richdocuments/vendor/composer/../mikehaertl/php-pdftk/src/Pdf.php): Failed to open stream: No such file or directory at /home/<redacted>/lib/composer/composer/ClassLoader.php#576

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud Hub 10 (31.0.8)
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 22.04.5
  • Web server and version (e.g, Apache 2.4.25):
    • Apache 2.4.65
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • 1.26.3
  • PHP version (e.g, 8.3):
    • 8.3
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • out of the box
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Softaculous cPanel
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Steps to replicate it (hint: details matter!):

  1. Upload PDF to Files.
  2. Click on PDF file’s 3 dots menu and choose “open in LibreSign”
  3. In the side menu, under the LibreSign tab click “Open File”
  4. The document window loads to a blank PDF UI

Expected behavior: The PDF loads and you can use LibreSign functions on it.

Log entries

See above

Web Browser

All browsers. Ive tried Chromium and Firefox browsers of different flavors.

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

N/A

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "office.<domain>"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "31.0.8.1",
        "overwrite.cli.url": "https:\/\/office.<domain>",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "mysql.utf8mb4": true,
        "memories.db.triggers.fcu": true,
        "memories.exiftool": "\/home\/<username>\/office.<domain>\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
        "memories.vod.path": "\/home\/<username>\/office.<domain>\/apps\/memories\/bin-ext\/go-vod-amd64",
        "app_install_overwrite": {
            "1": "pride",
            "2": "printer",
            "3": "files_reader",
            "4": "ransomware_protection",
            "5": "bookmarks_fulltextsearch",
            "6": "health"
        },
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": true,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
        "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
        "maintenance_window_start": 1,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "default_phone_region": "US",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "memcache.local": "\\OC\\Memcache\\APCu",
        "enabledPreviewProviders": [
            "OC\\Preview\\Image",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\TIFF",
            "OC\\Preview\\Movie"
        ],
        "memories.exiftool_no_local": true
    }

Apps

Enabled:
  - activity: 4.0.0
  - admin_audit: 1.21.0
  - app_api: 5.0.2
  - assistant: 2.6.1
  - bookmarks: 15.1.3
  - bruteforcesettings: 4.0.0
  - calendar: 5.3.9
  - call_summary_bot: 3.0.1
  - certificate24: 0.3.7
  - circles: 31.0.0
  - cloud_federation_api: 1.14.0
  - comments: 1.21.0
  - contacts: 7.2.5
  - contactsinteraction: 1.12.0
  - cookbook: 0.11.3
  - dashboard: 7.11.0
  - dav: 1.33.0
  - deck: 1.15.2
  - drawio: 3.1.0
  - encryption: 2.19.0
  - epubviewer: 1.8.0
  - event_update_notification: 2.6.1
  - external: 6.0.2
  - federatedfilesharing: 1.21.0
  - federation: 1.21.0
  - files: 2.3.1
  - files_accesscontrol: 2.0.0
  - files_antivirus: 6.0.3
  - files_automatedtagging: 2.0.0
  - files_downloadlimit: 4.0.0
  - files_mindmap: 0.0.33
  - files_pdfviewer: 4.0.0
  - files_reminders: 1.4.0
  - files_sharing: 1.23.1
  - files_trashbin: 1.21.0
  - files_versions: 1.24.0
  - firstrunwizard: 4.0.0
  - forms: 5.1.2
  - gdatavaas: 31.0.6
  - geoblocker: 0.5.17
  - groupfolders: 19.1.3
  - health: 2.2.2
  - integration_giphy: 2.1.0
  - intros: 1.1.2
  - libresign: 11.3.0
  - logreader: 4.0.0
  - lookup_server_connector: 1.19.0
  - mail: 5.3.1
  - maps: 1.6.0
  - memories: 7.6.2
  - music: 2.2.0
  - news: 26.1.0
  - nextcloud_announcements: 3.0.0
  - notes: 4.12.3
  - notifications: 4.0.0
  - oauth2: 1.19.1
  - ownershiptransfer: 1.2.1
  - password_policy: 3.0.0
  - photos: 4.0.0
  - polls: 8.2.2
  - previewgenerator: 5.9.0
  - pride: 1.2.0
  - pride_flags: 1.1.2
  - printer: 0.0.5
  - privacy: 3.0.0
  - profile: 1.0.0
  - provisioning_api: 1.21.0
  - quicknotes: 0.8.30
  - ransomware_protection: 1.14.0
  - recognize: 9.0.3
  - recommendations: 4.0.0
  - related_resources: 2.0.0
  - richdocuments: 8.7.4
  - richdocumentscode: 25.4.202
  - secrets: 2.1.2
  - serverinfo: 3.0.0
  - settings: 1.14.0
  - sharebymail: 1.21.0
  - side_menu: 5.1.1
  - spreed: 21.1.3
  - support: 3.0.0
  - survey_client: 3.0.0
  - suspicious_login: 9.0.1
  - systemtags: 1.21.1
  - tables: 0.9.5
  - tasks: 0.16.1
  - terms_of_service: 4.5.0
  - text: 5.0.0
  - theming: 2.6.1
  - theming_customcss: 1.18.0
  - thesearchpage: 1.2.12
  - twofactor_backupcodes: 1.20.0
  - twofactor_nextcloud_notification: 5.0.0
  - twofactor_totp: 13.0.0-dev.0
  - updatenotification: 1.21.0
  - user_status: 1.11.0
  - viewer: 4.0.0
  - weather_status: 1.11.0
  - webhook_listeners: 1.2.0
  - whiteboard: 1.1.3
  - workflowengine: 2.13.0
Disabled:
  - bookmarks_fulltextsearch: 1.2.0 (installed 1.2.0)
  - facerecognition: 0.9.70 (installed 0.9.70)
  - files_external: 1.23.0
  - files_fulltextsearch: 31.0.0 (installed 31.0.0)
  - fulltextsearch: 31.0.0 (installed 31.0.0)
  - richdocumentscode_arm64: 25.4.202
  - user_ldap: 1.22.0

As this is probably a bug in the app, the discussion should be continued on Github:

Yeah, I posted this in both places as I wasn’t sure at first if this was a bug or configuration issue. For me, usually it’s the latter. :sweat_smile: That’s me over on Github.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.