Skip to content

Viewer does not show updated file #1413

Description

@jro-signotec

I am having trouble previewing updated documents.
I am currently developing an app that updates documents and records the date of the last change. However, the PDF viewer still shows the initial version.
I need to display the signatures and fields set by my app in the PDF preview. How can I achieve this?

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Upload a PDF file.
  2. Upload an updated version of this file, e.g. one with completed fields.
  3. Open the viewer.

Expected behaviour

I am expecting to see the latest version of the document.

Actual behaviour

This shows the version of the document that was initially uploaded.

Server configuration

Web server: Nginx

Database: MySQL

PHP version: 8.2

Nextcloud version: 34

List of activated apps

Enabled:

  • circles: 34.0.0-dev.0
  • cloud_federation_api: 1.18.0
  • comments: 1.24.0
  • contactsinteraction: 1.15.0
  • dashboard: 7.14.0
  • dav: 1.38.0
  • federatedfilesharing: 1.24.0
  • federation: 1.24.0
  • files: 2.6.0
  • files_pdfviewer: 7.0.0-dev.0
  • files_reminders: 1.7.0
  • files_sharing: 1.26.0
  • files_trashbin: 1.24.0
  • files_versions: 1.27.0
  • hmr_enabler: 1.3.0-dev.0
  • lookup_server_connector: 1.22.0
  • oauth2: 1.22.0
  • profile: 1.3.0
  • profiler: 5.0.0-dev.0
  • provisioning_api: 1.24.0
  • recommendations: 7.0.0-dev.0
  • settings: 1.17.0
  • sharebymail: 1.24.0
  • signotecsignosignuniversal: 1.0.0 -> i update the file using this app.
  • systemtags: 1.24.0
  • theming: 2.9.0
  • twofactor_backupcodes: 1.23.0
  • updatenotification: 1.24.0
  • user_oidc: 8.8.0
  • user_status: 1.14.0
  • viewer: 7.0.0-dev.0
  • weather_status: 1.14.0
  • webhook_listeners: 1.6.0
  • workflowengine: 2.16.0
Nextcloud configuration ``` { "system": { "debug": true, "profiler": true, "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/apps-extra", "url": "\/apps-extra", "writable": false }, { "path": "\/var\/www\/html\/apps-shared", "url": "\/apps-shared", "writable": false }, { "path": "\/var\/www\/html\/apps-writable", "url": "\/apps-writable", "writable": true } ], "allow_local_remote_servers": true, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "1025", "skeletondirectory": "\/skeleton", "setup_create_db_user": false, "loglevel": 2, "log_query": false, "query_log_file": "\/shared\/log\/querylog-nextcloud.log", "query_log_file_requestid": "yes", "diagnostics.logging": false, "diagnostics.logging.threshold": 0, "log.condition": { "apps": [ "diagnostics", "admin_audit" ] }, "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "nextcloud", "nextcloud.local", "192.168.21.8", "localhost" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "34.0.0.1", "overwrite.cli.url": "http:\/\/nextcloud.local", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "updater.release.channel": "git", "instanceid": "***REMOVED SENSITIVE VALUE***", "installed": true, "lookup_server": "", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "memcache.local": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "trusted_proxies": "***REMOVED SENSITIVE VALUE***" } } ```

Browser

Browser name: Chrome

Browser version: 147.0.7727.56

Operating system: Windows

Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions