Server Version#: 1.40.2.8395
Player Version#: 4.125.1
OS: Ubuntu 20.04.6 LTS
I haven’t been able to upgrade past version 1.40.2.8395, I have tried all the following
1.40.3.8555
1.40.4.8679
1.40.5.8854
I can revert to 1.40.2.8395 or any previous version and it works just fine. I have also ran ChuckPA PlexDBReapir. When trying to upgrade it gets stuck into, “Plex Media Server is currently running database migrations.” and I had times where the plex service would stop or be stuck in the running database migration. When tailing the log I see
Aug 15, 2024 09:25:34.237 [140280446126736] INFO - Running migrations. (EPG 0)
Aug 15, 2024 09:25:34.237 [140280446126736] INFO - Analyzing database.
Aug 15, 2024 09:25:34.368 [140280446126736] INFO - Vacuuming database.
Aug 15, 2024 09:25:35.847 [140280438799160] WARN - Crash: Crash reporting disabled
Aug 15, 2024 09:26:00.597 [140280446126736] ERROR - SQLITE3:0x80000001, 13, statement aborts at 7: [INSERT INTO vacuum_db.'blobs' SELECT*FROM"main".'blobs'] database or disk is full
Aug 15, 2024 09:26:01.442 [140280446126736] ERROR - SQLITE3:0x80000001, 13, statement aborts at 1: [VACUUM] database or disk is full
Aug 15, 2024 09:26:01.444 [140280446126736] ERROR - Exception thrown during migrations, aborting: sqlite3_statement_backend::loadOne: database or disk is full
Aug 15, 2024 09:26:01.444 [140280446126736] ERROR - Database corruption: sqlite3_statement_backend::loadOne: database or disk is full
Aug 15, 2024 09:26:01.444 [140280446126736] ERROR - Error: Unable to set up server: sqlite3_statement_backend::loadOne: database or disk is full (N4soci10soci_errorE)
The disk/partition where PMS is being stored – IS FULL.
The default location is /var/lib , which is the / filesystem
When you type df -h, it will show you.
You’ll see it’s full.
This is probably the time for you to move your PMS to a different partition or disk.
Aug 15, 2024 11:22:22.388 [139837734210192] ERROR - SQLITE3:0x80000001, 13, statement aborts at 7: [INSERT INTO vacuum_db.'blobs' SELECT*FROM"main".'blobs'] database or disk is full
Aug 15, 2024 11:22:23.250 [139837734210192] ERROR - SQLITE3:0x80000001, 13, statement aborts at 1: [VACUUM] database or disk is full
Aug 15, 2024 11:22:23.252 [139837734210192] ERROR - Exception thrown during migrations, aborting: sqlite3_statement_backend::loadOne: database or disk is full
Aug 15, 2024 11:22:23.252 [139837734210192] ERROR - Database corruption: sqlite3_statement_backend::loadOne: database or disk is full
Aug 15, 2024 11:22:23.252 [139837734210192] ERROR - Error: Unable to set up server: sqlite3_statement_backend::loadOne: database or disk is full (N4soci10soci_errorE)
Edit: Increased the /dev/mapper/ubuntu–vg-ubuntu–lv, which plex is now working, I ignored the disk is full msg because I didn’t think that would matter since plex lives under a 1TB mount /dev/sdb1 /plex.
Thanks, yeah i’ll just make a override.conf, I forgot about the location of /usr/lib/plexmediaserver. But either way seems resolved once I expanded /dev/mapper/ubuntu–vg-ubuntu–lv.
Yeah, what I just cant figure out why it was saying disk full when I had symlink to /dev/sdb1, for /usr/lib/plexmediaserver. I would of thought 2GB left would be plenty for /dev/mapper/ubuntu–vg-ubuntu–lv, since plex data isn’t technically running on main drive but the secondary drive with over 500GB of space. But yeah once i added additional space to /dev/mapper/ubuntu–vg-ubuntu–lv it worked instantly.
Either way I created an override.conf instead of a symlink.
df will not follow the symlink to tell you the space free at the destination without using the trailing slash. PMS does not add trailing / to pathnames because it already knows it’s a DIRECTORY.