1.18.7 crashes on macOS

Mine started yesterday after updating Plex and my Mac on 10.13.6. The symptoms I encountered were:

  • Can’t connect to server
  • Never connecting to 127.0.0.1:32400/web/index…
    After uninstalling all Plex tools
  • Can’t add libraries despite reinstalling Plex Media Server

I finally figured out a solution to get it working but it required redoing my library. I killed all processes using Activity Monitor and then uninstalled Plex Media Server. I downloaded a previous version of Plex Media Server at this link:

https://downloads.plex.tv/plex-media-server-new/1.18.4.2164-2aa83397b/macos/PlexMediaServer-1.18.4.2164-2aa83397b-x86_64.zip

After that, I was able to finally connect to my server and recreate everything again!!!

BTW, If you’re needing any previous versions of Plex
Using the above example, replace the TWO instances of:
1.18.4.2164-2aa83397b with one of the previous version numbers from the link below:

https://whatpulse.org/app/plex-media-server

Update: checking out the itune extension as suggested above also worked for me.

— original post, with a rollback fix

Same issue as many here: i upgraded and I get the cannot connect msg. It first says smg about insecure connections not allowed, proposes me to allow them, but if allow them, I get the server “iMacs” is not available. I believe this all has to do with the new PMS being more fussy (over?) about security.

BTW, with this new update, I also have issues killing Plex. The interface is not frozen, but Quit does not have any effect.

My set up is a bit complicated: the server runs with an ethernet address and my apple TV uses the wifi from a netgear plugged into my main router. I never managed to get this working on a single wifi network because netgear does not let me export plex, and causes me to lose remote access. But with the Mac running on both the wifi (10.xxx) and on the ethernet (via CPL link) provided by the entry router ( 192.xxx) things have been working fine for about 6 months. It took a bit of fiddling to have remote access. For this reason, I am very annoyed everything stopped working all of a sudden. But these things happen. Let us hope Plex will soon fix this.

My fix: If you have it, Time machine is your friend, just roll back the app. Things got back on track in 2 minutes. If you have no time machine, I guess you need to put back an older bundle as explained in the previous post.

1 Like

As I cannot access the server since updating to 1.18.2438, I cannot turn off the iTunes plugin. Is there a way to do it via the CLI?

Could it be that the plugin now expects the new structure of iTunes and dies when it encounters older versions?

I am on MacOS 10.14.6 /iTunes 12.9.5.5.

Update: after force-quitting the Plex Server in Activity monitor, I can restart it and disable the iTunes Plugin. Let’s see how long it lasts…

okay, after 5 hours it hangs again. Not enough just offloading the iTunes plugin.

don’t think I had any logs - so please let me have server logs and we can ascertain if it is the same issue

Plex Media Server Logs_2020-02-23_19-02-16.zip (720.0 KB)
Logs included. 1.18.6 restored from Time Machine around 18.15 my time seems to work.

Thank you - yes the 1.18.7 was the same issue

Feb 23, 2020 18:20:34.163 [0x700007f3b000] INFO - iTunes: loading playlists...
Feb 23, 2020 18:20:45.404 [0x700007f3b000] INFO - iTunes: done loading 64 playlists and 4 folders in 1.4 seconds.

Feb 23, 2020 18:20:45.450 [0x700007f3b000] INFO - iTunes: parsed library in 3.8 seconds.

Feb 23, 2020 18:20:45.453 [0x700007f3b000] ERROR - Couldn't rename file "/Users/kgani/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.itunes-new.db-shm" to "/Users/kgani/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.itunes.db-shm": No such file or directory
Feb 23, 2020 18:20:45.453 [0x700007f3b000] ERROR - Couldn't rename file "/Users/kgani/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.itunes-new.db-wal" to "/Users/kgani/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.itunes.db-wal": No such file or directory

By the way you had disabled debug logging - I happen to know what to look for this issue but normally would need debug logging to investigate

See https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/

1 Like

Some prefs are store via Preferecens.xml/windows registry or macos “defaults”, i.e this could be set to off using:

defaults write com.plexapp.plexmediaserver iTunesSharingEnabled 0

You can find more info about this here: https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/

Please not that messing with this without knowing what you’re doing can make the server unresponsive so be careful.

@kgani I have a development build with a fix that I could send you to try and confirm the fix - if you like ?

sure, I will be happy to help, although it won’t be before tonight.

An update just went out with a fix

Plex Media Server 1.18.7.2457

See Plex Media Server

  • (Stability) PMS could hang when using iTunes plugins (#11187)
2 Likes

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