Preview error: 501 for Excel and PowerPoint xls,xlsx,ppt,pptx
C:\Apps\filebrowser>filebrowser version
FileBrowser Quantum - A modern web-based file manager
Version : 0.7.8-beta
Commit : 1ce3bf1
Release Info : https://github.com/gtsteffaniak/filebrowser/releases/tag/0.7.8-beta
I get 501 error for xls,xlsx,ppt,pptx
2025/06/10 10:06:13 GET | 501 | [::1]:61273 | admin | 0ms | "/api/preview?path= ...
2025/06/10 10:06:37 GET | 501 | [::1]:61273 | admin | 0ms | "/api/preview?path= ...
and black screen
and can't disable preview:
tried this settings
disablePreviews: true
disableOfficePreviewExt: "xls,xlsx,ppt,pptx"
Word file and PDF, txt works
I'd like to disable preview only for specific file types (.xls, .xlsx, .ppt, .pptx) when preview is not implemented, but keep preview enabled for other supported types such as .doc, .txt, .pdf.
- Do not disable preview globally.
- Disable it only for the mentioned formats until their preview functionality is implemented.
Sounds like a good change, thanks for opening the issue and describing it well.
I didn't think too hard about the consequences of disabling the files here.
I also need to had integration tests for all these different preview types.
When opening any file with preview, the sidebar closes automatically. However, when previewing a Markdown (.md) file, the sidebar stays open. It would be nice to have same behavior for all previewed files
Yes that's something I have wrestled with. I don't know what's best, but I think if sidebar is "sticky" (the pin toggle is enabled), it should show up even for editor and image preview?
Right now it hides in editor and for file preview modes like photos, only office, video.
It creates a bit of inconsistent experience though.
should show up even for editor and image preview?
no, would be nice if sidebar closes automatically for MD files too, by this will be same behavior for all files
try out 0.7.9 and let me know if it addresses everything
0.7.9-beta, same error with xlsx, pptx
C:\Apps\filebrowser>filebrowser version
FileBrowser Quantum - A modern web-based file manager
Version : 0.7.9-beta
Commit : b5b4c0c
Release Info : https://github.com/gtsteffaniak/filebrowser/releases/tag/0.7.9-beta
2025/06/16 08:17:49 GET | 501 | [::1]:63179 | admin | 0ms | "/api/preview?path=...xlsx&key=1706162128365&source=SRC1&inline=true&size=original"
2025/06/16 08:18:09 GET | 501 | [::1]:63179 | admin | 0ms | "/api/preview?path=...pptx&key=1576754740825&source=SRC1&inline=true&size=original"
Openned sidebar on preview of Word file
maybe create option that allows show or hide sidebar on preview mode?
FileBrowser Quantum - A modern web-based file manager
Version : 0.7.10-beta
Commit : 0a31603
Release Info : https://github.com/gtsteffaniak/filebrowser/releases/tag/0.7.10-beta
- The same 501 error occurs when opening
.xlsxand.pptxfiles. - The config option
disableHideSidebar: truehas no effect.
Environment
- OS: Windows 11
- Docker: ❌ Not used
-
Executable:
filebrowser.exe
thanks I will test this on windows soon.