jkirkcaldy / plex-utills

Manage your Plex library automatically
MIT License
321 stars 24 forks source link

Error, the 4k HDR poster for this film could not be created #22

Closed Gratobuchr closed 2 years ago

Gratobuchr commented 3 years ago

Hello,

the script working and try to create 4K banner. But I received this error:

Films Error, the 4k HDR poster for this film could not be created.

For every 4K movies in my library.

I suspect that it’s a permission problem, but in my unraid plex folder, permision are like that

plex-media-server (rwx) -> library (read only) -> application support (read only) -> Plex media server (rwx) -> « all others folder and file are rwx »

any idea ? :)

Turbo123T3 commented 3 years ago

I ran into this problem last night, I encourage you to run the "setup_helper.py" and make sure that your config.ini has "PLEXPATH =" as the correct path. setup_helper.py will tell you the correct setting for PLEXPATH.

I also then went to my unraid docker and edited it,

Plex Library - needs to be the ROOT of the movies folder as an example: "/mnt/user/Plex/Movies/" & this is linked to the "MOUNTEDPATH" in the config.ini, so make sure that stays /films.

Those were my edits that fixed the could not be created error for me.

EDIT:

If you take a look at this image of the unraid docker, when you edit Plex Library within the docker it shows you that /films is the container path.

https://drive.google.com/file/d/1jpBA-TwAYvWNk9v5u-Q2tc-jgOg2X8bu/view?usp=sharing

foordy08 commented 3 years ago

@Turbo123T3 Top man, not OP but managed to get this working with your notes. I think the ReadMe could do with some work

jkirkcaldy commented 3 years ago

Had a busy weekend but the Readme/wiki is on the list of things to add over the coming days.

ados8 commented 3 years ago

I could not get it to work, spent number of hours troubleshooting. I'm not a beginner with Linux or Docker but I hit a wall. What did "work" for me was getting the latest update which allows for setting false on saving artwork and no more errors.

jkirkcaldy commented 3 years ago

That usually means that you don’t have write permission on the Plex media folder or the script can’t see it properly.

On Aug 7, 2021 at 7:52 am, <ados8 @.***)> wrote:

I could not get it to work, spent number of hours troubleshooting. I'm not a beginner with Linux or Docker but I hit a wall. What did "work" for me was getting the latest update which allows for setting false on saving artwork and no more errors.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://github.com/jkirkcaldy/plex-utills/issues/22#issuecomment-894615253), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AGHDXIC7FBELFGCFICLG6WDT3TJ2FANCNFSM5BK3JDZA).

ados8 commented 3 years ago

That usually means that you don’t have write permission on the Plex media folder or the script can’t see it properly. On Aug 7, 2021 at 7:52 am, <ados8 @.***)> wrote: I could not get it to work, spent number of hours troubleshooting. I'm not a beginner with Linux or Docker but I hit a wall. What did "work" for me was getting the latest update which allows for setting false on saving artwork and no more errors. — You are receiving this because you commented. Reply to this email directly, view it on GitHub (#22 (comment)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AGHDXIC7FBELFGCFICLG6WDT3TJ2FANCNFSM5BK3JDZA).

Don't think so, script errors for each folder/file patch within movies and I even set everything to 777

Turbo123T3 commented 3 years ago

I updated the docker today and had some issues similar to this again. I set the docker to "bridge" under the docker settings in unraid and used my internal server IP for Plex instead of the external.

PLEX_URL = http://192.168.**.***:32400

ados8 commented 3 years ago

I updated the docker today and had some issues similar to this again. I set the docker to "bridge" under the docker settings in unraid and used my internal server IP for Plex instead of the external.

PLEX_URL = http://192.168.**.***:32400

Not sure why you would use your external Plex address. Author might want to set bridge by default for Docker to not trip up people that are less familiar with network routing.

rowdya22 commented 3 years ago

I'm having the same issue here. Any solid fix? I'm new to docker and struggling.

ados8 commented 3 years ago

I'm having the same issue here. Any solid fix? I'm new to docker and struggling.

You can fix this by simply updating to the latest version which contains an override switch to disable the caching which was the only solution for me using docker.

rowdya22 commented 3 years ago

Update docker? I'm running v 20.10.8 which is the latest. I also snagged the project files using the provided docker command earlier today so I don't know what else there is to update. Also if someone could clarify if I have the config right that would be super helpful....

PLEX_URL = http://DOMAIN.com:32400
TOKEN = <REMOVED>
FILMSLIBRARY = 4K Movies
PLEXPATH = /home/Plex/4K Movies
MOUNTEDPATH = /4K Movies
ados8 commented 3 years ago

Did you backup the config file and then import you settings to the new config because it seems you are missing data in the post.

[OPTIONS]

POSTER_BU = false <------------------------------------ you need to set this one to false

4k_hdr_posters = true mini_4k = false HDR_BANNER = TRUE

3D_posters = false mini_3D = false

Disney = false Pixar = false hide_4k = false

rowdya22 commented 3 years ago

Thanks. That was the missing piece. It's working now! I don't suppose you could let me know how to adjust the timezone? I know it's off topic but I've tried a bunch of stuff I've seen online and none of it works.

ados8 commented 3 years ago

Thanks. That was the missing piece. It's working now! I don't suppose you could let me know how to adjust the timezone? I know it's off topic but I've tried a bunch of stuff I've seen online and none of it works.

No worries, glad you have it working. Happy to help but you also need to help me, what system Windows, Linux, FreeNAS, UNRAID 😉

rowdya22 commented 3 years ago

Happy to help but you also need to help me, what system Windows, Linux, FreeNAS, UNRAID 😉

Thanks! I'm running docker in Debian Linux. Learning as I go. I tried to use the TZ method but tzdata isn't installed in the container so I did the docker exec -it plex-utills /bin/bash and then date +%T -s "14:00:00" but got errors "date: cannot set date: Operation not permitted" so I gave up and am just living with the discrepancy. Still it would be nice to know a workable way to adjust it.

Aireezz commented 2 years ago

Did you backup the config file and then import you settings to the new config because it seems you are missing data in the post.

[OPTIONS]

POSTER_BU = false <------------------------------------ you need to set this one to false

4k_hdr_posters = true mini_4k = false HDR_BANNER = TRUE

3D_posters = false mini_3D = false

Disney = false Pixar = false hide_4k = false

Thank you! Was slowly working my down down this thread and this is what solved mine.

jkirkcaldy commented 2 years ago

The Next version should be much easier to configure.

There is also the ability to restore posters from themoviedb so backups should generally not be required unless you like to curate your poster art.