![Plex Media Server 无法创建目录,无法启动。我该如何修复?](https://linux22.com/image/1414676/Plex%20Media%20Server%20%E6%97%A0%E6%B3%95%E5%88%9B%E5%BB%BA%E7%9B%AE%E5%BD%95%EF%BC%8C%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8%E3%80%82%E6%88%91%E8%AF%A5%E5%A6%82%E4%BD%95%E4%BF%AE%E5%A4%8D%EF%BC%9F.png)
就在今天,我在运行 Mavericks 的 iMac 上从官方网站下载了 Plex(版本 0.9.9.12.504-3e7f93c)。当我运行该应用程序时,它会启动并显示在任务栏中,并打开一个浏览器,其中显示:
404 Not Found
http://127.0.0.1:32400/web/setup.html?machineIdentifier=3ac1e0d03e0XXXXX
但是,应用程序将永远处于“正在启动”状态。我查看了日志文件,我想我找到了罪魁祸首。它似乎无法创建必要的目录。在日志文件的顶部,显示以下内容:
WARN - WARNING: Couldn't create directory /Users/xxx/Library/Application Support/Plex Media Server/Plug-ins/SiteConfigurations.bundle/Contents/Resources
DEBUG - Adding directory for site configurations: /Users/xxx/Library/Application Support/Plex Media Server/Plug-ins/SiteConfigurations.bundle/Contents/Resources
DEBUG - The path changed: /Users/xxx/Library/Application Support/Plex Media Server/Plug-ins/SiteConfigurations.bundle/Contents/Resources.
DEBUG - This corresponds to site configuration map: /Users/xxx/Library/Application Support/Plex Media Server/Plug-ins/SiteConfigurations.bundle/Contents/Resources (directory: 1)
DEBUG - Adding directory for site configurations: /Users/xxx/Library/Application Support/Plex Media Server/Site Configurations
DEBUG - The path changed: /Users/xxx/Library/Application Support/Plex Media Server/Site Configurations.
DEBUG - This corresponds to site configuration map: /Users/xxx/Library/Application Support/Plex Media Server/Site Configurations (directory: 1)
WARN - Warning: Couldn't check file: /Users/xxx/Library/Application Support/Plex Media Server/Plug-ins/SiteConfigurations.bundle/Contents/Resources
DEBUG - File /Users/xxx/Library/Application Support/Plex Media Server/Site Configurations changed: -1 => 1404763649.
DEBUG - The path changed: /Users/xxx/Library/Application Support/Plex Media Server/Site Configurations.
DEBUG - This corresponds to site configuration map: /Users/xxx/Library/Application Support/Plex Media Server/Site Configurations (directory: 1)
出了什么问题?如果这是问题所在,我该如何授予 Plex 正确的权限?
编辑:/Users/xxx/Library/Application Support/Plex Media Server/Plug-ins/
文件夹是空的
答案1
因此,经过一番研究和尝试,我确实设法解决了这个问题。我把这个作为答案放在这里,以防其他人遇到同样的问题:
我在运行 Mavericks 的 MacBook 上安装了 Plex Media Center,安装和首次启动都很顺利。我检查了插件文件夹,里面全是插件!所以我将插件Plug-ins
和Plugin Support
文件夹从 MacBook 复制到了 iMac,现在一切都按预期运行。