#citizen (citizen_ed) needs assistance. Invoked by Antwan

1 messages · Page 1 of 1 (latest)

gray bayBOT
#

citizen, please continue the conversation here.

Content: Plex Media Server Databases_2026-05-07_00-44-49.zip: 100%|██████████| 22.0/22.0 [00:00<00:00, 28.6kB/s]
| Metadata Error: File Error: Database File Could not be Downloaded

Attachments:(if any)

#

Welcome @gray bay!

It looks like you have not yet completed the id:customize section of our Discord server, this will allow us to help you quicker.

Someone from <@&938443185347244033> will assist when they're available.

Including meta.log from the beginning is a huge help. Type !logs for more information.

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

You can press the "Close Post" button above or type /close at any time to close this post.

naive hawk
#

@shut stone let’s move here so we aren’t spamming general chat

shut stone
#

ok

#

so what should i toggle to trure to hasve this work ?

naive hawk
#

I have everything on mine set to false and it runs just fine.

#

I’m trying to check out the wiki

shut stone
#

ill stop plex first it recommends that

naive hawk
#

Try that and see. That is good first step

shut stone
#

nope plex needs to be running

#

Plex Media Server Databases_2026-05-07_00-56-18.zip: 100%|██████████| 22.0/22.0 [00:00<00:00, 37.4kB/s]
| Metadata Error: File Error: Database File Could not be Downloaded

#

same error

naive hawk
shut stone
naive hawk
light elk
#

/dbrepair

ivory gazelleBOT
#
Plex DB Repair Tool

DBRepair provides database repair and maintenance for the most common Plex Media Server database problems. It is a simple menu-driven utility with a command line backend.

DBRepair is run from a command line (terminal or ssh/putty session) which has sufficient privilege to read/write the databases (minimum). If sufficient privleges exist (root), and supported by the environment, the options to start and stop PMS are presented as well. (Some envionments require DBRepair to run as the 'root' user.)

You can learn more about this tool and download/use it on ChuckPA's GitHub Repository https://github.com/ChuckPa/PlexDBRepair

shut stone
#

trying the community applications version of db repair tool

shut stone
#

going to try now please stand by

naive hawk
#

Any update?

shut stone
#

no the server was pretty active all night but everyone is off right now so shutting down now to test

ivory gazelleBOT
#

antwanchild used !aenh

@shut stone, anything else needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.

shut stone
#

keep getting this error

light elk
#

Please share the results of the dbrepair. The above is related to the plexapi not able to download the db. Usually when that happens it’s because at some time, the plex db became corrupt.

silk pine
#

IM asked Plex for a copy of its database. Plex returned a tiny file (22 bytes, maybe 22K). That file wasn't a valid database file. The cause of that is going to be entirely on the Plex side.

You can set this up to read the database in place, or you can make your own copy and IM can use that one.

shut stone
#

i was not able to set up dbrepair , i did not see the library file it was asking me to put the directory into

shut stone
naive hawk
#

Set local_db: true

silk pine
light elk
# shut stone i was not able to set up dbrepair , i did not see the library file it was asking...

This would have been a useful piece of information to have much earlier as we have no way of knowing that unless you tell us.

Using a copy in place does not guarantee anything if the db is corrupt.

A corrupt db may also be preventing plex from taking successful backups during its maintenance periods. You would really benefit from getting dbrepair.sh working.

We can help you however just take small steps and come back here when you are stuck.

There is no need to run the community apps for dbrepair. I don’t even understand how the community app would work for this (you mentioned community app for dbrepair way up) as you need to drop into the plex container to do the dbrepair.

#

Make the DBrepair.sh executable by doing a chmod 755 DBrepair.sh and then running it:
./DBrepair.sh

#

The rest is menu driven

#

Step one in menu is to stop PMS.
Step two is start DBrepair with automatic
Assuming that everything comes back clean, step three is start PMS.

#

If 1 fails to stop db, come back here and share screenshots or share the messages you get.

If DBrepair.sh does not launch, share the error message.

As for the plex container you are running, it’s less popular than the official one or the hotio version. Not a huge issue but since we cannot see what you see, you need to share more of the screenshots so we understand what might be going on over there.

silk pine
#

My thought behind just using the database in place is the Plex is obviously running; the database can be read. The issue here is with downloading it, which is not required for imagemaid. All imagemaid needs to do is run a couple queries. While yes, dealing with database issues would be a good idea, it's not required for the task at hand..

light elk
#

Indeed… not trying to derail in any way… there was a lot of chatter with OP in general that is not caught here in this thread in terms of context.

Lots of struggles just to map folders. So the same will likely happen with the copy option since I believe they are using binhex-plex in unraid. And I have no idea what binhex does with their plex container in terms of folders.