[Issue]: "path is too long" error when add nfs or cifs mounted directory #3642

Closed
opened 2026-02-06 23:39:43 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @ms8x8x on GitHub (Mar 4, 2022).

Please describe your bug

after mounting nfs or cifs to local dir, files are normal in local system; but when adding to the library, the page just failed with nothing and logged some errors:

Error processing request: "The path '/mnt/videos/f/downloads/suc' is too long, or a component of the specified path is too long". URL "GET" "/Environment/DirectoryContents".

Jellyfin Version

10.7.7

if other:

No response

Environment

- OS: debian 11 standard lxc
- Virtualization: pve 7
- Clients:
- Browser:
- FFmpeg Version:
- Playback Method:
- Hardware Acceleration:
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

Error processing request: "The path '/mnt/videos/f/downloads/suc' is too long, or a component of the specified path is too long". URL "GET" "/Environment/DirectoryContents".

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @ms8x8x on GitHub (Mar 4, 2022). ### Please describe your bug after mounting nfs or cifs to local dir, files are normal in local system; but when adding to the library, the page just failed with nothing and logged some errors: Error processing request: "The path '/mnt/videos/f/downloads/suc' is too long, or a component of the specified path is too long". URL "GET" "/Environment/DirectoryContents". ### Jellyfin Version 10.7.7 ### if other: _No response_ ### Environment ```markdown - OS: debian 11 standard lxc - Virtualization: pve 7 - Clients: - Browser: - FFmpeg Version: - Playback Method: - Hardware Acceleration: - Plugins: - Reverse Proxy: - Base URL: - Networking: - Storage: ``` ### Jellyfin logs ```shell Error processing request: "The path '/mnt/videos/f/downloads/suc' is too long, or a component of the specified path is too long". URL "GET" "/Environment/DirectoryContents". ``` ### FFmpeg logs _No response_ ### Please attach any browser or client logs here _No response_ ### Please attach any screenshots here _No response_ ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
OVERLORD added the bugstale labels 2026-02-06 23:39:43 +03:00
Author
Owner

@jellyfin-bot commented on GitHub (Jul 3, 2022):

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@jellyfin-bot commented on GitHub (Jul 3, 2022): This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on [Matrix or Social Media](https://docs.jellyfin.org/general/getting-help.html).
Author
Owner

@lhname commented on GitHub (May 4, 2024):

I find the reason for this question.jaantaponenhas answered.It is a long time.something filename is too long in the folder

@lhname commented on GitHub (May 4, 2024): I find the reason for this question.[jaantaponen](https://github.com/jaantaponen)has answered.It is a long time.something filename is too long in the folder
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#3642