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

[Bug]: Document thumbnails not loading #398

Open
fskaeh opened this issue Mar 10, 2024 · 2 comments
Open

[Bug]: Document thumbnails not loading #398

fskaeh opened this issue Mar 10, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@fskaeh
Copy link

fskaeh commented Mar 10, 2024

What happened?

When in the "Documents" tab of the app, all the thumbnails are blank and showing the URL of the thumbnail instead of the image.
I made sure that this functionality is working properly in other clients, namely the Paperless-NGX web UI and the Swift Paperless (an iOS client).
Tapping the empty thumbnail block to get a full view of the document works fine. The PDF loads and I can see all pages as expected. It's only the thumbnail that won't show.

Steps to reproduce

  1. Open the app
  2. Go to "Documents" tabs

Log output from the app

paperless_mobile_logs_2024-03-10.log

Screenshots

Screenshot_20240310-150728

Paperless-ng*x Version

2.6.2

Paperless-Mobile Version

3.2.1

Device

Google Pixel 8

Operating System Version

Android 14 - Build AP1A.240305.019.A1

Device Locale

EN-US

Selected Locale

None

Additional Context

No response

@fskaeh fskaeh added bug Something isn't working triage labels Mar 10, 2024
@astubenbord
Copy link
Owner

Could you try to open the urls shown inside the boxes in your browser (prepend your paperless url) and see if the thumbnails do load?

@fskaeh
Copy link
Author

fskaeh commented May 19, 2024

@astubenbord sorry for the delay, I didn't see there was an answer on this issue!

I gave it a shot and came upon something interesting:
https://paperless.mydomain.xyz/api/documents/389/thumb/ does show the document thumbnail.
https://paperless.xwdniu.org/api/documents/414/thumb returns a 404 error.

I'm not sure whether this could be the cause of the issue, since the URL's displayed in the app do contain the trailing /, but you never know, if there's some kind of sanitization/formatting logic used on that URL before performing the API call, maybe the trailing gets lost at that point?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants