#Local Asset folder & Arr root folder config in docker

1 messages · Page 1 of 1 (latest)

spice grail
#

I used to run pmm on Windows but switch everything over to Docker now that I'm not running on Windows anymore. Since then I'm unable to get Arr root folders configured properly. I'm also having issues getting local assets to work properly.

obtuse wrenBOT
#

📝 If you want to review this again, nairbosaurus:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝

#

Welcome @spice grail!

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.

spice grail
#

These are my docker volumes in my docker-compose:

  • $DOCKERDIR/appdata/plex-meta-manager/config:/config:rw
  • $DOCKERDIR/appdata/plex-meta-manager/assets:/assets:rw
  • /mnt/storage/media/movies:/movies:ro
  • /mnt/storage/media/tv:/tv:ro
strong perch
#

The errors in the log are telling you what to enter.

[2024-01-12 13:49:03,818] [config.py:1123]            [ERROR]    | Invalid Root Folder: '/movies' Options: [[1:/data/media/movies]]
[2024-01-12 13:49:03,840] [config.py:1155]            [ERROR]    | Invalid Root Folder: '/tv' Options: [[1:/data/media/tv]]

"this setting is invalid, the only options I see are these"

The only root folder Radarr knows about is /data/media/movies
The only root folder Sonarr knows about is /data/media/tv

Enter those in the config.yml:

radarr:
...
  root_folder_path: /data/media/movies
...
sonarr:
...
  root_folder_path: /data/media/tv
spice grail
#

ok

#

do I need to change the volumes in my docker-compose?

strong perch
#

What volumes in what docker-compose?

spice grail
#

I posted my docker volumes above

strong perch
#

If these:

$DOCKERDIR/appdata/plex-meta-manager/config:/config:rw
$DOCKERDIR/appdata/plex-meta-manager/assets:/assets:rw
/mnt/storage/media/movies:/movies:ro
/mnt/storage/media/tv:/tv:ro

are in the PMM docker-compose, PMM has no use for the last two. remove them.

spice grail
#

ok, thanks

#

can you also help with local assets?

strong perch
#

Sure.

#

I building a bed and so might be stepping away a bit here and there.

spice grail
#

no worries

spice grail
#

confirmed the Arrs are fixed, thank you

royal bluff
#

what help are you needing with the assets?

spice grail
#

whenever I try to call a local asset I get an error

#

e.g. line 19748 in the meta.log I posted

royal bluff
#

your asset directory should be: config/assets

spice grail
#

do I need to change my docker volumes?

royal bluff
#

no...

#

change in your config.yml

spice grail
#

do I need to also move the assets folder inside of config on the server?

#

or is just a config change?

royal bluff
#

so i use docker also

#

i have my pmm mapped to /config

spice grail
#

these are my volumes:

  • $DOCKERDIR/appdata/plex-meta-manager/config:/config:rw
  • $DOCKERDIR/appdata/plex-meta-manager/assets:/assets:rw
royal bluff
#

that will work, but i don't map my assets separately

spice grail
#

oh gotcha

royal bluff
#

where do you have the assets installed?

spice grail
#

/home/docker/appdata/plex-meta-manager/assets

#

basically a config folder and assets folder within the root of plex-meta-manager/

#

sounds like I need to move assets into config then change my config.yml to have asset_directory: config/assets

strong perch
spice grail
#

that's what I have had but it errors for me

#

I've tried several different ways and nothing seems to work

#

I haven't tried putting assets in config then config/assets though

strong perch
#

Please provide a log.

spice grail
#

the log I already attached has that

strong perch
#

okay.

spice grail
#

line 19748 in the meta.log shows the error

strong perch
#

That's not how assets work.

#

That error is totally expected and correct.

spice grail
#

because it's the asset URL?

#

I mean url_poster

strong perch
#

That's why you're getting that error. /asset/whatever.jpg is not a url

spice grail
#

how would I call local assets?

strong perch
#

The beauty is that you don't. They are looked up from the asset directory automatically by name.

spice grail
#

even better

#

I probably need to fix a couple filenames then

strong perch
#

Alternatively you could change:

url_poster: /asset/whatever.jpg

to

file_poster: /asset/whatever.jpg
spice grail
#

that's easier

#

I'll try that

strong perch
spice grail
#

reading through it now

#

I think I had assets all configured correctly, but I missed the file_poster attribute

#

it's not mentioned on that assets wiki page

strong perch
#

Because it isn't related to assets.