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

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

Open
ChristophWurst opened this issue Dec 7, 2023 · 3 comments
Open

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

ChristophWurst opened this issue Dec 7, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@ChristophWurst
Copy link
Member

ChristophWurst commented Dec 7, 2023

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 ChristophWurst added the bug Something isn't working label Dec 7, 2023
@juliusknorr
Copy link
Member

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

const connect = initialSession
? Promise.resolve(new Connection({ data: initialSession }, {}))
: this._api.open({ fileId })
.catch(error => this._emitError(error))

@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?

@ChristophWurst
Copy link
Member Author

8097885 is the file id

@juliusknorr
Copy link
Member

No failed request it seems in the logs

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
None yet
Development

No branches or pull requests

2 participants