PMS turning off on its own (mac)

before the last update my Plex was working fine. But now, Plex will automatically turn itself off after x amount of time. I have a mac, running Sierra 10.13.6. Computer sleep set to “never”. Been running plex for YEARS, and never had a problem like this ever.

It is fine, working perfectly if I am using the computer but as soon as I walk away, plex media server quits on its own (it does not crash) and my “server is unavailable” and I have to restart plex in order for my computer to find my server.

Please help ASAP!

That is a small snippet of one log

As a short update, PMS has turned itself off while I was typing my previous post, so I didn’t even walk away from the machine or has anything to do with sleeping or anything

The plex media server.log will usually have the shut down event. if it was not a crash

No.

Zip up the everything in the logs folder

you probably just need to restore a database backup

ok, here it is

This link seems to have instructions for restoring a database using Linux. How would I do this on a mac?

Is the log telling you anything that might point to why this is happening? Or do you suggest that I restore a backup of the database?

It isn’t just for linux.

Though afaict something else on your system is telling it to shutdown. so I don’t think it is the database. I am seeing of other folks have an idea.

Jun 14, 2023 19:45:41.829 [0x7fffa5c1f380] DEBUG - Shutting down with signal 0 (Unknown signal: 0)
Jun 14, 2023 19:45:41.829 [0x7fffa5c1f380] DEBUG - Ordered to stop server.
Jun 14, 2023 19:45:41.829 [0x70000a12c000] DEBUG - Stopping server...
1 Like

ok thanks. I’ll wait to see what you find out.

In the meantime, could you explain this last step little for me? I think I’m good until step 4. How do I ensure that PMS has read/write permissions? I can go to the file, click “get info”, go to the “sharing and permissions” section, but there is no “plex:plex” user

Ensure that Plex Media Server has read/write permissions to the restored database file(s) (e.g. in a Linux install, the plex:plex (user:group) needs access)

Just trying to learn in case this comes up in the future

You should not need to worry about that on Mac.

Here is a link to the previous version if it may help til we can figure out what may be going on.

https://downloads.plex.tv/plex-media-server-new/1.32.3.7162-b0a36929b/macos/PlexMediaServer-1.32.3.7162-b0a36929b-universal.zip

1 Like

I was told that signal 0 is something external telling the server to quit.

Any clue as to what could be the culprit, or options as to what could do this?

FYI, update on the db refresh and installing the older version. I’ve reverted to the version you sent, and restored a previous version of the db. It seemed to work for a bit but then it shut itself down again

Could it be possible that there is a movie on my server that is somehow corrupt? I tried to get a friend to watch a specific movie, and every time they watched it, somehow, MY Plex server shut off. I deleted that movie, and it seemed to work fine. People remote watched a bunch of movies.

Tonight, someone tried to watch another movie, my plex shut down again.

Is it possible for an incoming connection to somehow trigger something that would shut off my plex server?

If something like that happened I would expect it to crash not shutdown as if it was told to quit but I will ask other folks about that.

Perhaps related to my similar issue?

I’ve done some extensive searching and found multiple articles and posts from the web about “signal 0” but none of them ever had a resolution. @BigWheel : I completely overhauled my network settings and port forwarding, everything. It was working fine for a while but then someone tried to watch a movie and it “shut down” again (not crash).

I have Verizon GB connection. Use a Verizon router but have a POE box running signal to 2 WAPs in the house.

DHCP IPv4. Set from .50 to .199
Using DHCP with Manual address on my computer set to .49
UPnP Enabled
Have a port fowarding rule for PLEX; UDP Any → 32400, TCP Any → 32400

Plex Network settings: Secure connections REQUIRED
Preferred Network interface: (.49 address)
Plex Version 1.32.3.7192
Remote access with manually specified port of 32400

I was looking at my Router Security logs and I noticed a bunch of these: Does this happen to mean something to you?

Jun 16 12:54:52 2023ulogd[880]notice<173>Blocked IN=eth1 OUT= MAC=20:c0:47:43:6a:b8:2e:21:72:5f:51:0e:08:00 SRC=45.156.128.19 DST=100.7.61.110 LEN=42 TOS=08 PREC=0x20 TTL=244 ID=54321 PROTO=UDP SPT=48112 DPT=7 LEN=22 MARK=0

Signal Zero is something external shutting it down. We can’t know other things about your system or network that might do that.

if I recall Verizon has something in their router called “Home network protection” that causes problems with remote access but I don’t know of anything offhand that would or could just make the server shut down

@SkebbZ the OPs issue is the server shutting down randomly. it isn’t crashing so I would not be the same issue