So im having issues with my plex disconnecting my mnts

im running ubuntu 20.04.4 LTS on and hp small form intel machine, i have a NAS running unraid 6.9.2. I have 3 mounts, tv, movies, and 4kmovies. I can see all my mount in the files app. when i reboot my plex machine it see all 3 in the plex app, after a while i lose my movies and 4k movies mounts. But i can still see them in the files app. When i check the logs i get this error.


Need more than a screenshot / fragment to discover .

Please make a tar.gz of the Logs directory and attach.

Plex won’t disconnect the mounts. It is not privileged on Linux.

The NAS / host file sharing protocol is where that issue is.

sorry, im really new to linux, how would i make the tar.gz of the log files?

log messages.zip (8.8 KB)

I’m sorry. I should have been more specific.

sudo tar cf /tmp/plexlogs.tar.gz “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs”

The file will be in /tmp which you should be able to get to with the browser.

matt@Plex-Media-Server:~$ sudo tar cf /tmp/plexlogs.tar.gz “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs”
[sudo] password for matt:
tar: “/var/lib/plexmediaserver/Library/Application: Cannot stat: No such file or directory
tar: Support/Plex: Cannot stat: No such file or directory
tar: Media: Cannot stat: No such file or directory
tar: Server/Logs”: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

Well that fell all to heck. Did you copy paste?
Did you use double-quote?

[chuck@lizum ~.2002]$ sudo tar cf /tmp/plexlogs.tar.gz "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs"
tar: Removing leading `/' from member names
[chuck@lizum ~.2003]$ ls -la /tmp/plexlogs.tar.gz 
-rw-r--r-- 1 root root 59105280 Mar  9 17:38 /tmp/plexlogs.tar.gz
[chuck@lizum ~.2004]$

The forum sometimes auto-converts quotes into “smart” “curly” quotes … I think that happened to your first post with the sudo command.

:shark: forum.

@ThirstyPenguin Please copy the line (2002) as I have it there. Those are the proper quotes.

sudo tar cf /tmp/plexlogs.tar.gz “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs”
[sudo] password for matt:
tar: Removing leading `/’ from member names

udo tar cf /tmp/plexlogs.tar.gz “/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs”
[sudo] password for matt:
tar: Removing leading `/’ from member names
matt@Plex-Media-Server:~$ ls -la /tmp/plexlogs.tar.gz
-rw-r–r-- 1 root root 20480 Mar 9 20:03 /tmp/plexlogs.tar.gz
matt@Plex-Media-Server:~$

plexlogs.tar.gz (20 KB)

Thank you.

I apologize for not knowing the forum would change quotations.

I would like to know if you installed Plex from the app store as well as from plex.tv/downloads ?

I am asking because PMS is trying to start up but finds the server is already running.
( a second copy exists somewhere )

Mar 06, 2022 14:29:28.802 [0x7f3d8ed2e878] DEBUG - HttpServer: Listening on IPv6 as well as IPv4.
Mar 06, 2022 14:29:28.802 [0x7f3d8ed2e878] ERROR - HttpServer: Error binding acceptor: Address in use
Mar 06, 2022 14:29:28.802 [0x7f3d8ed2e878] ERROR - HttpServer: Error opening acceptor on IPv6, falling back to IPv4: Address in use
Mar 06, 2022 14:29:28.802 [0x7f3d8ed2e878] ERROR - HttpServer: Error binding acceptor: Address in use
Mar 06, 2022 14:29:28.802 [0x7f3d8ed2e878] ERROR - Error: Unable to set up server: listen: Address in use (N5boost10wrapexceptINS_6system12system_errorEEE)

can you type sudo snap list and check for plex there
then type dpkg -l | grep plexand verify what you have there.

If you have the SNAP one, then we’ve found the problem.

att@Plex-Media-Server:~$ dpkg -l | grep plex
ii libgraphite2-3:amd64 1.3.13-11build1 amd64 Font rendering engine for Complex Scripts – library
ii libmpc3:amd64 1.1.0-1 amd64 multiple precision complex floating-point library
ii libmplex2-2.1-0:amd64 1:2.1.0+debian-6build1 amd64 MJPEG capture/editing/replay and MPEG encoding toolset (library)
ii libusbmuxd6:amd64 2.0.1-2 amd64 USB multiplexor daemon for iPhone and iPod Touch devices - library
ic plexmediaserver 1.25.6.5577-c8bd13540 amd64 Plex organizes all of your personal media so you can easily access and enjoy it.
ii plymouth 0.9.4git20200323-0ubuntu6.2 amd64 boot animation, logger and I/O multiplexer
ii plymouth-label 0.9.4git20200323-0ubuntu6.2 amd64 boot animation, logger and I/O multiplexer - label control
ii plymouth-theme-spinner 0.9.4git20200323-0ubuntu6.2 amd64 boot animation, logger and I/O multiplexer - spinner theme
ii plymouth-theme-ubuntu-text 0.9.4git20200323-0ubuntu6.2 amd64 boot animation, logger and I/O multiplexer - ubuntu text theme
ii usbmuxd 1.1.1~git20191130.9af2b12-1 amd64 USB multiplexor daemon for iPhone and iPod Touch devices
matt@Plex-Media-Server:~$

this might be easier to read

i might have installed it twice. when i set these 2 machines up i was definitely learning on the fly. if you call it learning, lol. thanks for your help!

when i check the status is says it failed to start, but im watching it as we speak on my tv.

Ok… let’s undo what happened (reset back to the beginning)

  1. No need to have the snap package in there. It’s blocking PMS from running
    snap remove --purge plexmediaserver

  2. Please show me what you have in /etc/systemd/system/plexmediaserver.service. You have a non-standard installation (which only existed for a short period in Ubuntu 16 due to an error from Canonical)

  • It should not be there.
  • The supported customizations will be in
    /etc/systemd/system/plexmediaserver.service.d/override.conf