Closed platofan23 closed 2 years ago
Hi,
I will need a screenshot of your network requests.
Before you do anything, still on the development tools, there is a tab called network
. Click on it and then the xhr filter. Do your action and screenshot the network log like this:
I will also need your browser console log. Open your console, reload your page and/or do the action leading to this issue and copy/paste the log in this thread.
Hi,
1. I will need a screenshot of your network requests. Before you do anything, still on the development tools, there is a tab called `network`. Click on it and then the xhr filter. Do your action and screenshot the network log like this: ![capture d ecran_2018-09-27_21-49-46](https://user-images.githubusercontent.com/14975046/46170857-43548000-c29f-11e8-9403-db72713dd9c1.png) 2. I will also need your browser console log. Open your console, reload your page and/or do the action leading to this issue and copy/paste the log in this thread.
How to access your browser console (Click to expand) Sure thing: Here the screenshot for the console while opening a word-document which doesn't work as well:
And here the screenshot of the network tab:
The normal console tab for the files:
And the normal network tab;
Thanks for helping I hope to get my documents back from there.
But you're not trying to open them in Viewer. You're trying to download them? :thinking:
Can you show me the result of occ app:list
please?
But you're not trying to open them in Viewer. You're trying to download them? thinking Can you show me the result of
occ app:list
please?
When trying to open the app. I get an 503 unexspected response and sometimes it is endless loading. And download of document files does not work AQWKK. Newly uploaded files do work but my old files not anymore somehow. I just updates the version.
The list of apps is in the problem discription already included.
Indeed, it seems you have the necessary apps enabled. Please do the following
Now, if it fails:
The url should not be something like remote.php/dav/xxx/xxx
, but something like /apps/files/?dir=/&fileid=xxxx
Yes they are all installed and activated: The output of the network tab:
and the output of the console:
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 11 globals.js:62:15 Opening viewer for file /Belege/Lebensmittel/17.02.2022_Rewe.pdf Viewer.vue:258 Fetching additional files... Viewer.vue:296 OC.Util.relativeModifiedDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment 6 util.js:135:11 Content Security Policy: 'x-frame-options' wird wegen 'frame-ancestors'-Direktive ignoriert. Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert ("script-src"). moz-extension:278:256513 Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf data: blockiert ("media-src"). Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert ("script-src"). 2 moz-extension:33:9 Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert ("script-src"). moz-extension:31:9 Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert ("script-src"). moz-extension:4604:22 [INFO] Files_PDFViewer: Download and print available Object { app: "Files_PDFViewer" } ConsoleLogger.js:46:18 [DEBUG] Files_PDFViewer: Initialized files_pdfviewer Object { app: "Files_PDFViewer", cursorToolOnLoad: 0, defaultUrl: "compressed.tracemonkey-pldi-09.pdf", defaultZoomValue: "", disableHistory: false, disablePageLabels: false, enablePermissions: true, enablePrintAutoRotate: true, enableScripting: true, externalLinkRel: "noopener noreferrer nofollow", … } ConsoleLogger.js:42:18 fill password Object { _id: "b1104899-45c0-49f8-bf51-1027c068e7a2", _tab: 31, _type: "autofill.password", _reply: null, _sender: "background", _silent: true, _channel: "tabs", _payload: {…}, _receiver: "client" } client.js:1:41880 fill password Object { _id: "b1104899-45c0-49f8-bf51-1027c068e7a2", _tab: 31, _type: "autofill.password", _reply: null, _sender: "background", _silent: true, _channel: "tabs", _payload: {…}, _receiver: "client" } client.js:1:41880
thumbs is undefined. l10n.js:825:6
thumbs is undefined. l10n.js:897:6
thumbs_label is undefined. l10n.js:825:6
thumbs_label is undefined. l10n.js:897:6
document_outline is undefined. l10n.js:825:6
document_outline is undefined. l10n.js:897:6
document_outline_label is undefined. l10n.js:825:6
document_outline_label is undefined. l10n.js:897:6
attachments is undefined. l10n.js:825:6
attachments is undefined. l10n.js:897:6
attachments_label is undefined. l10n.js:825:6
attachments_label is undefined. l10n.js:897:6
layers is undefined. l10n.js:825:6
layers is undefined. l10n.js:897:6
layers_label is undefined. l10n.js:825:6
layers_label is undefined. l10n.js:897:6
current_outline_item is undefined. l10n.js:825:6
current_outline_item is undefined. l10n.js:897:6
current_outline_item_label is undefined. l10n.js:825:6
current_outline_item_label is undefined. l10n.js:897:6
find_input is undefined. l10n.js:825:6
find_input is undefined. l10n.js:897:6
find_previous is undefined. l10n.js:825:6
find_previous is undefined. l10n.js:897:6
find_previous_label is undefined. l10n.js:825:6
find_previous_label is undefined. l10n.js:897:6
find_next is undefined. l10n.js:825:6
find_next is undefined. l10n.js:897:6
find_next_label is undefined. l10n.js:825:6
find_next_label is undefined. l10n.js:897:6
find_highlight is undefined. l10n.js:825:6
find_highlight is undefined. l10n.js:897:6
find_match_case_label is undefined. l10n.js:825:6
find_match_case_label is undefined. l10n.js:897:6
find_entire_word_label is undefined. l10n.js:825:6
find_entire_word_label is undefined. l10n.js:897:6
presentation_mode is undefined. l10n.js:825:6
presentation_mode is undefined. l10n.js:897:6
presentation_mode_label is undefined. l10n.js:825:6
presentation_mode_label is undefined. l10n.js:897:6
open_file is undefined. l10n.js:825:6
open_file is undefined. l10n.js:897:6
open_file_label is undefined. l10n.js:825:6
open_file_label is undefined. l10n.js:897:6
print is undefined. l10n.js:825:6
print is undefined. l10n.js:897:6
print_label is undefined. l10n.js:825:6
print_label is undefined. l10n.js:897:6
download is undefined. l10n.js:825:6
download is undefined. l10n.js:897:6
download_label is undefined. l10n.js:825:6
download_label is undefined. l10n.js:897:6
bookmark is undefined. l10n.js:825:6
bookmark is undefined. l10n.js:897:6
bookmark_label is undefined. l10n.js:825:6
bookmark_label is undefined. l10n.js:897:6
first_page is undefined. l10n.js:825:6
first_page is undefined. l10n.js:897:6
first_page_label is undefined. l10n.js:825:6
first_page_label is undefined. l10n.js:897:6
last_page is undefined. l10n.js:825:6
last_page is undefined. l10n.js:897:6
last_page_label is undefined. l10n.js:825:6
last_page_label is undefined. l10n.js:897:6
page_rotate_cw is undefined. l10n.js:825:6
page_rotate_cw is undefined. l10n.js:897:6
page_rotate_cw_label is undefined. l10n.js:825:6
page_rotate_cw_label is undefined. l10n.js:897:6
page_rotate_ccw is undefined. l10n.js:825:6
page_rotate_ccw is undefined. l10n.js:897:6
page_rotate_ccw_label is undefined. l10n.js:825:6
page_rotate_ccw_label is undefined. l10n.js:897:6
cursor_text_select_tool is undefined. l10n.js:825:6
cursor_text_select_tool is undefined. l10n.js:897:6
cursor_text_select_tool_label is undefined. l10n.js:825:6
cursor_text_select_tool_label is undefined. l10n.js:897:6
cursor_hand_tool is undefined. l10n.js:825:6
cursor_hand_tool is undefined. l10n.js:897:6
cursor_hand_tool_label is undefined. l10n.js:825:6
cursor_hand_tool_label is undefined. l10n.js:897:6
scroll_vertical is undefined. l10n.js:825:6
scroll_vertical is undefined. l10n.js:897:6
scroll_vertical_label is undefined. l10n.js:825:6
scroll_vertical_label is undefined. l10n.js:897:6
scroll_horizontal is undefined. l10n.js:825:6
scroll_horizontal is undefined. l10n.js:897:6
scroll_horizontal_label is undefined. l10n.js:825:6
scroll_horizontal_label is undefined. l10n.js:897:6
scroll_wrapped is undefined. l10n.js:825:6
scroll_wrapped is undefined. l10n.js:897:6
scroll_wrapped_label is undefined. l10n.js:825:6
scroll_wrapped_label is undefined. l10n.js:897:6
spread_none is undefined. l10n.js:825:6
spread_none is undefined. l10n.js:897:6
spread_none_label is undefined. l10n.js:825:6
spread_none_label is undefined. l10n.js:897:6
spread_odd is undefined. l10n.js:825:6
spread_odd is undefined. l10n.js:897:6
spread_odd_label is undefined. l10n.js:825:6
spread_odd_label is undefined. l10n.js:897:6
spread_even is undefined. l10n.js:825:6
spread_even is undefined. l10n.js:897:6
spread_even_label is undefined. l10n.js:825:6
spread_even_label is undefined. l10n.js:897:6
document_properties is undefined. l10n.js:825:6
document_properties is undefined. l10n.js:897:6
document_properties_label is undefined. l10n.js:825:6
document_properties_label is undefined. l10n.js:897:6
toggle_sidebar is undefined. l10n.js:825:6
toggle_sidebar is undefined. l10n.js:897:6
toggle_sidebar_label is undefined. l10n.js:825:6
toggle_sidebar_label is undefined. l10n.js:897:6
findbar is undefined. l10n.js:825:6
findbar is undefined. l10n.js:897:6
findbar_label is undefined. l10n.js:825:6
findbar_label is undefined. l10n.js:897:6
previous is undefined. l10n.js:825:6
previous is undefined. l10n.js:897:6
previous_label is undefined. l10n.js:825:6
previous_label is undefined. l10n.js:897:6
next is undefined. l10n.js:825:6
next is undefined. l10n.js:897:6
next_label is undefined. l10n.js:825:6
next_label is undefined. l10n.js:897:6
page is undefined. l10n.js:825:6
page is undefined. l10n.js:897:6
presentation_mode is undefined. l10n.js:825:6
presentation_mode is undefined. l10n.js:897:6
presentation_mode_label is undefined. l10n.js:825:6
presentation_mode_label is undefined. l10n.js:897:6
open_file is undefined. l10n.js:825:6
open_file is undefined. l10n.js:897:6
open_file_label is undefined. l10n.js:825:6
open_file_label is undefined. l10n.js:897:6
print is undefined. l10n.js:825:6
print is undefined. l10n.js:897:6
print_label is undefined. l10n.js:825:6
print_label is undefined. l10n.js:897:6
download is undefined. l10n.js:825:6
download is undefined. l10n.js:897:6
download_label is undefined. l10n.js:825:6
download_label is undefined. l10n.js:897:6
bookmark is undefined. l10n.js:825:6
bookmark is undefined. l10n.js:897:6
bookmark_label is undefined. l10n.js:825:6
bookmark_label is undefined. l10n.js:897:6
tools is undefined. l10n.js:825:6
tools is undefined. l10n.js:897:6
tools_label is undefined. l10n.js:825:6
tools_label is undefined. l10n.js:897:6
zoom_out is undefined. l10n.js:825:6
zoom_out is undefined. l10n.js:897:6
zoom_out_label is undefined. l10n.js:825:6
zoom_out_label is undefined. l10n.js:897:6
zoom_in is undefined. l10n.js:825:6
zoom_in is undefined. l10n.js:897:6
zoom_in_label is undefined. l10n.js:825:6
zoom_in_label is undefined. l10n.js:897:6
zoom is undefined. l10n.js:825:6
zoom is undefined. l10n.js:897:6
page_scale_auto is undefined. l10n.js:825:6
page_scale_auto is undefined. l10n.js:897:6
page_scale_actual is undefined. l10n.js:825:6
page_scale_actual is undefined. l10n.js:897:6
page_scale_fit is undefined. l10n.js:825:6
page_scale_fit is undefined. l10n.js:897:6
page_scale_width is undefined. l10n.js:825:6
page_scale_width is undefined. l10n.js:897:6
page_scale_percent is undefined. l10n.js:825:6
page_scale_percent is undefined. l10n.js:897:6
page_scale_percent is undefined. l10n.js:825:6
page_scale_percent is undefined. l10n.js:897:6
page_scale_percent is undefined. l10n.js:825:6
page_scale_percent is undefined. l10n.js:897:6
page_scale_percent is undefined. l10n.js:825:6
page_scale_percent is undefined. l10n.js:897:6
page_scale_percent is undefined. l10n.js:825:6
page_scale_percent is undefined. l10n.js:897:6
page_scale_percent is undefined. l10n.js:825:6
page_scale_percent is undefined. l10n.js:897:6
page_scale_percent is undefined. l10n.js:825:6
page_scale_percent is undefined. l10n.js:897:6
page_scale_percent is undefined. l10n.js:825:6
page_scale_percent is undefined. l10n.js:897:6
first_page is undefined. l10n.js:825:6
first_page is undefined. l10n.js:897:6
last_page is undefined. l10n.js:825:6
last_page is undefined. l10n.js:897:6
page_rotate_cw is undefined. l10n.js:825:6
page_rotate_cw is undefined. l10n.js:897:6
page_rotate_ccw is undefined. l10n.js:825:6
page_rotate_ccw is undefined. l10n.js:897:6
error_more_info is undefined. l10n.js:825:6
error_more_info is undefined. l10n.js:897:6
error_less_info is undefined. l10n.js:825:6
error_less_info is undefined. l10n.js:897:6
error_close is undefined. l10n.js:825:6
error_close is undefined. l10n.js:897:6
password_label is undefined. l10n.js:825:6
password_label is undefined. l10n.js:897:6
password_cancel is undefined. l10n.js:825:6
password_cancel is undefined. l10n.js:897:6
password_ok is undefined. l10n.js:825:6
password_ok is undefined. l10n.js:897:6
document_properties_file_name is undefined. l10n.js:825:6
document_properties_file_name is undefined. l10n.js:897:6
document_properties_file_size is undefined. l10n.js:825:6
document_properties_file_size is undefined. l10n.js:897:6
document_properties_title is undefined. l10n.js:825:6
document_properties_title is undefined. l10n.js:897:6
document_properties_author is undefined. l10n.js:825:6
document_properties_author is undefined. l10n.js:897:6
document_properties_subject is undefined. l10n.js:825:6
document_properties_subject is undefined. l10n.js:897:6
document_properties_keywords is undefined. l10n.js:825:6
document_properties_keywords is undefined. l10n.js:897:6
document_properties_creation_date is undefined. l10n.js:825:6
document_properties_creation_date is undefined. l10n.js:897:6
document_properties_modification_date is undefined. l10n.js:825:6
document_properties_modification_date is undefined. l10n.js:897:6
document_properties_creator is undefined. l10n.js:825:6
document_properties_creator is undefined. l10n.js:897:6
document_properties_producer is undefined. l10n.js:825:6
document_properties_producer is undefined. l10n.js:897:6
document_properties_version is undefined. l10n.js:825:6
document_properties_version is undefined. l10n.js:897:6
document_properties_page_count is undefined. l10n.js:825:6
document_properties_page_count is undefined. l10n.js:897:6
document_properties_page_size is undefined. l10n.js:825:6
document_properties_page_size is undefined. l10n.js:897:6
document_properties_linearized is undefined. l10n.js:825:6
document_properties_linearized is undefined. l10n.js:897:6
document_properties_close is undefined. l10n.js:825:6
document_properties_close is undefined. l10n.js:897:6
print_progress_message is undefined. l10n.js:825:6
print_progress_message is undefined. l10n.js:897:6
print_progress_percent is undefined. l10n.js:825:6
print_progress_percent is undefined. l10n.js:897:6
print_progress_close is undefined. l10n.js:825:6
print_progress_close is undefined. l10n.js:897:6
page_scale_auto is undefined. l10n.js:825:6
page_scale_actual is undefined. l10n.js:825:6
page_scale_fit is undefined. l10n.js:825:6
page_scale_width is undefined. l10n.js:825:6
of_pages is undefined. l10n.js:825:6
page_scale_percent is undefined. l10n.js:825:6
XHRGEThttps://platofan27.ddns.net/remote.php/dav/files/Joel/Belege/Lebensmittel/17.02.2022_Rewe.pdf [HTTP/2 503 Service Unavailable 654ms]
unexpected_response_error is undefined. l10n.js:825:6
error_version_info is undefined. l10n.js:825:6
error_message is undefined. l10n.js:825:6
Uncaught (in promise) Object { message: "Unexpected server response (503) while retrieving PDF \"https://platofan27.ddns.net/remote.php/dav/files/Joel/Belege/Lebensmittel/17.02.2022_Rewe.pdf\".", name: "UnexpectedResponseException", status: 503, stack: "BaseExceptionClosure@https://platofan27.ddns.net/apps/files_pdfviewer/js/pdfjs/build/pdf.js?v=2.4.0:1019:29\n__webpack_modules__<@https://platofan27.ddns.net/apps/files_pdfviewer/js/pdfjs/build/pdf.js?v=2.4.0:1022:2\n__w_pdfjs_require__@https://platofan27.ddns.net/apps/files_pdfviewer/js/pdfjs/build/pdf.js?v=2.4.0:14560:41\n__webpack_modules__<@https://platofan27.ddns.net/apps/files_pdfviewer/js/pdfjs/build/pdf.js?v=2.4.0:56:32\n__w_pdfjs_require__@https://platofan27.ddns.net/apps/files_pdfviewer/js/pdfjs/build/pdf.js?v=2.4.0:14560:41\n@https://platofan27.ddns.net/apps/files_pdfviewer/js/pdfjs/build/pdf.js?v=2.4.0:14787:41\n@https://platofan27.ddns.net/apps/files_pdfviewer/js/pdfjs/build/pdf.js?v=2.4.0:14834:3\n@https://platofan27.ddns.net/apps/files_pdfviewer/js/pdfjs/build/pdf.js?v=2.4.0:14837:12\nwebpackUniversalModuleDefinition@https://platofan27.ddns.net/apps/files_pdfviewer/js/pdfjs/build/pdf.js?v=2.4.0:31:50\n@https://platofan27.ddns.net/apps/files_pdfviewer/js/pdfjs/build/pdf.js?v=2.4.0:32:3\n" } OC.Util.relativeModifiedDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment
As you can see I still get the 503-Error when opening and trying to download the file. This must be somehow related to Multycrypt error from the logs. So this one:
Sabre\DAV\Exception\ServiceUnavailable: Verschlüsselung nicht bereit: multikeydecrypt with share key failed:error:0407109F:rsa routines:RSA_padding_check_PKCS1_type_2:pkcs decoding error
This is an issue with your setup :shrug: Not related to Viewer, sorry.
Please search for that Sabre\DAV\Exception\ServiceUnavailable: Verschlüsselung nicht bereit: multikeydecrypt with share key failed:error:0407109F:rsa routines:RSA_padding_check_PKCS1_type_2:pkcs decoding error
error on the server repo/duckduckgo/google
This is an issue with your setup shrug Not related to Viewer, sorry.
Please search for that
Sabre\DAV\Exception\ServiceUnavailable: Verschlüsselung nicht bereit: multikeydecrypt with share key failed:error:0407109F:rsa routines:RSA_padding_check_PKCS1_type_2:pkcs decoding error
error on the server repo/duckduckgo/google
that's why i posted i orginally as an issue for the nextcloud server :(
AH, a mistake from our triage process, my bad! :see_no_evil:
Maybe nextcloud/server#24240 (comment) ? Or nextcloud/server#8349 ?
That didn't help. I also tried decrypting the files with occ. I had no error message but that didn't do anything at all
Honestly, this seems exactly like your issue https://github.com/nextcloud/server/issues/8349#issuecomment-1083582805 I suggest you open a thread in the forum
Honestly, this seems exactly like your issue nextcloud/server#8349 (comment) I suggest you open a thread in the forum
yess, but i don't have any backup which santo74 had. My files were saved on a mycloud ex2 ultra nas. And i cant recover the old key files so idk what to do anymore
⚠️ This issue respects the following points: ⚠️
Bug description
PDF or Document File cannot be opened. Meanwhile pictures and videos are working perfectly fine.
Steps to reproduce
Expected behavior
The PDF-File should open or be downloadable.
Installation method
Manually
Operating system
Debian Bullseye
PHP engine version
PHP8.0
Web server
Apache2
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
Yes
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response