#Kometa Stuck in a loop
1 messages ยท Page 1 of 1 (latest)
Welcome @tawdry mist!
It looks like you have not yet completed the id:customize section of our Discord server, this will allow us to help you quicker.
Someone from <@&938443185347244033> will assist when they're available.
Including meta.log from the beginning is a huge help. Type !logs for more information.
After attaching your log, do not forget to hit the green check boxes when prompted by our bot.
You can press the "Close Post" button above or type /close at any time to close this post.
can you just drag and drop the meta.log into this thread please and then answer yes (green check) to both prompts?
we can get the redacted config from the meta.log
pastebin for logs is incomplete... hence the drag and drop into discord please
๐ If you want to review this again, monologu:
: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> ๐
๐ฌ๐ก๏ธ PLEX DB CACHE ADVICE
Consider updating the Plex DB cache setting from 0.04 GB, to a value greater than 1 GB based on the total memory of 16.00 GB.
Setting db_cache: 1024 within the plex settings in your config.yml is effectively 1024MB which is 1GB. For more info on this setting: https://kometa.wiki/en/latest/config/plex#plex-attributes
NOTE:The number you choose can vary wildly based on a number of factors (such as the size and number of libraries, and the amount of files/operations/overlays that are being utilized).
ok. so it looks like you have some things going on in your setup as per the luma bot
are you running this via docker compose?
yes, compose
can you share that please
one moment
i think you might be using a restart line in that and this is causing the loop
sorry.. I am tired... so I would also like to know how you are running kometa... was this a manual run that you did? Or was this from a scheduled run
kometa:
image: kometateam/kometa:latest
container_name: kometa
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- KOMETA_CONFIG=/config/config.yml
- KOMETA_TIME=03:00
- KOMETA_RUN=True
- KOMETA_TEST=False
- KOMETA_NO_MISSING=False
volumes:
- ${DOCKERCONFDIR}/kometa:/config
I just launched the container with Kometa_run as true
and that was about it, besides the config
ok. so the kometa_time is best to be set OUTSIDE of the plex maintenance peried whcih is 3-5am
I would not use the -KOMETA_RUN=True here
i suspect that the container stops and then there is a restart if stopped and the container loops endlessly
kometa:
image: kometateam/kometa:latest
container_name: kometa
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- KOMETA_CONFIG=/config/config.yml
- KOMETA_TIME=05:00
- KOMETA_TEST=False
- KOMETA_NO_MISSING=False
volumes:
- ${DOCKERCONFDIR}/kometa:/config
Ok, one moment to reconfigure it
Also, is there a way to configure kometa overlays to run every time media is being added ?
also a path issue to fonts and a tautulli issue to resolve. So if you flip through the pages from luma above, you can see how to resolve those issues.
this is currently technically not possible
there are reasons for it and I can explain if you'd like....
at lest a short version, if it is not a big issue
ok, will check it out, but tautulli is already in the config file
so short version.... taking an overlay like imdb top 250, we don't know where it falls into the whole scheme of things without running a full overlay run agains the whole library. if something falls off the list, we would not know and if something just made the list we dont know...
tautulli url is in there, but as the bot is showing... not working
maybe a bad url or bad apikey?
or maybe a docker network issue where the kometa and tautulliu containers cannot "see" each other?
does it care about base URLs ?
mine looks like this:
tautulli: # Can be individually specified per library as well
url: http://192.168.2.242:8181
apikey: 635(redacted)af789
tautulli:
url: http://10.1.10.254:8181
apikey: ea451c5(redacted)d05abc3b7
Same as here ๐
seems like then you'd want to exec into the kometa container and try to ping that IP
i suspect that your container is not able to reach the tautulli container from Kometa container
alternatively, as the logs show, go to the lines reported and see what it says there?
Ok, will do so, would it be an option to also use the docker internal netowork with container hostnames ?
i have seen people do that... yes
again... this is outside of the scope of kometa itself, but people around here are better versed than me in docker
all my *arr + plex are on the same "backend" network so I beleve that should be fine, I will implement the luma recommended fixes, rerun kometa and then see if I have any more issues.
fair enough. we are here to assist
By default, the the scripts do not execute at container startup ?
by default, Kometa runs at 5am
Is there a way to manually force an execution ?
are you running with docker compose?
yes
KOMETA_RUN=true as an env variable
๐ If you want to review this again, monologu:
: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> ๐
Ok, so container hostnames did not work... bummer
ok, now I am back to the looping issue
๐ If you want to review this again, monologu:
: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> ๐
๐ฌ CONVERT WARNING
Convert Warning: No * ID Found for * ID.
These sorts of errors indicate that the thing can't be cross-referenced between sites. For example:
Convert Warning: No TVDb ID Found for TMDb ID: 15733
In the above scenario, the TMDB record for The Two Mrs. Grenvilles ID 15733 didn't contain a TVDB ID. This could be because the record just hasn't been updated, or because The Two Mrs. Grenvilles isn't listed on TVDB.
The fix is for someone like you, perhaps to go to the relevant site and fill in the missing data.
For more information on handling these, [https://kometa.wiki/en/latest/kometa/logs/#warning]
136 line(s) with Convert Warnings. Line number(s): 1068, 2009-2014, 14288-14303, 14918-14923, 15045-15060, 15104-15139, 15183-15184, 15228, 15808-15843, 16111-16126
Not sure what I am doing wrong here, is is because of KOMETA_RUN=true ?
sounds like you have a restart policy
in compose nope
this is my compose
but in my kometa config, i have this ```yaml
tautulli: # Can be individually specified per library as well
url: http://tautulli:8181
apikey: 8qPp-i3{redacted}N9TCx
I have fixed that part, I changed to http://10.1.10.254:8181/tautulli for the URL
i don't use the time and run at the same time
Hmm, that might be an issue I suppose then. But hey, this means that I am getting updates non stop ๐
so do you want it to loop or not?
That is not how it's suppoed to work so, to skip any potential further issues I will revert to one time per day
or you could add a restart policy and say never. and then comment out the time and just use the kometa_run=true
And if I only specify kometa_run then the execution time will still be 5am ?
now that I have commented out the time and set restart to no in compose nope, looks like it executed once and stopped
๐ If you want to review this again, monologu:
: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> ๐
โ [ERROR]
Error messages found in your attached log.
There is a very strong likelihood that Kometa did not complete all of what you wanted. Some [ERROR] lines can be ignored.
For more information on handling these, [https://kometa.wiki/en/latest/kometa/logs/?h=[error]#error]
64 line(s) with [ERROR] messages. Line number(s): 4252, 4340, 4428, 4516, 4604, 4692, 4780, 4868, 4956, 5044, 5132, 5220, 5308, 5396, 5484, 5572, 5660, 5748, 8993, 9078, 9163, 9248, 9333, 9418, 9503, 9588, 9673, 9758, 9843, 9928, 10013, 10098, 10183, 10268, 10353, 10438, 14314, 20288, 20373, 20458, 20543, 20628, 20713, 20798, 20883, 20968, 21053, 21138, 21223, 21308, 21393, 21478, 21563, 21648, 21733, 24567, 24613, 24659, 24705, 24751, 24797, 24843, 24889, 24935
don't need a log for that
That was for myself ๐ To see if there are other issues I should fix
if you want it to run at a specified time, then remove the run and add the specified time, but you can't do both from the same container
and in that case you would do the time and then set your restart to unless_stopped
I also see that I have some collections which are empty, how can I avoid them to be created ?
minimum_items: 1 or whatever you want it to be in your config settings
minimum_items: 1
delete_below_minimum: true
Already have this in the settings
were those collections created by plex and not Kometa?
That is a good question to be honest, I have no idea as I never looked into collections before using kometa, I will manually delete them, run kometa and see if they appear back
Also, is there a way to supress errors for quality types the script is unabel to find as my media is only 1080p or 4k ?
yes but not in the way you think
exactly what antwan said
by avoiding resolutions that are not in your library, you avoid the errors
but if ever you add a resolution that is not 4k or 1080p, the overlay wont show either
but that means, if you do have something with that resolution, it won't be caught because kometa isn't looking for it
So I basically configure it to not look at all for those resolutions, ok, sounds good, how ?
libraries:
Movies:
overlay_files:
- default: resolution
template_variables:
use_720p: false
etc.
is there a list of all possible resolutions kometa scans for ?
The wiki page for each default file shows specifically what it does.
ok, thanks
recommend taking a look at the wiki
Some don't have a fixed list, like genres
I am but there are so many bits and pieces... damn
that's how we learn
If you have constructive suggestions on ways it could be made more accessible, bring them on.
!afnh
Anything further needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.