ChuckPa / PlexDBRepair

Database repair utility for Plex Media Server databases
Other
885 stars 43 forks source link

Error: Unknown Host - unRAID Linuxserver Docker #137

Closed rh535 closed 8 months ago

rh535 commented 8 months ago

I'm running into an error after I type in ./DBRepair.sh.

I have Plex in a docker container from Linuxserver.

Would you have any thoughts on how to fix this error? I believe it should be supported. Thanks for all your work!

Screenshot 2024-03-07 165031

ChuckPa commented 8 months ago

@rh535

Unraid is supported. Some images are not. m (there are those who completely violate standard Plex structure)

Whose image are you using to create the container and what is the path (from inside the command line) to the Databases ?

What you're showing me looks like you forgot the docker exec -it <container> bash command ???? /mnt/appdata is what you see from the shell on Unraid from outside the container.

rh535 commented 8 months ago

@rh535

Unraid is supported. Some images are not.

Whose image are you using to create the container and what is the path (from inside the command line) to the Databases ?

Repository: lscr.io/linuxserver

ChuckPa commented 8 months ago

LSIO is supported.

Go recheck and make certain you are INSIDE the container when you invoke my tool

What you showed me looked like you ran it from the Unraid web browser "terminal" window (?)

ChuckPa commented 8 months ago

Screenshot from 2024-03-07 19-45-15

rh535 commented 8 months ago

This is what happens when I try to cd into the folder.

root@Klauss:~# sudo docker exec -it plex /bin/bash root@Klauss:/# cd PlexDBRepair-1.05.00 bash: cd: PlexDBRepair-1.05.00: No such file or directory root@Klauss:/#

But I do have that folder in that container....I think Screenshot 2024-03-07 7 50 27 PM

ChuckPa commented 8 months ago

You have an issue within the container

I would try a wildcard cd PlexDB* and see if it picks up on that.

If it still doesn't then download the tar.gz again... -OR- just grab the PlexDBRepair.sh directly with a 'wget'

rh535 commented 8 months ago

I was able to just upload the DBRepair.sh into the Plex container folder and run the file. Thanks for the help