Skip to content

PDF viewer not working with shared links #1063

Closed
@Winterkeks

Description

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. Update on Nextcloud version 30
  2. Open a PDF with the Viewer

Expected behaviour

Tell us what should happen
Normaly it you should see the PDF

Actual behaviour

Tell us what happens instead, if possible also add a screenshot
When I open the PDF a black screen appears

Server configuration

Database: MySQL/Maria/SQLite/PostgreSQL
MariaDB

Nextcloud version: (see Nextcloud admin page)
30.0.0

List of activated apps Auditing / Logging Brute-force settings External storage support File sharing Files download limit Nextcloud webhook support Password policy Share by mail PDF Viewer 3.0.0
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

Browser

Browser name: Firefox/Chrome/Safari/…
In every Browser it doesnt work
Browser version: 124/125/…

Operating system: Windows/Ubuntu/Mac/…
Windows

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


Browser Console
image

If I open a PDF normally and i am logged in as a user on the nextcloud, the PDF opens and I see it. But if I share a PDF and open the link in another browser and I'm not logged in there, all I see is a blank screen.

I use docker and there the Nextcloud container:
https://hub.docker.com/layers/library/nextcloud/30.0.0/images/sha256-0f19a49f4169d4622128f73b8b84110dccd8d7b6c925e1cc54860914be549e89?context=explore

Not working:
nextcloud1

Working (If iam logged in):
nextcloud2

Activity

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

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