Jump to content

Emby的权限问题


Go to solution Solved by fanhua1211,

Recommended Posts

fanhua1211
Posted (edited)

已经为volume1/video文件夹添加了系统内部用户账号emby的可读写权限,但是在新增媒体库时还是会提醒权限不足,求教各位大佬有没有解决的方法。emby版本为4.9.16,群晖的dsm版本为7.2.2-72806 Update 301.thumb.png.96add3ba3e22e10dca40d9adde4feeb8.png02.png.3841a3ccd4d6fc84ee299798d24f6d89.png

 

Edited by fanhua1211
fanhua1211
Posted
3 hours ago, Luke said:

你好@fanhua1211你看过这个吗?

 

大佬看过了呢,就是按照这个给了权限之后依然会提示:【添加媒体路径时出错。请检查路径是否有效且EmbyServer对其具有访问权限后重试。】

Posted

Did you check the permissions recursively? @FrostBytemay have some tips on that.

FrostByte
Posted

Usually if changing the shared folder permissions doesn't do it, then it is file/folder permissions.  A log should show that.

fanhua1211
Posted
15 minutes ago, FrostByte said:

Usually if changing the shared folder permissions doesn't do it, then it is file/folder permissions.  A log should show that.

我大概看到有两种错误,但我不清楚具体原因是什么

1、Error LibraryMonitor: Error in Directory watcher for: /volume1/video/Animation/[12]四驱兄弟/Season 02

2、Error BaseItem: Error refreshing item S02E02 放虎 11739 /volume1/video/Animation/[01]画江湖之不良人S02/S02E02 放虎.mp4

embyserver-63888165623.txt embyserver-63888166416.txt embyserver.txt hardware_detection-63888165645.txt hardware_detection-63888166488.txt

FrostByte
Posted

The watcher error is because you've maxed out the number of inotify watches which real-time monitoring requires to scan new files/folders.

From your log

System.IO.IOException: System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.

 

The instructions below should fix the RTM issue

 

I don't see any permission issues in the logs which is good.

fanhua1211
Posted
1 minute ago, FrostByte said:

The watcher error is because you've maxed out the number of inotify watches which real-time monitoring requires to scan new files/folders.

From your log

System.IO.IOException: System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.

 

The instructions below should fix the RTM issue

 

I don't see any permission issues in the logs which is good.

但这个错误似乎不会导致我添加媒体库的时候权限不足吧

FrostByte
Posted
19 minutes ago, fanhua1211 said:

但这个错误似乎不会导致我添加媒体库的时候权限不足吧

No, it just fixes the watcher problem you mentioned in your previous post.

I can't find where you were trying to add a library.  Which log and what time did you try to add a library?  Typically, you should see a permission or access denied error if it is a permission problem.  It may not be a permission problem.

To fix a permission problem you would need to SSH into your NAS and give emby read/write to the folders/files you're trying to add.

 

fanhua1211
Posted
1 hour ago, FrostByte said:

No, it just fixes the watcher problem you mentioned in your previous post.

I can't find where you were trying to add a library.  Which log and what time did you try to add a library?  Typically, you should see a permission or access denied error if it is a permission problem.  It may not be a permission problem.

To fix a permission problem you would need to SSH into your NAS and give emby read/write to the folders/files you're trying to add.

 

我于中午12:01关闭emby服务后再重启,重启之后添加媒体库【大约是12:04】,然后弹出如下窗口

image.png.c362fbab2b205e188a5c4569f644f88d.png

 

然后我在之后的log文件中也没看到有什么相关的错误,现在提供的是重新启动服务之后的日志文件

embyserver.txt

  • 2 weeks later...
Posted

@fanhua1211please see my comments here about the StrmAssistant plugin:

I think it is causing your problems. Please let us know if this helps. Thanks.

  • Solution
fanhua1211
Posted
5 hours ago, Luke said:

@fanhua1211please see my comments here about the StrmAssistant plugin:

I think it is causing your problems. Please let us know if this helps. Thanks.

是的,确实安装了StrmAssistant,也确实是StrmAssistant插件的【中文搜索增强】意外关闭导致的,这种情况需要想办法再把中文搜索增强打开,重启emby服务器就好了。

 

 

 

  • 2 months later...
Posted

所以现在解决了么?怎么弄呀?

Posted
15 hours ago, dokinzhou said:

所以现在解决了么?怎么弄呀?

Hi, is what solved exactly?

Posted

Thanks for the update.

Posted
On 10/6/2025 at 1:50 PM, dokinzhou said:

所以现在解决了么?怎么弄呀?

打开StrmAssistant插件的【中文搜索增强】并重启emby服务器即可,如果说中文搜索增强是灰色的则需要去配置文件【Strm Assistant.json】内把"EnhanceChineseSearch"改成ture【"EnhanceChineseSearch": true,】

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...