Page 1 of 1

[Solved] Where did Plex go?

Posted: Wed Jan 31, 2024 8:09 pm
by envygreen

Ok yeah, noob here. A couple weeks ago, I found YAMS, thought it was awesome, and spent a couple days getting everything set up. Took a while to figure out how to map an external USB drive but otherwise wasn't too complicated.

I was able to view movies and listen to music. Then this past weekend my wife let me know that "Plex is down again" and I was annoyed. Now I'm just perplexed. My ubuntu box was still on and online. Docker is running, and Portainer sees the YAMS stack.

But... there's no Plex in my stack any longer? Any idea what might have happened or how to fix?


Re: Where did Plex go?

Posted: Wed Jan 31, 2024 8:20 pm
by rogs

This is extremely weird :?:

Did you restart YAMS? Don't restart it now, answer this question first

Can you send the output of docker ps -a?

Can you see logs coming from Plex? (docker logs --follow plex)


Re: Where did Plex go?

Posted: Thu Feb 01, 2024 3:00 pm
by envygreen

I thought so too! The box has been rebooted since then (moved it back to the utility closet). Here's the output -

envygreen@Armzbot:~$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d80a0ce8eb0f lscr.io/linuxserver/prowlarr:latest "/init" 22 hours ago Up 19 hours 0.0.0.0:9696->9696/tcp, :::9696->9696/tcp prowlarr
ffa1b9179f82 lscr.io/linuxserver/lidarr:latest "/init" 22 hours ago Up 19 hours 0.0.0.0:8686->8686/tcp, :::8686->8686/tcp lidarr
52b0d40cc5f2 lscr.io/linuxserver/bazarr:latest "/init" 22 hours ago Up 19 hours 0.0.0.0:6767->6767/tcp, :::6767->6767/tcp bazarr
fd11f3c7a542 lscr.io/linuxserver/readarr:develop "/init" 3 days ago Up 19 hours 0.0.0.0:8787->8787/tcp, :::8787->8787/tcp readarr
99669b970978 lscr.io/linuxserver/radarr:latest "/init" 3 days ago Up 19 hours 0.0.0.0:7878->7878/tcp, :::7878->7878/tcp radarr
4f725d73f288 lscr.io/linuxserver/sonarr:latest "/init" 4 days ago Up 19 hours 0.0.0.0:8989->8989/tcp, :::8989->8989/tcp sonarr
904729a1ca75 portainer/agent:2.19.4 "./agent" 3 weeks ago Up 19 hours 0.0.0.0:9001->9001/tcp, :::9001->9001/tcp portainer_agent
84dd8407581f ubuntu "bash" 3 weeks ago Exited (127) 3 weeks ago charming_spence
c02e7d8f18e7 lscr.io/linuxserver/qbittorrent:4.6.0 "/init" 3 weeks ago Up 19 hours qbittorrent
0ac107b78591 portainer/portainer-ce "/portainer" 3 weeks ago Up 19 hours 8000/tcp, 9443/tcp, 0.0.0.0:9000->9000/tcp, :::9000->9000/tcp portainer
bf2690833e44 containrrr/watchtower "/watchtower" 3 weeks ago Up 19 hours (healthy) 8080/tcp watchtower
a97cf1e19276 qmcgaw/gluetun:v3.34.1 "/gluetun-entrypoint" 3 weeks ago Exited (0) 19 hours ago gluetun
e39edf8472ee hello-world "/hello" 3 weeks ago Exited (0) 3 weeks ago goofy_kare
envygreen@Armzbot:~$


Re: Where did Plex go?

Posted: Thu Feb 01, 2024 3:02 pm
by rogs

Yes, Plex is not running.

Can you send your full docker-compose file? Please, use a Pastebin service, do not paste it here!


Re: Where did Plex go?

Posted: Thu Feb 01, 2024 7:13 pm
by envygreen

Re: Where did Plex go?

Posted: Thu Feb 01, 2024 7:16 pm
by rogs

And how about your .env file? It's located in the same place, but hidden (you can run cat /my/install/location/.env)

Make sure you remove your VPN configuration before uploading the Pastebin.


Re: Where did Plex go?

Posted: Thu Feb 01, 2024 9:10 pm
by envygreen

Re: Where did Plex go?

Posted: Thu Feb 01, 2024 9:17 pm
by rogs

It looks like you might be having a problem with MEDIA_DIRECTORY. Spaces are not permitted, you need to properly escape them.

In your .env file change

Code: Select all

MEDIA_DIRECTORY=/media/envygreen/Media Library Primary/Videos

To

Code: Select all

MEDIA_DIRECTORY=/media/envygreen/Media\ Library\ Primary/Videos

And run yams restart to see if it fixes it.


Re: Where did Plex go?

Posted: Fri Feb 02, 2024 3:27 pm
by envygreen

That seems to have done the trick! I'll update if it craps out again. Thanks for the help man!


Re: Where did Plex go?

Posted: Fri Feb 02, 2024 5:30 pm
by rogs

Great! I'll mark the issue as closed.