Random crashes

Server Version#: 1.23.5.4801
Player Version#:

Ubuntu Server 18.04 LTS
Kernel: 4.15.0-147-generic

Everything was running smoothly for the last week or so, then the server became unresponsive for a few minutes before recovering and continuing normally. I checked resource usage and everything was normal during the timeframe.

The crash occurred around 10:53pm
Plex Media Server Logs_2021-07-16_22-53-56.zip (4.8 MB)

Twice this evening

Plex Media Server Logs_2021-07-17_00-35-00.zip (3.7 MB)

I watched the server become unresponsive then watched the re-connection attempts in the logs.

This is starting to become a regular thing since the 1.23.x updates started.

@BigWheel I’m not sure if you’re familiar with Linux, but would you mind taking a look at the logs for me?

Just for some back story with what’s been going on with my server lately.

Plex Media Server Logs_2021-07-21_20-56-53.zip (6.0 MB)

I can see certificate errors probably from my custom one. I’m not sure what I’m doing wrong there, the certificate is valid and the hostname is correct. Are there directions somewhere on how to properly convert my .pem files into .pfx?

The command I’ve been using is:

openssl pkcs12 -export -out /home/user/cert.pfx -inkey /etc/letsencrypt/live/plex.example.xyz/privkey.pem -in /etc/letsencrypt/live/plex.example.xyz/cert.pem -certfile /etc/letsencrypt/live/plex.example.xyz/chain.pem

sorry i only know enough linux to get myself in trouble. @ChuckPa that was trying to help with in other topic is who I usually bounce things off first. I am trying to see if someone can see if your crash logs successfully uploaded but the last one seems to have been on the 17th.

Ok, thank you for taking a look.

Alright, this was a good one. Seems to have crashed pretty hard, database locked. It’s not recovering automatically from this one - I just updated to the latest PMS this morning.

plexlogs-2021-07-22.zip (2.7 MB)

This happens during boot now, so safe to say I’m going to roll back.

Jul 22, 2021 09:04:41.227 [0x7fbfacd5db38] WARN - Waited one whole second for a busy database.
Jul 22, 2021 09:04:41.466 [0x7fbfaaae5b38] ERROR - Failed to begin transaction (../Plugins/PluginDatabaseState.cpp:110) (tries=9): Cannot begin transaction. database is locked
Jul 22, 2021 09:04:42.013 [0x7fbface22b38] WARN - Waited one whole second for a busy database.
Jul 22, 2021 09:04:42.113 [0x7fbfa9fd2b38] WARN - Waited one whole second for a busy database.
Jul 22, 2021 09:04:42.497 [0x7fbfab2efb38] DEBUG - Auth: authenticated user 1 as kazz3r24
Jul 22, 2021 09:04:42.497 [0x7fbfaa25cb38] DEBUG - Request: [127.0.0.1:49180 (Loopback)] GET /status/sessions (47 live) GZIP Signed-in Token (kazz3r24)
Jul 22, 2021 09:04:42.497 [0x7fbfaa25cb38] DEBUG - [Now] Adding 0 sessions.
Jul 22, 2021 09:04:42.498 [0x7fbfab2efb38] DEBUG - Completed: [127.0.0.1:49180] 200 GET /status/sessions (47 live) GZIP 1ms 397 bytes (pipelined: 1)
Jul 22, 2021 09:04:42.503 [0x7fbfab2efb38] DEBUG - Auth: authenticated user 1 as kazz3r24
Jul 22, 2021 09:04:42.503 [0x7fbfaa48cb38] DEBUG - Request: [127.0.0.1:49182 (Loopback)] GET /:/websockets/notifications (47 live) Signed-in Token (kazz3r24)
Jul 22, 2021 09:04:42.503 [0x7fbfaa48cb38] DEBUG - WebSocket: Performing handshake from origin http://127.0.0.1:32400
Jul 22, 2021 09:04:42.503 [0x7fbfaa48cb38] DEBUG - Beginning read from WebSocket
Jul 22, 2021 09:04:42.521 [0x7fbfab2efb38] DEBUG - Auth: authenticated user 1 as kazz3r24
Jul 22, 2021 09:04:42.521 [0x7fbfa9f54b38] DEBUG - Request: [127.0.0.1:49184 (Loopback)] GET /:/prefs (48 live) GZIP Signed-in Token (kazz3r24)
Jul 22, 2021 09:04:42.532 [0x7fbfab2efb38] DEBUG - Completed: [127.0.0.1:49184] 200 GET /:/prefs (48 live) GZIP 11ms 8311 bytes (pipelined: 1)
Jul 22, 2021 09:04:42.739 [0x7fbfaaae5b38] WARN - Waited one whole second for a busy database.
Jul 22, 2021 09:04:43.059 [0x7fbfaa469b38] WARN - Waited one whole second for a busy database.
Jul 22, 2021 09:04:43.464 [0x7fbfacd5db38] WARN - Waited one whole second for a busy database.
Jul 22, 2021 09:04:43.753 [0x7fbfaaae5b38] ERROR - Failed to begin transaction (../Plugins/PluginDatabaseState.cpp:110) (tries=10): Cannot begin transaction. database is locked
Jul 22, 2021 09:04:43.924 [0x7fbfaaae5b38] DEBUG - [JobRunner] Job running: '/usr/lib/plexmediaserver/CrashUploader' '--directory=/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Crash Reports/1.23.6.4810-15ce0e21a' '--version=1.23.6.4810-15ce0e21a' '--platform=Linux' '--platformVersion=18.04.5 LTS (Bionic Beaver)' '--serverUuid=12a2c5e575c0bc7dd59cb0ea12aa93cd8800addf' '--userId=kevinkazienko@gmail.com' '--sentryUrl=https://sentry.io/api/1233455/minidump' '--sentryKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' '--vendor=Ubuntu' '--model=x86_64' '--device=PC' '--allowRetries=0'
Jul 22, 2021 09:04:43.925 [0x7fbfaaae5b38] DEBUG - [JobRunner] Jobs: Starting child process with pid 37104

I’m hoping you got that crash upload.

Confirmed rolling back to 1.23.5.4841 fixes the database locked issue.

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