text icon indicating copy to clipboard operation
text copied to clipboard

"Failed to load file" when opening existing .md file

Open ChristophWurst opened this issue 2 years ago • 3 comments

Describe the bug

I was just unable to open a file. It worked after a page reload.

To Reproduce Steps to reproduce the behavior:

  1. Open Files
  2. Navigate to sub directories
  3. Click on a .md file
  4. See error

Expected behavior

File opens

Screenshots

Bildschirmfoto vom 2023-12-07 15-14-48

Server details:

  • Nextcloud version: 28.0.0 RC2
  • PHP Version: [e.g. 8.2]
  • Database: [e.g. MariaDB 10.6]

Client details:

  • OS: [e.g. Windows/macOS/Ubuntu]
  • Browser: [e.g. Firefox, Chrome]
  • Browser version: [e.g. 22]
  • Device: [e.g. iPhone6, desktop]
Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

Bildschirmfoto vom 2023-12-07 15-15-07 Bildschirmfoto vom 2023-12-07 15-15-21

ChristophWurst avatar Dec 07 '23 15:12 ChristophWurst

The error might be related to #4943 but looks only like an issue form closing the document.

This screen is only visible when a LOAD_ERROR is triggered, but there seems to be a few quirks:

  • [ ] No console error with details logged
  • [ ] The loading skeleton should be hidden once failed
  • [ ] Maybe we can provide also a bit more descriptive errors

https://github.com/nextcloud/text/blob/e1afbfec13d446f53dbe79f4179fbd584a14c43d/src/services/SyncService.js#L102-L105

@ChristophWurst Can you maybe tell me the file id of the file so i could check logs if there was anything related on the session open?

juliusknorr avatar Dec 08 '23 07:12 juliusknorr

8097885 is the file id

ChristophWurst avatar Dec 08 '23 08:12 ChristophWurst

No failed request it seems in the logs

juliusknorr avatar Dec 08 '23 10:12 juliusknorr