Weird crash, Plex reset, Tautulli not saving logs, and general noobness


Ride1226

Recommended Posts

Hello all and firstly let me start by apologizing for my newness to Unraid, this wall of text, and thank you all for taking the time to help.

 

My goals are to move my 24/7 Plex server and all of my data off of the Win10 environment and into Unraid, build parity, and also gain functionality with a few interesting dockers and eventually run a Minecraft server for my buds. All of this seemed much more logical to do on Unraid than in Win10 and virtual machines so a few days ago I made the switch. I am still in the trial stages before purchase but am really enjoying the functionality and just need to fix these issues and be sure this works for my needs and I will then be buying a license. I got everything installed, migrated my data over using Unnassigned Devices and Krusader, used Fix Common Problems as well as New Permissions to set all the file permissions correctly, then Unbalance to move a bit of my data on to another of the drives in my array since for whatever reason Krusader only filled one drive despite having my share set to Most Free. Ok, so all of my Data is on Unraid and all my PCs have easy access to it. Score 1.

 

Then I set up Plex. I used the official container, set up via a guide to make sure I could pass my 1660ti to the container for HW transcoding, did the usual Plex setup in container and Bam I was back online with Plex around my house. Setup for remote connection and had my family take a look and they were back online as well. Fantastic, so now I wanted to start logging again so installed Tautulli. Great, easy enough it seemed. Now things get weird. I restarted my server after moving to 6.9 build 35 when I found out I could more easily get the Nvidia drivers for HW transcoding using that build. Worked absolutely great and HW transcoding popped right up. Opened up Tautulli and my logs were blank, had to totally reset up Tautulli again actually in the container as it was acting like a new install. Weird. Left for work.

 

This morning Plex is down so I go to look at my server and its locked up. I reboot and everything looks normal. Spin up the array and fire up Plex, open WebGUI and its like a fresh install again prompting for a complete setup of a new server. Ugh. So I am definitely missing something here. Maybe my settings in the containers are being saved to Ram or something so they are being lost when I reboot? That could potentially cause crashes I guess? I have read a few threads here and it seems like you will all want to see a Diagnostics file so I have attached that here. If you need anything else just let me know! I want to get this going, super love the software so far and know this is definitely user error since everyone else is up and running and accomplishing the goals I am looking towards so I know its possible.

 

Thanks again everyone.

milbyunraid-diagnostics-20201128-1041.zip

Link to comment
37 minutes ago, trurl said:

Do you mean it didn't even remember your disk assignments? Or what exactly do you mean?

 

Sorry, I should clarify there. It wanted a fresh install of Plex. I actually just restarted my Unraid Server again as a test and when entering the WebUI of Plex it is doing it all over again. Plex acts like its never been set up before and I have to put all new server info in. Weird thing is, its already logged in to my Plex account during setup, it already knows where it needs to be pointed for my media, but it asks me to input a new server name. Then, it goes to the main Plex home page and says no content is available. That however is because its looking for my old server, if I click MORE, it shows my new server that it just forced me to create and all of my content is in and ready to go without it even having to do the full Media scan all over again.

 

Curiously, I fired up my TV, and same story. Says (insert me server name here) is unavailable, retry connection, but I scroll down to "More" and there is the new server the WebUI made me setup and all my content. 

 

Also strangely, despite all of the media being instantly available from the old Plex server to the new Plex server, the actual server settings do not carry over. I then have to go back into settings to open up remote access, change transcode settings back to my preferences, enable sharing of libraries to all of my invited users all over again, and those such things.

 

Tautulli is doing the same thing as well. After restarting my Unraid server Tautulli is acting as if it is a all new setup when the WebUI is launched.

Edited by Ride1226
Link to comment

Absolutely! Here you go. Thank you!

 

Plex:

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='Plex-Media-Server' --net='host' -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'PLEX_CLAIM'='claim-redacted' -e 'PLEX_UID'='99' -e 'PLEX_GID'='100' -e 'VERSION'='latest' -e 'NVIDIA_DRIVER_CAPABILITIES'='all' -e 'NVIDIA_VISIBLE_DEVICES'='GPU-d145a566-c0bb-f017-f7c2-19b95414125f' -v '/tmp/':'/transcode':'rw' -v '/mnt/user/Media':'/data':'rw' -v '/mnt/user/appdata/Plex-Media-Server':'/config':'rw' --runtime=nvidia 'plexinc/pms-docker'

7a26b1cec6b49e14ff34292c3a78bb6a695e1e3277539f37fd1227df013cbcb7

The command finished successfully!

 

Tautulli:

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='tautulli' --net='bridge' -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'PUID'='99' -e 'PGID'='100' -p '8181:8181/tcp' -v '/mnt/cache/appdata/tautulli/logs/':'/logs':'ro' -v '/mnt/user/appdata/tautulli':'/config':'rw' 'linuxserver/tautulli'

84c8552208f6a03192a0e171ba319177dd6d2796c0ab451531d45645939faee9

The command finished successfully!

Edited by trurl
redact token
Link to comment
14 minutes ago, trurl said:

I don't use tautulli so no clue about that.

 

I don't use that particular plex docker but looks like that should work.

 

Not entirely sure I know what you mean about plex losing its settings. Does it still know where your media is?

Ok. So when you install Plex that prompt pops up, Name your server> point out your movies> point out your tv> allow access outside network and your all set up. Its doing that to me every time I restart my server. The strange thing about it is that it will remember when I pointed it to for the Media folder the night before when I set it up the first time. It also doesn't ask  me to claim my server like it did the first time. Then it goes in to its main home page where you would normally see your home screen and it says no media. On the left column you click MORE and it shows my server name, click that, and BAM my old server is all accessible without it needing to rescan my media. Then, if I go to my shared users, none of my users have access to any of my libraries so I have to give them all access again and then go into my other server setting to reenable HW transcoding and all that stuff. SO its like it remembers where my stuff is, but not my server or any of its settings. This is quite strange I know. Thinking about dumping the Plex container completely and starting from scratch with maybe the linuxserverIO contaiuner.

 

I appreciate you having taken a look. This definitely seems quite strange to me all together.

Edited by Ride1226
Link to comment

Deleted the Plex Inc docker and moved over to the Linuxserver docker. I restarted my Unraid server to add a drive and had a completely reset Plex server again. Hopeful that this solves the issue.

 

Here is the docker run command for the new Linuxserver Plex docker setup. Hoping I got my GPU passed through correctly, setup seemed much easier with this docker.

 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='plex' --net='host' -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'VERSION'='docker' -e 'NVIDIA_VISIBLE_DEVICES'='GPU-d145a566-c0bb-f017-f7c2-19b95414125f' -e 'TCP_PORT_32400'='32400' -e 'TCP_PORT_3005'='3005' -e 'TCP_PORT_8324'='8324' -e 'TCP_PORT_32469'='32469' -e 'UDP_PORT_1900'='1900' -e 'UDP_PORT_32410'='32410' -e 'UDP_PORT_32412'='32412' -e 'UDP_PORT_32413'='32413' -e 'UDP_PORT_32414'='32414' -e 'PUID'='99' -e 'PGID'='100' -v '/mnt/user/Media/Movies/':'/movies':'rw' -v '/mnt/user/Media/TV/':'/tv':'rw' -v '/mnt/user/Media/Music/':'/music':'rw' -v '/tmp/':'/transcode':'rw' -v '/mnt/user/appdata/plex':'/config':'rw' --runtime=nvidia 'linuxserver/plex'

986ae70b1ff4e144b5a656a8190d5479fc6a36a6e193f78947618b4622ee9091

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.