#Trouble Running PMM Overlay Reset in Docker

1 messages · Page 1 of 1 (latest)

wicked verge
#

Getting Error "repository name must be lowercase" so something in my run command must be wrong but not sure what

tame bladeBOT
#

Welcome @wicked verge!

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

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

#

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

wicked verge
#

docker run -it -v /Users/sss/pmm-overlay-reset/config:/config:rw -v /Users/sss/plex-meta-manager/config/assets:/PMM_ASSET:rw -v /Users/sss/plex-meta-manager/config/overlays/Movies Original Posters:/PMM_ORIGINAL:rw meisnate12/pmm-overlay-reset

#

replacing sss with my username of course

#

Getting error: "repository name must be lowercase"

#

If I run docker run -it -v /Users/sss/pmm-overlay-reset/config:/config:rw meisnate12/pmm-overlay-reset

#

I get the error "asset folder not found"

#

asset folder path in .env file have been triple checked and are correct

hot gazelle
#

It's the unescaped spaces in that path. What's the point of those extra two volume maps, anyway?

#
/Users/sss/plex-meta-manager/config/overlays/Movies Original Posters:/PMM_ORIGINAL:rw
                                                   ^        ^
#

Those directories are already visible inside the container, so there's no need to map them individually

wicked verge
#

Since it kept giving me the error "asset folder not found" I thought maybe I could point it to the directory

hot gazelle
#

Probably best to provide a log showing that problem.

#

You're running this in a container, which cannot see the host filesystem, so it has no idea what /Users/whatever/bing/bang/boing is

You would need to tell POR that the asset directory is /config/assets
and the original directory /config/overlays/Movies Original Posters

given this map:

-v /Users/sss/pmm-overlay-reset/config:/config:rw

Since that's where those directories are visible inside the container.

#

BTW your username was in there

#

Even if you had properly escaped the spaces in your docker command above, the same error would have resulted.

#

which for future reference would have been:

docker run -it -v /Users/sss/pmm-overlay-reset/config:/config:rw -v /Users/sss/plex-meta-manager/config/assets:/PMM_ASSET:rw -v /Users/sss/plex-meta-manager/config/overlays/Movies\ Original\ Posters:/PMM_ORIGINAL:rw meisnate12/pmm-overlay-reset

or

docker run -it -v /Users/sss/pmm-overlay-reset/config:/config:rw -v /Users/sss/plex-meta-manager/config/assets:/PMM_ASSET:rw -v "/Users/sss/plex-meta-manager/config/overlays/Movies Original Posters":/PMM_ORIGINAL:rw meisnate12/pmm-overlay-reset

But that would have still produced "asset folder not found" since the container would still be unable to see /Users/sss/plex-meta-manager/config/assets

wicked verge
#

"You would need to tell POR that the asset directory is /config/assets
and the original directory /config/overlays/Movies Original Posters"

Can this be done by editing the .env file?

hot gazelle
#

Yes, I imagine that in the env file you currently have /Users/... which will not work in docker.

wicked verge
#

Let me give it a shot. Thanks for your help. I do currently have /Users/ in my env file

hot gazelle
#

You want this:

docker run -it -v /Users/sss/pmm-overlay-reset/config:/config:rw meisnate12/pmm-overlay-reset

along with this .env

PLEX_URL=http://192.168.1.12:32400
PLEX_TOKEN=123456789
PLEX_LIBRARY=Movies
PMM_ASSET=/config/assets
PMM_ORIGINAL=/config/overlays/Movies Original Posters
...
wicked verge
#

Yep, now its running. My original run command was correct, but I had my env file pointing to the wrong directories.

Both directories: /config/assets and /config/overlays/Movies Original Posters are completely empty. I'm assuming that is normal right?

hot gazelle
#

/config/assets will be empty if you have not put any images in there.

/config/overlays/Movies Original Posters should have the original art if the Movies library has overlays applied.

#

When PMM applies an overlay for the first time it stores a backup of the original art in /config/overlays/Movies Original Posters for use in reapplication or removal.

wicked verge
#

Odd. Both my Movies Original Posters and TV Shows Original Posters are empty.

#

But I have applied overlays in the past

hot gazelle
#

That would be the case if you used assets for all the art, but then the assets folder would not be empty.

#

Are there overlays applied right now?

#

If not, the backup has probably been cleared when the overlays were removed.

wicked verge
#

Definitely have overlays right now

hot gazelle
#

Then either one or the other of those folders should contain files.

#

I am unaware of a circumstance where PMM applies an overlay without either using an asset for the art OR storing a backup of the original artwork.

wicked verge
#

Think I have a bigger issue then haha

#

POR giving this error

#

Because my folders are empty

hot gazelle
#

Yep, that makes sense.

wicked verge
#

Thanks for your help though. I do appreciate it.