This commit is contained in:
ChuckPa
2022-12-24 19:21:43 -05:00
parent b621ca1ab1
commit d4005fba15
4 changed files with 189 additions and 37 deletions

View File

@@ -7,7 +7,7 @@
[![master](https://img.shields.io/badge/master-stable-green.svg?maxAge=2592000)]('')
![Maintenance](https://img.shields.io/badge/Maintained-Yes-green.svg)
# Introduction
## Introduction
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.
@@ -62,18 +62,23 @@ It is a simple menu-driven utility with a command line backend.
```
### To install & launch on general Linux or most Linux NAS platforms:
1. Place the tar/zip/sh file in the appropriate directory
2. Open a command line session (usually SSH)
3. Elevate privilege level to root
4. Extract the utility from the tar or zip file
4. Invoke the utility
### To install & launch on general Linux or most Linux NAS platforms: (Showing with v0.6.1)
1. Open your browser to https://github.com/ChuckPa/PlexDBRepair/releases/latest
2. Download the source code (tar.gz) file
3. Place the tar.gz file in the appropriate directory on the system you'll use it.
4. Open a command line session (usually Terminal or SSH)
5. Elevate privilege level to root (sudo)
6. Extract the utility from the tar or zip file
7. 'cd' into the extraction directory
8. Give the utility 'execute' permission
9. Invoke the utility
#### (Synology DSM 6 used as example)
#### (Synology DSM 6 and version v0.6.1 used as example)
```
cd /volume1/Plex
sudo bash
tar xf DBRepair.tar.gz
tar xf PlexDBRepair-0.6.1.tar.gz
cd PlexDBRepair-0.6.1
chmod +x DBRepair.sh
./DBRepair.sh
```
@@ -93,7 +98,8 @@ It is a simple menu-driven utility with a command line backend.
tar xf DBRepair.tar.gz
tar xf PlexDBRepair-0.6.1.tar.gz
cd PlexDBRepair-0.6.1
chmod +x DBRepair.sh
./DBRepair.sh
```
@@ -102,7 +108,9 @@ It is a simple menu-driven utility with a command line backend.
sudo bash
systemctl stop plexmediaserver
cd /path/to/DBRepair.tar
tar xf DBRepair.tar.gz
tar xf PlexDBRepair-0.6.1.tar.gz
cd PlexDBRepair-0.6.1
chmod +x DBRepair.sh
./DBRepair.sh
```
@@ -110,8 +118,8 @@ It is a simple menu-driven utility with a command line backend.
```
osascript -e 'quit app "Plex Media Server"'
cd ~/Downloads
tar xvf PlexDBRepair-0.3.4.tar.gz
cd PlexDBRepair-0.3.4
tar xvf PlexDBRepai PlexDBRepair-0.6.1.tar.gz
cd PlexDBRepai PlexDBRepair-0.6.1
chmod +x DBRepair.sh
./DBRepair.sh
```