Plex running on unRAID: GUI and how to rollback ManualPortMappingPort

Server Version#:UnRAID 6.8.3, PlexMediaServer v1.18.3.2156-349e9837e
Player Version#:Web Client
I changed the ManualPortMappingPort variable in the GUI from 32400 to 32600 and then when going to Tower GUI->Docker->Plex icon, right click->WebGUI I get a “can’t establish connection to the server at IP:32400” (IP=IP of the server of course).

I’ve been trying to rollback this change but I can’t find in what configuration file the 32600 value is stored. All I’ve been able to find in “/mnt/user/appdata/PlexMediaServer/Library/Application Support/Plex Media Server/Logs/Plex\ Tuner\ Service.log” are these entries:
Mar 08, 2020 15:18:07.737 [0x7f56cc05b700] INFO - /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.18.3.2156-349e9837e 32600 /waitmutex
Mar 08, 2020 15:18:06.065 [0x7f56d1451740] INFO - [I] broker_t::start…
Mar 08, 2020 15:18:06.082 [0x7f56d1451740] INFO - [I] device_manager_t::init.
Mar 08, 2020 15:18:06.082 [0x7f56d1451740] INFO - [I] device_manager_t::init. Initialize provider manager
Mar 08, 2020 15:18:06.082 [0x7f56d1451740] INFO - [I] device_manager_t::init. Initialize all device auxes
Mar 08, 2020 15:18:06.082 [0x7f56d1451740] INFO - [I] dvb_device_factory_t::get_aux_list
Mar 08, 2020 15:18:06.082 [0x7f56d1451740] INFO - [I] tvbutler_aux_t::init
Mar 08, 2020 15:18:06.084 [0x7f56d1451740] INFO - [I] web_server_t::start. Starting web server on port 32600
Mar 08, 2020 16:41:59.423 [0x7f56d1451740] INFO - [I] device_manager_t::term
Mar 08, 2020 16:41:59.423 [0x7f56d1451740] INFO - [I] device_manager_t::term. Stop all devices
Mar 08, 2020 16:41:59.424 [0x7f56d1451740] INFO - [I] device_manager_t::term. Shut down all device auxes
Mar 08, 2020 16:41:59.424 [0x7f56d1451740] INFO - [I] tvbutler_aux_t::term
Mar 08, 2020 16:41:59.426 [0x7f56d1451740] INFO - [I] web_server_t::stop. Web server is stopped
Mar 08, 2020 16:41:59.427 [0x7f56d1451740] INFO - [I] device_manager_t::term
Mar 08, 2020 16:41:59.427 [0x7f56d1451740] INFO - [I] device_manager_t::term. Stop all devices

Also, I have removed and re-installed the Plex container, reboot the server several times and no luck and I have noticed these log have not changed, no new entries (I made the change on Mar 08, 2020)

The Plex server starts and stops without errors.

It is trying to start the web server on port 32600 but the service is still listening on port 32400. The error is seen in the local unRAID server where Plex is running and also if I tried to access it from another computer from the same LAN. Not event tried from a remote location.

How can I rollback this change in the server’s CLI?, where is the file with the configuration for the web server where the 32600 was stored?

Appreciate any help on this

Regards,

Juan

I’m not sure what the exact path will be in Unraid, but the file you need to modify is Preferences.xml. On bare (Debian-based) Linux, it’s located at:

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/

Here’s some additional information regarding advanced settings:

Thank you for the reply phillipsw… I found that file during troubleshooting but it does not have reference to the Remote Port Mapping 32600 I changed and the path in unRADID is:
/mnt/user/appdata/PlexMediaServer/Library/Application Support/Plex Media Server
and the Preferences.xml file has these variables (I have removed the values):
MachineIdentifier=
ProcessedMachineIdentifier=
AnonymousMachineIdentifier=
GracenoteUser=
AcceptedEULA=
FriendlyName=
PublishServerOnPlexOnlineKey=
PlexOnlineToken=
PlexOnlineUsername=
PlexOnlineMail="
PlexOnlineHome=
DlnaEnabled=
CertificateVersion=
LastAutomaticMappedPort=
PubSubServer=
PubSubServerRegion=
PubSubServerPing=
LanguageInCloud=
FSEventLibraryUpdatesEnabled=
CloudSyncNeedsUpdate=
CinemaTrailersFromLibrary=
ManualPortMappingMode=“1”
CertificateUUID=

However; I see the ManualPortMappingMode variable set to “1”, edited the xml file and change that variable set to “0”, stopped and restarted Plex with no luck, then reboot the server and no luck “Unable to Connect”

I also found the link you mention on the “Advanced, Hidden Server Setting” but unfortunately for me there is no reference for unRAID

I think the problem may not be with Plex but it is with the web services in unRAID. web service it attempting to start using port 32600 and then Plex is trying to connect on port 32400.

I’ll see in the unRAID forum and get back here once I found a solution that’s requires to rebuild the server

Thank you1

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.