# PMS not started after apt upgrade

**URL:** <https://forums.plex.tv/t/pms-not-started-after-apt-upgrade/880123>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [June 15, 2024, 7:17am UTC](https://forums.plex.tv/t/pms-not-started-after-apt-upgrade/880123 "2024-06-15T07:17:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dru\_p](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@dru\_p](https://forums.plex.tv/u/dru_p)\
**Post date:** [June 15, 2024, 7:17am UTC](https://forums.plex.tv/t/pms-not-started-after-apt-upgrade/880123/1 "2024-06-15T07:17:03Z")

</div>

Server Version#: v1.40.3.855  
5-fef15d30c - Ubuntu PC x86\_64 - build: linux-x86\_64 debian - GMT 03:00  
Player Version#:  
Jun 15, 2024 09:46:36.296 [140584317119288] INFO - Plex Media Server v1.40.3.8555-fef15d30c - Ubuntu PC x86\_64 - build: linux-x86\_64 debian - GMT 03:00  
Jun 15, 2024 09:46:36.296 [140584317119288] INFO - Linux version: 22.04.4 LTS (Jammy Jellyfish), language: en-US  
Jun 15, 2024 09:46:36.296 [140584317119288] INFO - Processor: 8-core Intel(R) Core™ i5-8350U CPU @ 1.70GHz  
Jun 15, 2024 09:46:36.296 [140584317119288] INFO - Compiler is - Clang 11.0.1 ([https://plex.tv](https://plex.tv) 9b997da8e5b47bdb4a9425b3a3b290be393b4b1f)  
Jun 15, 2024 09:46:36.296 [140584317119288] INFO - /usr/lib/plexmediaserver/Plex Media Server  
Jun 15, 2024 09:46:36.327 [140584319683216] INFO - [CERT/OCSP] Successfully retrieved response from cache.  
Jun 15, 2024 09:46:36.356 [140584319683216] INFO - Running migrations. (EPG 0)  
Jun 15, 2024 09:46:36.358 [140584319683216] INFO - Running forward migration 202401290808.  
Jun 15, 2024 09:46:36.362 [140584319683216] ERROR - SQLITE3:0x80000001, 779, index corruption at line 94622 of [a29f994989]  
Jun 15, 2024 09:46:36.362 [140584319683216] ERROR - SQLITE3:0x80000001, 779, statement aborts at 41: [update statistics\_bandwidth set at = iif(typeof(at) in (‘integer’, ‘real’), at, strftime(‘%s’, at, ‘utc’))] database disk image is malformed  
Jun 15, 2024 09:46:36.362 [140584319683216] ERROR - Exception inside transaction (inside=1) (/home/runner/actions-runner/\_work/plex-media-server/plex-media-server/Library/DatabaseMigrations.cpp:342): sqlite3\_statement\_backend::loadOne: database disk image is malformed  
Jun 15, 2024 09:46:36.363 [140584319683216] ERROR - Exception thrown during migrations, aborting: sqlite3\_statement\_backend::loadOne: database disk image is malformed  
Jun 15, 2024 09:46:36.363 [140584319683216] ERROR - Database corruption: sqlite3\_statement\_backend::loadOne: database disk image is malformed

i am trying

1. clear \*.db-shm & \*.db-val + systemctl restart
2. with Plex SQLite : check integrity & vacuum & reindex + systemctl restart

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [September 13, 2024, 7:17am UTC](https://forums.plex.tv/t/pms-not-started-after-apt-upgrade/880123/2 "2024-09-13T07:17:41Z")

</div>

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