Rebuilding a server fails with Basic Setup and Configuration!

The Basic setup wizard is not launching! I just get a page with the word “PLEX” on it. I’m trying to rebuild my CentOS 7 server from the ground up and have my media library mounted but now I can’t configure the plexmediaserver. Is there a way to do this from the command line or by editing some XML file?

Server Version#: CentOS 7.2009 (needed for iscsi)
Player Version#:1.41.5.9522-a96edc606.x86_64

Is the server claimed at this point?

If not, you can claim it using:

(Run this on the command line of the host running PMS)

Once claimed, you can complete the setup on anything with a GUI and web browser

Not yet claimed this is exactly what I was looking for. Thank you

Chuck - I’m baffled. The server “apsoplex.lotto.net” is running. and claimed. I’ve got secured connections set to “preferred” and succesfully added all of my media libraries and then it just disappeared from plex.tv. I can’t even connect to it on my local network using the Windows client!

[root@apsoplex ~]# systemctl status plexmediaserver
● plexmediaserver.service - Plex Media Server
Loaded: loaded (/usr/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2025-03-31 12:16:11 EDT; 21h ago
Process: 4464 ExecStartPre=/bin/sh -c /usr/bin/test -d “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” || /bin/mkdir -p “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” (code=exited, status=0/SUCCESS)
Main PID: 4470 (Plex Media Serv)
Tasks: 45
CGroup: /system.slice/plexmediaserver.service
├─ 4470 /usr/lib/plexmediaserver/Plex Media Server
├─ 4506 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver…
├─ 4550 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexm…
└─31728 Plex EAE Service

Apr 01 02:02:36 apsoplex.lotto.net sh[4470]: Generated new chapter thumbnail…
Apr 01 02:02:36 apsoplex.lotto.net sh[4470]: Generated new chapter thumbnail…
Apr 01 02:02:36 apsoplex.lotto.net sh[4470]: Generated new chapter thumbnail…
Apr 01 02:02:36 apsoplex.lotto.net sh[4470]: Generated new chapter thumbnail…
Apr 01 02:02:37 apsoplex.lotto.net sh[4470]: Generated new chapter thumbnail…
Apr 01 02:02:37 apsoplex.lotto.net sh[4470]: Generated new chapter thumbnail…
Apr 01 02:02:37 apsoplex.lotto.net sh[4470]: Generated new chapter thumbnail…
Apr 01 02:02:37 apsoplex.lotto.net sh[4470]: Generated new chapter thumbnail…
Apr 01 02:02:37 apsoplex.lotto.net sh[4470]: Generated new chapter thumbnail…
Apr 01 02:06:54 apsoplex.lotto.net sh[4470]: Dolby, Dolby Digital, Dolby Dig…

I think I found the problem:
tcp6 0 0 [::]:32400 [::]:* LISTEN

but ipv6 is disabled. What is going on?

@jerrylotto

What’s the hostname / Friendly name ?

At plex.tv, I see

Screenshot from 2025-04-01 11-35-26

[root@apsoplex ~]# hostname
apsoplex
[root@apsoplex ~]# domainname
(none)

I have in sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
and applied it but plexmediaserver is still binding to tcp6

OK I fixed that by making this addition to Preferences.xml
EnableIPv6=“0”/>

but now I have
tcp 0 0 0.0.0.0:32400 0.0.0.0:* LISTEN
rather than cond0’s ip address

2: eno1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP group default qlen 1000
    link/ether e4:1f:13:ed:54:d2 brd ff:ff:ff:ff:ff:ff
3: eno2: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP group default qlen 1000
    link/ether e4:1f:13:ed:54:d2 brd ff:ff:ff:ff:ff:ff
4: eno3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether e4:1f:13:ed:54:d4 brd ff:ff:ff:ff:ff:ff
    inet 192.43.216.60/24 brd 192.43.216.255 scope global eno3
       valid_lft forever preferred_lft forever
5: eno4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether e4:1f:13:ed:54:d5 brd ff:ff:ff:ff:ff:ff
    inet 192.43.216.61/24 brd 192.43.216.255 scope global eno4
       valid_lft forever preferred_lft forever
6: enp0s29u1u1u5: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether e6:1f:13:ed:54:d1 brd ff:ff:ff:ff:ff:ff
7: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether e4:1f:13:ed:54:d2 brd ff:ff:ff:ff:ff:ff
    inet 10.1.11.60/24 brd 10.1.11.255 scope global bond0
       valid_lft forever preferred_lft forever

moderator edit - <code> formatting

The socket is created and set to listen on ALL host IPv4 addresses at port 32400/tcp

This is in the media server logs when I grep for “ERROR”
Apr 01, 2025 12:33:37.098 [140657620278072] ERROR - [MediaProviderManager] Error parsing content.
Apr 01, 2025 12:33:37.099 [140657620278072] ERROR - [MediaProviderManager] Error parsing XML: Error parsing file.
Apr 01, 2025 12:33:42.105 [140657620278072] ERROR - [MediaProviderManager] Error parsing content.
Apr 01, 2025 12:33:42.105 [140657620278072] ERROR - [MediaProviderManager] Error parsing XML: Error parsing file.
Apr 01, 2025 12:33:45.957 [140657561676600] ERROR - HTTP -6 downloading url https://meta.plex.tv/t/theater?language=en&redband=0&subtitleLanguage=en
Apr 01, 2025 12:33:45.957 [140657540283192] ERROR - IVA: Error downloading trailers for source 1.
Apr 01, 2025 12:33:47.112 [140657620278072] ERROR - [MediaProviderManager] Error parsing content.
Apr 01, 2025 12:33:47.112 [140657620278072] ERROR - [MediaProviderManager] Error parsing XML: Error parsing file.
Apr 01, 2025 12:33:50.963 [140657583725368] ERROR - HTTP -6 downloading url https://meta.plex.tv/t/video?language=en&redband=0&subtitleLanguage=en
Apr 01, 2025 12:33:50.963 [140657540283192] ERROR - IVA: Error downloading trailers for source 2.
Apr 01, 2025 12:33:52.118 [140657620278072] ERROR - [MediaProviderManager] Error parsing content.
Apr 01, 2025 12:33:52.118 [140657620278072] ERROR - [MediaProviderManager] Error parsing XML: Error parsing file.
Apr 01, 2025 12:33:57.125 [140657620278072] ERROR - [MediaProviderManager] Error parsing content.
Apr 01, 2025 12:33:57.125 [140657620278072] ERROR - [MediaProviderManager] Error parsing XML: Error parsing file.
Apr 01, 2025 12:33:59.024 [140657552939832] ERROR - Error parsing content.
Apr 01, 2025 12:33:59.024 [140657552939832] ERROR - Error parsing XML: Error parsing file.
Apr 01, 2025 12:34:02.132 [140657620278072] ERROR - [MediaProviderManager] Error parsing content.
Apr 01, 2025 12:34:02.132 [140657620278072] ERROR - [MediaProviderManager] Error parsing XML: Error parsing file.
Apr 01, 2025 12:34:17.096 [140657542392632] ERROR - [MediaProviderManager] Error parsing content.
Apr 01, 2025 12:34:17.096 [140657542392632] ERROR - [MediaProviderManager] Error parsing XML: Error parsing file.
Apr 01, 2025 12:39:22.104 [140657552939832] ERROR - [MediaProviderManager] Error parsing content.
Apr 01, 2025 12:39:22.104 [140657552939832] ERROR - [MediaProviderManager] Error parsing XML: Error parsing file

May I have the ZIP file please ? (from server start to this point)

Diagnosing ‘grep’ snippets does not work.

Looks like DNS failure (but i can’t be 100% without the log)

HTTP -6 = DNS

how to generate .zip you want?

Given PMS isn’t operating:

  1. Stop PMS
  2. In the shell, drill down to /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server
  3. sudo tar cfz /tmp/PlexLogs.tar.gz ./Logs
  4. now attach /tmp/PlexLogs.tar.gz here

/etc/resolv.conf got munged by yum. Fixiing now.
PlexLogs.tar.gz (132.4 KB)

yep.

DNS error

Apr 01, 2025 12:34:02.132 [140657620278072] ERROR - [MediaProviderManager] Error parsing XML: Error parsing file.
Apr 01, 2025 12:34:04.047 [140657618135864] WARN - [HttpClient/HCl#26] HTTP error requesting GET https://plex.tv/api/v2/server/users/features (6, Couldn't resolve host name) (Could not resolve host: plex.tv)
Apr 01, 2025 12:34:04.047 [140657561676600] DEBUG - MyPlex: using cached data for request for https://plex.tv/api/v2/server/users/features

Your network config, in general, needs fixing here.

Apr 01, 2025 12:33:34.005 [140657655818896] DEBUG - Detected primary interface: 10.1.11.60
Apr 01, 2025 12:33:34.005 [140657655818896] DEBUG - Network interfaces:
Apr 01, 2025 12:33:34.005 [140657655818896] DEBUG -  * 1 lo (127.0.0.1) (00-00-00-00-00-00) (loopback: 1)
Apr 01, 2025 12:33:34.005 [140657655818896] DEBUG -  * 4 eno3 (192.43.216.60) (E4-1F-13-ED-54-D4) (loopback: 0)
Apr 01, 2025 12:33:34.005 [140657655818896] DEBUG -  * 5 eno4 (192.43.216.61) (E4-1F-13-ED-54-D5) (loopback: 0)
Apr 01, 2025 12:33:34.005 [140657655818896] DEBUG -  * 7 bond0 (10.1.11.60) (E4-1F-13-ED-54-D2) (loopback: 0)
Apr 01, 2025 12:33:34.005 [140657655818896] DEBUG - Creating NetworkServices singleton.
  1. NO IP address on the individual members of the bond
  2. Create the bond
  3. Assign IP to the bond0 adapter

DNS has been fixed - no ip addresses are assigned to the bond slaves eno1 and eno2, just bond0

Still not connecting, Can I clean up logs to eliminate old problems and capture the current state only?

eno3 and 4 are iscsi interfaces

yep.

  1. stop
  2. purge Logs/*
  3. start
  4. wait 2 min
  5. stop
  6. Make tarball
  7. attach

Apologies on the 192.x.x.x address. I saw the “192” . My mind went to “192.168” and RFC-1918 prematurely.

I understand now.

Cleaned and regenerated tarball here:
PlexLogs.tar.gz (19.6 KB)