# DBRepair development

**URL:** <https://forums.plex.tv/t/dbrepair-development/822684>\
**Category:** Apps & Creations\
**Created:** [December 14, 2022, 3:57am UTC](https://forums.plex.tv/t/dbrepair-development/822684 "2022-12-14T03:57:23Z")\
**Posts on this page:** 20\
**Page:** 27

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 18, 2025, 3:11am UTC](https://forums.plex.tv/t/dbrepair-development/822684/575 "2025-03-18T03:11:37Z")

</div>

@SE56

When you get a chance, in the terminal, would you please type `locale` and share that result?

I expect it will look like this:

```auto
$ locale
LANG=en_GB.UTF-8
LANGUAGE=
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

```

---

<div class="post-metadata">

**Author:** ![SE56](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/se56/32/222425_2.png) [@SE56](https://forums.plex.tv/u/SE56)\
**Post date:** [March 18, 2025, 3:13am UTC](https://forums.plex.tv/t/dbrepair-development/822684/576 "2025-03-18T03:13:29Z")

</div>

> [@ChuckPa](#):
>
> locale

> [@ChuckPa](#):
>
> locale

 ![Screenshot 2025-03-18 at 1.12.39 pm](https://global.discourse-cdn.com/plex/original/4X/5/f/6/5f632c095e2672358c6460cc77c296003844acf4.jpeg)

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 18, 2025, 3:14am UTC](https://forums.plex.tv/t/dbrepair-development/822684/577 "2025-03-18T03:14:45Z")

</div>

Thanks.

I know how to solve this problem.

Thanks to @Volts for pointing in the right direction.

---

<div class="post-metadata">

**Author:** ![SE56](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/se56/32/222425_2.png) [@SE56](https://forums.plex.tv/u/SE56)\
**Post date:** [March 18, 2025, 3:15am UTC](https://forums.plex.tv/t/dbrepair-development/822684/578 "2025-03-18T03:15:22Z")

</div>

Thanks Guys

en.AU

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 18, 2025, 3:28am UTC](https://forums.plex.tv/t/dbrepair-development/822684/579 "2025-03-18T03:28:43Z")

</div>

@SE56

Here is proposed 1.10.03  
When LC\_ALL is null, it will set LC\_ALL=C (which is predictable results)

Please do the following:

1. Download this “log” file
2. Rename DBRepair-Test.log → DBRepair-Test.sh
3. Make it executable (chmod +x DBRepair-Test.sh)
4. Run it

🤞

There won’t be any more errors

[DBRepair-Test.log](https://forums.plex.tv/uploads/short-url/w4WnlUNMRKextcrawRtEVym1Rex.log) (68.4 KB)

I will continue testing here

---

<div class="post-metadata">

**Author:** ![SE56](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/se56/32/222425_2.png) [@SE56](https://forums.plex.tv/u/SE56)\
**Post date:** [March 18, 2025, 3:31am UTC](https://forums.plex.tv/t/dbrepair-development/822684/580 "2025-03-18T03:31:57Z")

</div>

Will report back tomorrow, it pushing towards midnight for you. Thank you so much. 🙃

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 18, 2025, 3:32am UTC](https://forums.plex.tv/t/dbrepair-development/822684/581 "2025-03-18T03:32:20Z")

</div>

I’m up for 2 more hours..

You can go for it

👍

---

<div class="post-metadata">

**Author:** ![SE56](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/se56/32/222425_2.png) [@SE56](https://forums.plex.tv/u/SE56)\
**Post date:** [March 18, 2025, 3:37am UTC](https://forums.plex.tv/t/dbrepair-development/822684/582 "2025-03-18T03:37:38Z")

</div>

> [@ChuckPa](#):
>
> DBRepair-Test.sh

How to make it Executable

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 18, 2025, 3:39am UTC](https://forums.plex.tv/t/dbrepair-development/822684/583 "2025-03-18T03:39:56Z")

</div>

> [@ChuckPa](#):
>
> chmod +x DBRepair-Test.sh

This way 🙂

Need a cloth for your 👀 ?

---

<div class="post-metadata">

**Author:** ![SE56](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/se56/32/222425_2.png) [@SE56](https://forums.plex.tv/u/SE56)\
**Post date:** [March 18, 2025, 3:47am UTC](https://forums.plex.tv/t/dbrepair-development/822684/584 "2025-03-18T03:47:55Z")

</div>

> [@ChuckPa](#):
>
> chmod +x DBRepair-Test.sh

> [@ChuckPa](#):
>
> chmod +x DBRepair-Test.sh

Like this

 ![Screenshot 2025-03-18 at 1.47.02 pm](https://global.discourse-cdn.com/plex/original/4X/a/7/d/a7dbf9350f209a7b7772fbd4944252f6770eb96e.jpeg)

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 18, 2025, 3:49am UTC](https://forums.plex.tv/t/dbrepair-development/822684/585 "2025-03-18T03:49:00Z")

</div>

now run DBRepair “auto” optimization (normal)

You shouldn’t see any “RE” errors.

---

<div class="post-metadata">

**Author:** ![SE56](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/se56/32/222425_2.png) [@SE56](https://forums.plex.tv/u/SE56)\
**Post date:** [March 18, 2025, 3:53am UTC](https://forums.plex.tv/t/dbrepair-development/822684/586 "2025-03-18T03:53:20Z")

</div>

??

 ![Screenshot 2025-03-18 at 1.52.31 pm](https://global.discourse-cdn.com/plex/original/4X/a/9/b/a9bd5c2dbf8edd96b948c8a0625fa96c78344db9.jpeg)

---

<div class="post-metadata">

**Author:** ![SE56](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/se56/32/222425_2.png) [@SE56](https://forums.plex.tv/u/SE56)\
**Post date:** [March 18, 2025, 3:54am UTC](https://forums.plex.tv/t/dbrepair-development/822684/587 "2025-03-18T03:54:04Z")

</div>

Oh, my wife watching Plex

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 18, 2025, 3:55am UTC](https://forums.plex.tv/t/dbrepair-development/822684/588 "2025-03-18T03:55:46Z")

</div>

not sure what you show me above but at this prompt,

[![](https://global.discourse-cdn.com/plex/original/4X/a/7/d/a7dbf9350f209a7b7772fbd4944252f6770eb96e.jpeg) ](https://global.discourse-cdn.com/plex/original/4X/a/7/d/a7dbf9350f209a7b7772fbd4944252f6770eb96e.jpeg)

you should just run the `./DBRepair-Test.sh`  
and use `auto` optimization

(Of course you’ll need to stop plex)

Delay understood 🙈 lol

---

<div class="post-metadata">

**Author:** ![SE56](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/se56/32/222425_2.png) [@SE56](https://forums.plex.tv/u/SE56)\
**Post date:** [March 18, 2025, 3:58am UTC](https://forums.plex.tv/t/dbrepair-development/822684/589 "2025-03-18T03:58:04Z")

</div>

Thanks for Understanding, the dog house is a bit small for me

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 18, 2025, 9:48pm UTC](https://forums.plex.tv/t/dbrepair-development/822684/590 "2025-03-18T21:48:22Z")

</div>

@SE56

Before you find yourself another reason to end up in the 🐕 🏠  
have you had opportunity to confirm you don’t see any more coding errors (“RE”) when running “auto” with this new update ?

---

<div class="post-metadata">

**Author:** ![SE56](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/se56/32/222425_2.png) [@SE56](https://forums.plex.tv/u/SE56)\
**Post date:** [March 18, 2025, 10:19pm UTC](https://forums.plex.tv/t/dbrepair-development/822684/591 "2025-03-18T22:19:59Z")

</div>

It’s Morning in AU and just stepping out for a specialist appointment. Will look at it shortly after returning. Thanks for the follow up.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 18, 2025, 10:31pm UTC](https://forums.plex.tv/t/dbrepair-development/822684/592 "2025-03-18T22:31:18Z")

</div>

It’s lunchtime in NZ 😎 ( one of our team lives there )

---

<div class="post-metadata">

**Author:** ![SE56](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/se56/32/222425_2.png) [@SE56](https://forums.plex.tv/u/SE56)\
**Post date:** [March 19, 2025, 1:04am UTC](https://forums.plex.tv/t/dbrepair-development/822684/593 "2025-03-19T01:04:26Z")

</div>

It’s now 11am Queensland Time and the report is attached for your consideration.

 ![Screenshot 2025-03-19 at 10.59.08 am](https://global.discourse-cdn.com/plex/original/4X/5/7/3/573acbe46557386132fe95175356d51e9ced26ca.jpeg)

Looking good.

What is the error opening archive?

@ChuckPa

---

<div class="post-metadata">

**Author:** ![shark2k](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/shark2k/32/305908_2.png) [@shark2k](https://forums.plex.tv/u/shark2k)\
**Post date:** [March 19, 2025, 1:19am UTC](https://forums.plex.tv/t/dbrepair-development/822684/594 "2025-03-19T01:19:17Z")

</div>

I am in no way an expert with Tar, but from a quick Google search, I think you have your arguments backwards.

To extract a tar file you would just do:

```auto
tar xvf PlexDBRepair-Test.tar.gz

```

And that would extract the contents to wherever the file is located.

In your case, since you want to extract it to a folder called PlexDBRepair-Test-1.10.02, I think you would want to use the command:

```auto
tar xvf PlexDBRepair-Test.tar.gz -C ./PlexDBRepair-Test.tar.gz

```

(Note I am not 100% certain on that, but Chuck is definitely the Linux/shell expert so would be able to confirm.)

The only thing I do know I am definitely correct about is that your tar command did not work properly because if you look at the 2nd error, it failed to change directory to the “DBRepair-Test-1.10.02” directory because it does not exist.

-Shark2k

[Previous page](https://forums.plex.tv/t/dbrepair-development/822684.md?page=26)

[Next page](https://forums.plex.tv/t/dbrepair-development/822684.md?page=28)
