• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Trackt sync conflicts

     
    • 0 Vote(s) - 0 Average

    Trackt sync conflicts

    trakt sync 409 (Conflict).
    Jaasonn
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #1
    2024-10-14, 06:30 PM
    I'm pretty new to jellyfin from plex and i installed the track plugin and linked it to my account, but I'm getting conflict and exceptions showing in the logs. I can't find for the life of me what show or movie is causing the conflict. I've went thru the logs and even pasted then in chatGPT, but still struggling. Is there another place that might show what the conflict is or specific plugin logs? I would be forever grateful if anyone could point me how to fix?

    Server Linux Mint Mate 22
    Jellyfin 10.9.11
    Web version
    10.9.11
    Build version
    10.9.11


    [2024-10-14 13:06:41.743 -04:00] [ERR] Exception handled in PostToTrakt
    System.Net.Http.HttpRequestException: Response status code does not indicate success: 409 (Conflict).
      at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
      at Trakt.Api.TraktApi.PostToTrakt[T](String url, Object data, TraktUser traktUser, CancellationToken cancellationToken)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options)
    [2024-10-14 13:06:41.750 -04:00] [ERR] Exception occurred while sending a playback status update to trakt.tv for user "plex2".
    System.Net.Http.HttpRequestException: Response status code does not indicate success: 409 (Conflict).
      at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
      at Trakt.Api.TraktApi.PostToTrakt[T](String url, Object data, TraktUser traktUser, CancellationToken cancellationToken)
      at Trakt.Api.TraktApi.SendEpisodeStatusUpdateAsync(Episode episode, MediaStatus mediaStatus, TraktUser traktUser, Single progressPercent, Boolean useProviderIds)
      at Trakt.ServerMediator.KernelPlaybackStopped(Object sender, PlaybackStopEventArgs playbackStoppedEventArgs)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-15, 12:57 AM (This post was last modified: 2024-10-15, 12:57 AM by TheDreadPirate.)
    Can you share the full log so we have some context? I can't find much info from trakt regarding what to do about 409's.

    Code:
    exceptiontrakt.errors.ConflictException
    Bases: trakt.errors.TraktException

    TraktException type to be raised when a 409 return code is received

    http_code= 409
    message= 'Conflict - resource already created'
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Jaasonn
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #3
    2024-10-16, 02:10 AM
    Here’s your revised message with WRN in bold:

    Hi! Thank you so much for the reply! I know enough about computers and software to be dangerous, so I want to apologize up front. I ended up starting Jellyfin over from scratch and doing a full Trakt import. It looks like that took care of the Trakt errors, but I am still having a problem with shows not showing the "Next Up" feature or showing up for one minute and then disappearing. I don't know what I might have screwed up that redoing everything couldn’t fix, but any help would be greatly appreciated.

    Here are my logs: here are my logs. They are mainly full of trickplay at the moment, so I'm not sure if they will be helpful till that's done.

    I'm seeing this WRN message, and I remember seeing it before the reinstall. Could it have anything to do with the issue?
    Code:
    [2024-10-15 18:43:35.012 -04:00] [WRN] [22] Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware: The WebRootPath was not found: "/var/lib/jellyfin/wwwroot". Static files may be unavailable.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-10-16, 04:31 PM
    That warning message can be ignored.

    As for "Next Up", I don't use Trakt myself so I don't have any experience with it. I've seen some users have this issue, but I don't recall if anyone fixed it.

    I will look around past threads for Trakt to see if I am forgetting anything.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-10-16, 09:10 PM
    Do you happen to be using NFOs for metadata?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Jaasonn
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #6
    2024-10-17, 05:02 AM
    You guys are awesome at responding so thank you for that! I had NFO files for every show and season, so I deleted them all using a terminal command and refreshed everything. This fixed the issue of shows appearing in the "Next Up" sections of both the Infuse and Jellyfin apps. However, when I check "Next Up" on the web interface, it just shows as loading forever. Occasionally, it loads a handful of shows that look correct, but it displays "0-0 of 0" for some reason, so it seems I still have something configured incorrectly. Any ideas?

    I'm not sure how to post all the logs here, and Pastebin only allows so much, so if there's a better way to share, let me know. Here's a Dropbox link to the logs: [here is a link](https://www.dropbox.com/scl/fi/3ujwrk3ve...ln2q4&dl=1)


    I am seeing a lot of these errors below that could be realated? It looks like all shows are doing it. It's all a bit confusing to me.
    Code:
    2024-10-16 02:49:35.499 -04:00] [INF] [29] Emby.Server.Implementations.Library.LibraryManager: Validating media library
    [2024-10-16 02:49:35.512 -04:00] [WRN] [29] MediaBrowser.Controller.Entities.BaseItem: Library folder "/var/lib/jellyfin/data/playlists" is inaccessible or empty, skipping
    [2024-10-16 02:49:35.543 -04:00] [ERR] [12] Emby.Server.Implementations.Library.LibraryManager: Cannot compute blurhash for "/media/plex2/Elements/plex/Nancy Drew (2019)/Season 1/Nancy Drew (2019) - S01E01 - Pilot Bluray-1080p Remux-thumb.jpg

    Code:
    [2024-10-16 04:28:12.374 -04:00] [ERR] [60] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
    [2024-10-16 04:28:14.525 -04:00] [ERR] [60] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".
    [2024-10-16 04:29:08.924 -04:00] [INF] [60] Jellyfin.Server.Implementations.Trickplay.TrickplayManager: Finished creation of trickplay files for "/media/plex2/Elements/plex/American Horror Story/Season 11/American Horror Story - S11E08 - Fire Island WEBDL-1080p.mkv"
    [

    Code:
    [2024-10-16 04:51:26.529 -04:00] [ERR] [36] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request: "Unexpected end of request content". URL "POST" "/Sessions/Playing/Progress".

    Let me know if if theres anything else I can do when you can and thanks again?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-10-17, 02:44 PM (This post was last modified: 2024-10-17, 02:45 PM by TheDreadPirate. Edited 2 times in total.)
    Technically you didn't need to delete your NFOs. They can be used with Trakt, as long as you don't have this setting enabled.

    Go to Dashboard > Library > NFO Settings > Save user watch data to NFO files for:

    Make sure that is none. You would also need to make sure that existing NFOs are scrubbed of these lines. They would be in each episode's NFO.

    Code:
    <watched>false</watched>
      <lastplayed>2024-10-17 14:43:19</lastplayed>
      <resume>
        <position>665.459</position>
        <total>1340.032</total>
      </resume>

    What I suspect is happening is that you either have this NFO setting enabled to save watch status to NFOs, or they were already present, and Jellyfin doesn't have sufficient permissions to write to your NFOs with updates.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Jaasonn
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #8
    2024-10-17, 09:11 PM
    OMG yes! This is exactly what fixed everything! I scrubbed all of the NFO files based on what you suggested and rescanned/refreshed, and it's working great again. Holy wow, thank you!

    There is this WRN log (which isn’t affecting anything noticeable) but it is new. I ran it through ChatGPT, and it suggests setting an explicit value for
    Code:
    QuerySplittingBehavior
    . Whatever that means, I think the rule, if it ain't broke, don't fix it might apply here?

    Code:
    [2024-10-17 16:27:06.560 -04:00] [WRN] [45] Microsoft.EntityFrameworkCore.Query: Compiling a query which loads related collections for more than one collection navigation, either via 'Include' or through projection, but no 'QuerySplittingBehavior' has been configured. By default, Entity Framework will use 'QuerySplittingBehavior.SingleQuery', which can potentially result in slow query performance. See https://go.microsoft.com/fwlink/?linkid=2134277 for more information. To identify the query that's triggering this warning call 'ConfigureWarnings(w => w.Throw(RelationalEventId.MultipleCollectionIncludeWarning))'.

    Again though, thank you, thank you, THANK YOU! I can shut down Plex now, which was my original agenda.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #9
    2024-10-17, 10:06 PM
    I'm assuming there might be an XML tag in one or more NFOs that isn't closed or something.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Jaasonn
    Offline

    Junior Member

    Posts: 7
    Threads: 1
    Joined: 2024 Sep
    Reputation: 0
    Country:United States
    #10
    2024-10-21, 03:40 AM
    (2024-10-17, 10:06 PM)TheDreadPirate Wrote: I'm assuming there might be an XML tag in one or more NFOs that isn't closed or something.

    Just wanted to say thanks again. Very much appreciated
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode