# Problems after update

**URL:** <https://forums.plex.tv/t/problems-after-update/880063>\
**Category:** Plex Media Server\
**Tags:** server-docker\
**Created:** [June 14, 2024, 1:29pm UTC](https://forums.plex.tv/t/problems-after-update/880063 "2024-06-14T13:29:38Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wanderin\_April](https://avatars.discourse-cdn.com/v4/letter/w/6de8d8/32.png) [@Wanderin\_April](https://forums.plex.tv/u/Wanderin_April)\
**Post date:** [June 14, 2024, 1:29pm UTC](https://forums.plex.tv/t/problems-after-update/880063/1 "2024-06-14T13:29:38Z")

</div>

Jun 14, 2024 09:19:34.286 [22554305612600] INFO - Plex Media Server v1.40.3.8555-fef15d30c - Docker Docker Container x86\_64 - build: linux-x86\_64 debian - GMT -04:00  
Jun 14, 2024 09:19:34.286 [22554305612600] INFO - Linux version: 6.1.79-Unraid, language: en-US  
Jun 14, 2024 09:19:34.286 [22554305612600] INFO - Processor: 24-core AMD Ryzen 9 5950X 16-Core Processor  
Jun 14, 2024 09:19:34.286 [22554305612600] INFO - Compiler is - Clang 11.0.1 ([https://plex.tv](https://plex.tv) 9b997da8e5b47bdb4a9425b3a3b290be393b4b1f)  
Jun 14, 2024 09:19:34.286 [22554305612600] INFO - /usr/lib/plexmediaserver/Plex Media Server  
Jun 14, 2024 09:19:34.303 [22554367662736] INFO - [CERT/OCSP] Successfully retrieved response from cache.  
Jun 14, 2024 09:19:36.280 [22554301393720] WARN - Crash: Crash reporting disabled  
Jun 14, 2024 09:19:37.290 [22554367662736] INFO - Running migrations. (EPG 0)  
Jun 14, 2024 09:19:37.291 [22554367662736] INFO - Analyzing database.  
Jun 14, 2024 09:19:39.291 [22554367662736] ERROR - SQLITE3:0x80000001, 11, database corruption at line 68825 of [a29f994989]  
Jun 14, 2024 09:19:39.291 [22554367662736] ERROR - SQLITE3:0x80000001, 11, database corruption at line 68975 of [a29f994989]  
Jun 14, 2024 09:19:39.291 [22554367662736] ERROR - SQLITE3:0x80000001, 11, statement aborts at 971: [ANALYZE] database disk image is malformed  
Jun 14, 2024 09:19:39.295 [22554367662736] ERROR - Exception thrown during migrations, aborting: sqlite3\_statement\_backend::loadOne: database disk image is malformed

Suggestions to resolve this?

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [June 14, 2024, 1:33pm UTC](https://forums.plex.tv/t/problems-after-update/880063/2 "2024-06-14T13:33:52Z")

</div>

> [@Wanderin\_April](#):
>
> database corruption

> **[GitHub - ChuckPa/PlexDBRepair: Database repair utility for Plex Media Server...](https://github.com/ChuckPa/PlexDBRepair)**
>
> Database repair utility for Plex Media Server databases - ChuckPa/PlexDBRepair

---

<div class="post-metadata">

**Author:** ![Wanderin\_April](https://avatars.discourse-cdn.com/v4/letter/w/6de8d8/32.png) [@Wanderin\_April](https://forums.plex.tv/u/Wanderin_April)\
**Post date:** [June 14, 2024, 1:34pm UTC](https://forums.plex.tv/t/problems-after-update/880063/3 "2024-06-14T13:34:46Z")

</div>

Thanks. Been using Plex server for years and never had an issue with it.

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [June 14, 2024, 1:38pm UTC](https://forums.plex.tv/t/problems-after-update/880063/4 "2024-06-14T13:38:02Z")

</div>

The readme has info on how to run when using Docker.

Use the Auto option.

If the db cannot be repaired, try the replace option. It will check the backup versions and restore the most recent one that is not corrupt.

---

<div class="post-metadata">

**Author:** ![Wanderin\_April](https://avatars.discourse-cdn.com/v4/letter/w/6de8d8/32.png) [@Wanderin\_April](https://forums.plex.tv/u/Wanderin_April)\
**Post date:** [June 14, 2024, 2:47pm UTC](https://forums.plex.tv/t/problems-after-update/880063/5 "2024-06-14T14:47:19Z")

</div>

Couldnt repair or replace database. Looks like i am gonna have to start over. Any idea on how to delete the database and start over?

---

<div class="post-metadata">

**Author:** ![Jolpadgett](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jolpadgett/32/203050_2.png) [@Jolpadgett](https://forums.plex.tv/u/Jolpadgett)\
**Post date:** [June 14, 2024, 2:58pm UTC](https://forums.plex.tv/t/problems-after-update/880063/6 "2024-06-14T14:58:29Z")

</div>

I had the same problem with 1.40.3 today (linuxserver:plex updated overnight). Going back to 1.40.2 without doing anything to the database files works. If you can go back to 1.40.2 in unraid, try that before restarting from scratch. I believe there is something wrong with the DB migration between 1.40.2 and 1.40.3 which is causing our issue. I will wait until the next release before leaving 1.40.2.

(I also attempted to go to both plex created backups and to my own backups of the DB files but they all reported the same database malformed error which–to me–points more heavily that the 1.40.3 migration process is borked on my platform. Tried DBRepair as well before finally giving up and going back to the image for 1.40.2)

---

<div class="post-metadata">

**Author:** ![Wanderin\_April](https://avatars.discourse-cdn.com/v4/letter/w/6de8d8/32.png) [@Wanderin\_April](https://forums.plex.tv/u/Wanderin_April)\
**Post date:** [June 14, 2024, 3:12pm UTC](https://forums.plex.tv/t/problems-after-update/880063/7 "2024-06-14T15:12:31Z")

</div>

How do i go back a version?

---

<div class="post-metadata">

**Author:** ![Jolpadgett](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jolpadgett/32/203050_2.png) [@Jolpadgett](https://forums.plex.tv/u/Jolpadgett)\
**Post date:** [June 14, 2024, 3:20pm UTC](https://forums.plex.tv/t/problems-after-update/880063/8 "2024-06-14T15:20:15Z")

</div>

Your logs indicated unraid, so I do not know. I use docker directly on ubuntu so I just changed my docker-compose.yml file to pull the image for 1.40.2 versus latest.

I use the linuxserver image, so in my docker-compose.yml, I went from

image: linuxserver/plex:latest  
to  
image: linuxserver/plex:1.40.2

and then recreated the docker image with “docker-compose up --force-recreate --build -d”

but with unraid and whichever docker image you are using, it will be different so please explore how to do it under your environment.

---

<div class="post-metadata">

**Author:** ![Wanderin\_April](https://avatars.discourse-cdn.com/v4/letter/w/6de8d8/32.png) [@Wanderin\_April](https://forums.plex.tv/u/Wanderin_April)\
**Post date:** [June 14, 2024, 3:23pm UTC](https://forums.plex.tv/t/problems-after-update/880063/9 "2024-06-14T15:23:21Z")

</div>

Thanks. I think i figured it out.

Version = 1.40.2.8395-c67dce28e

---

<div class="post-metadata">

**Author:** ![Wanderin\_April](https://avatars.discourse-cdn.com/v4/letter/w/6de8d8/32.png) [@Wanderin\_April](https://forums.plex.tv/u/Wanderin_April)\
**Post date:** [June 14, 2024, 3:29pm UTC](https://forums.plex.tv/t/problems-after-update/880063/10 "2024-06-14T15:29:17Z")

</div>

Downgraded docker image and still a no go. Guess i’ll be rebuilding a 100tb media collection database ☹

---

<div class="post-metadata">

**Author:** ![Jolpadgett](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jolpadgett/32/203050_2.png) [@Jolpadgett](https://forums.plex.tv/u/Jolpadgett)\
**Post date:** [June 14, 2024, 3:30pm UTC](https://forums.plex.tv/t/problems-after-update/880063/12 "2024-06-14T15:30:55Z")

</div>

Sorry to hear that.

---

<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 12, 2024, 3:31pm UTC](https://forums.plex.tv/t/problems-after-update/880063/13 "2024-09-12T15:31:35Z")

</div>

Closed on September 12, 2024, 3:31pm UTC

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