-
Notifications
You must be signed in to change notification settings - Fork 43
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
Nextcloud 29.0.9: files_pdfviewer-public.js
are missing and PDF documents can't be opened
#1080
Comments
According to {
"reqId": "hisLNxFNFjl13wRNglUg",
"level": 3,
"time": "2024-11-07T13:59:13+00:00",
"remoteAddr": "**",
"user": "--",
"app": "jsresourceloader",
"method": "GET",
"url": "/index.php/s/**",
"message": "Could not find resource files_pdfviewer/js/files_pdfviewer-public.js to load",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0",
"version": "29.0.9.2",
"data": {
"app": "jsresourceloader"
}
} And indeed, the file is missing in Nextcloud 29.0.9. Nextcloud 29.0.8: $ wget https://download.nextcloud.com/server/releases/nextcloud-29.0.8.zip
$ unzip -l nextcloud-29.0.8.zip | grep files_pdfviewer-public.js
79936 2024-10-10 11:13 nextcloud/apps/files_pdfviewer/js/files_pdfviewer-public.js.map
19184 2024-10-10 11:13 nextcloud/apps/files_pdfviewer/js/files_pdfviewer-public.js
1683 2024-10-10 11:13 nextcloud/apps/files_pdfviewer/js/files_pdfviewer-public.js.LICENSE.txt Nextcloud 29.0.9: $ wget https://download.nextcloud.com/server/releases/nextcloud-29.0.9.zip
$ unzip -l nextcloud-29.0.9.zip | grep files_pdfviewer-public.js |
files_pdfviewer-public.js
are missing and PDF documents can't be opened
A potential fix is in #1081 |
This comment has been minimized.
This comment has been minimized.
Yeah this will fix it. 👍 |
Fixed via #1081 |
Local workaround: I copied the files_pdfview directory from 29.0.8 into 29.0.9. |
I copied the files in apps/files_pdfviewer/js too and it works now :) |
same: nc 29.0.9, PHP 8.3
yes, workaround is working - copied from backup: cp -p ...backup/apps/files_pdfviewer/js/files* ..../apps/files_pdfviewer/js You need to re-login to make it to work |
How to use GitHub
Steps to reproduce
Expected behaviour
The PDF is displayed in the browser.
Actual behaviour
The PDF is not displayed in the browser, only offered for download.
Server configuration
Web server: Nginx
Database: MariaDB
PHP version: 8.2.2
Nextcloud version: 29.0.9
List of activated apps
Nextcloud configuration
I can provide if necessary.
Browser
Browser name: Firefox
Browser version: 132.0.1 (aarch64)
Operating system: macOS 14.7
The text was updated successfully, but these errors were encountered: