Jellyfin Forum
"There was an error adding the media path" - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: "There was an error adding the media path" (/t-there-was-an-error-adding-the-media-path)



"There was an error adding the media path" - rekram - 2024-06-14

Hi,

I'm setting up Jellyfin on a new machine.  I can access the old media files and see them in the Jellyfin Dashboard.

However, when I try to add new content, I'm getting this error message "There was an error adding the media path".

I'm running 10.9.6

The source files work in Plex, so I know they're functional and accessible.

Any suggestions?  I could just install from scratch, but that would mean getting all the metadata matched again.

Thanks


RE: "There was an error adding the media path" - TheDreadPirate - 2024-06-14

File/folder permissions? What OS is server running?


RE: "There was an error adding the media path" - rekram - 2024-06-14

Thanks.

Fileshare is set to "Everyone" and full rights. Running windows 10.


RE: "There was an error adding the media path" - TheDreadPirate - 2024-06-14

How are the folders structured and which folder is the library pointed to in Jellyfin? And what are some example folder and file names?


RE: "There was an error adding the media path" - Cognicom - 2024-06-15

(2024-06-14, 05:15 PM)rekram Wrote: Fileshare is set to "Everyone" and full rights.  Running windows 10.

Microsoft's interpretation of "everyone" hasn't always coincided with logic, especially since Windows 10 - and based on many reported problems over the years back in Reddit (and prior) days, most problems are associated with file permissions.

Having said that, it's unlikely that it's a permission issue with your media folder - if it was, you wouldn't be able to play/access existing (already in the database) media. More likely, it's a permission issue with your metadata folder.

AFAIK, the default paths for cache and metadata on Windows are;
C:\ProgramData\Jellyfin\Server\cache
C:\ProgramData\Jellyfin\Server\metadata
- but you can confirm their precise location by going to Dashboard -> General and looking at the paths specified there.

Then as a test, go and set "wide open" (i.e., "classic Microsoft") permissions on the folders to see if it's a permission issue here;
- Add "Guest" or "Guests" to the list of permissions,
- Assign "full control" to the added account, and make sure the properties are propagated to all child paths and files.

... Then check to see if Jellyfin can successfully add new media to its database - if so, it is a permission issue, and you can then go about properly rectifying it (which would involve firstly removing that "Guest" entry in order to regain safety, then adding whichever user the Jellyfin process runs under to the permissions list).

Another thing to check (though it probably won't be the cause, as Windows would surely have screamed a long time ago if it was) is how much free space you have on the drive housing the metadata.


RE: "There was an error adding the media path" - rekram - 2024-06-21

Thank you!

For whatever reason, things seemed to "fix" themselves and I was able to add the library. Fun with Windows!


RE: "There was an error adding the media path" - vivisho - 2024-08-29

(2024-06-21, 12:11 PM)rekram Wrote: Thank you!

For whatever reason, things seemed to "fix" themselves and I was able to add the library.  Fun with Windows!

How did you manage to fix that issue?
I am having the same problem.