richdocuments icon indicating copy to clipboard operation
richdocuments copied to clipboard

Watermark not being added to PDFs

Open ga-it opened this issue 6 months ago • 0 comments

Describe the bug Good day. I have recently updated Collabora and Nextcloud, and noticed that no watermark is being added to pdfs. They are still added to word and excel documents.

To Reproduce Steps to reproduce the behavior:

  1. Share a Nextcloud pdf to a group
  2. View that shared pdf as that group member
  3. No watermark

Expected behavior A watermark to appear on the document.

Screenshots

Image

Image

Client details:

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
  • Device: [e.g. iPhone6, desktop]

Server details

Environment:

Docker

For my setup, I made use of https://help.nextcloud.com/t/how-to-docker-compose-with-notify-push-2024/186721

Operating system:

Debian, Linux 6.12.30-amd64

Nextcloud version

Nextcloud Hub 10 (31.0.5)

Collabora version

Collabora Online Development Edition 25.04.2.2 636e10a2b1

Richdocuments version:

8.7.1

Nextcloud version:

Configuration of the richdocuments app

        "richdocuments": {
            "wopi_allowlist": "allow list....",
            "public_wopi_url": "https:\/\/office.domain",
            "enabled": "yes",
            "types": "filesystem,prevent_group_restriction",
            "doc_format": "",
            "wopi_callback_url": "",
            "disable_certificate_verification": "",
            "external_apps": "",
            "canonical_webroot": "nextcloud",
            "wopi_url": "https:\/\/office.domain:443",
            "installed_version": "8.7.1",
            "edit_groups": ""
        },

Logs

Collabora log

When set to debug, I did notice the following when opening a pdf doc.

 [ websrv_poll ] INF Missing JSON property [WatermarkText] will default to []| common/JsonUtil.hpp:158

Please let me know if anyone has any suggestions, or if I should provide more/different information?

ga-it avatar Jun 18 '25 15:06 ga-it