Plex установлен на CentOS: 404 при переходе по URL

4860
ray023

Я установил Plex Media Server на CentOS, загрузив файл RPM с веб-сайта Plex .

Когда я перехожу к Plex URL, я получаю 404 не найден:

enter image description here

Когда я иду по базовому URL, я получаю файл XML:

enter image description here

Linux сообщает, что Plex работает:

enter image description here

Есть ли какие-то настройки в CentOS, которые мне нужно настроить, чтобы веб-страницы Plex отображались в браузере?

Где я могу посмотреть в файловой системе, чтобы увидеть, что веб-страницы существуют?

6

2 ответа на вопрос

6
ray023

Просто нашел решение :

В терминале:

  1. sudo vi / etc / sysconfig / selinux
  2. изменить SELINUX = принудительно на SELINUX = отключено
  3. перезагружать
  4. перейдите по ссылке plex (127.0.0.1:32400/web) и она загрузится
  5. sudo vi / etc / sysconfig / selinux
  6. изменить SELINUX = отключено на SELINUX = принудительно
  7. перезагружать

Плекс работает

1
Dev

When I did my install Plex 404'd on me as well. I determined that in my case Plex was trying to use the system rsync binary instead of the rsync binary it comes bundled with.The forked rsync process runs in the rsync_t domain due to a transition rule that ships with CentOS 6 (The way plex ships currently it runs in the initrc_t domain). Processes confined by rsync_t are not allowed to write files in var_lib_t which causes an AVC denial that bubbles up as a 404 when Plex fails to initialize completely.

I've documented this issue in more detail on Plex's forums (thread linked below)

Thread: Plex Media Server shows 404 Not Found

I'm currently writing a SELinux policy module that confines Plex processes to a Plex specific domain with a customized set of access controls. If you'd like to try it out please see the github project linked below.

GitHub: SELinux policy module for Plex Media Server

Похожие вопросы