Jellyfin Forum
SOLVED: Jellyfin repeatedly not detecting all media and deleting cache - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Jellyfin repeatedly not detecting all media and deleting cache (/t-solved-jellyfin-repeatedly-not-detecting-all-media-and-deleting-cache)



Jellyfin repeatedly not detecting all media and deleting cache - TranceState - 2023-11-04

I have this repeating issue where Jellyfin is seemingly removing all cached copies of my media. When this happens, here's what my Jellyfin dashboard looks like:

[Image: upTLobT.png]

Doing a refresh of metadata and using any available options doesn't work and Jellyfin doesn't pick up any of my media. Here's my environment:

Jellyfin version: 10.8.11
Docker container using image jellyfin/jellyfin
Host server: Debian 12
Storage: NAS mounted by NFS at startup
Additional: My server does power off daily at 4am and then powers back on at 9am (mounting the NFS in fstab). NFS storage is available at all times while the host is online.

I've had this issue happen a few times in the past, but it would happen on average once every few months. The only solution I have found is to remove the Jellyfin container, pull a new container, and then refresh metadata, at this point Jellyfin recognises my media and populates the cache directory and retrieves metadata. I was fine dealing with this as it only happened once every few months.

In the last week, I have reinstalled OS on my host server (went from Ubuntu 22.04 LTS previously to Debian 12 now), installed Docker, and then copied over the cache and config directories from my old server to the new and then continued using Jellyfin on my new server which picked up where I was on my old server jsut fine and worked okay for a day or two. Since then, this issue is now happening again but now it's almost daily. Same thing where the only way I can seemingly get Jellyfin to pick up the media is to destroy container and start a new one.

I've attached logs, hopefully these are of use. Does anybody have any idea on what is causing this?


RE: Jellyfin repeatedly not detecting all media and deleting cache - bitmap - 2023-11-04

I'll try to take a look at your logs, but my guess is this happens due to a race condition between Jellyfin and your NFS mounts. If the container starts before the NAS shares are mounted, the volumes you mounted in the container are essentially empty. When Jellyfin scans, it can't find the media. Even re-mounting the shares didn't fix the problem for me, I had to scrap the container, just as you've described.


RE: Jellyfin repeatedly not detecting all media and deleting cache - TranceState - 2023-11-04

(2023-11-04, 05:33 PM)bitmap Wrote: I'll try to take a look at your logs, but my guess is this happens due to a race condition between Jellyfin and your NFS mounts. If the container starts before the NAS shares are mounted, the volumes you mounted in the container are essentially empty. When Jellyfin scans, it can't find the media. Even re-mounting the shares didn't fix the problem for me, I had to scrap the container, just as you've described.

Interesting, I hadn't thought of that possibility. I guess I could try adding a delay to the docker services to give fstab time to mount the NFS storage. Will give this a shot and see if the issue comes up again, thanks!


RE: Jellyfin repeatedly not detecting all media and deleting cache - TranceState - 2023-11-05

Unfortunately this issue has happened again. Yesterday I added a requirement for the docker services so they don't start until the NAS mounts are available. I did a reboot to test and this seemed to work, everything was fine. However I check it this morning and all media items have been removed. I'm fairly sure everyuthing was okay around 10PM last night, so this has happened sometime between then and 10AM today. I've had a look at the logs from last night and noticed around 23:11 it says a lot of items are being removed and then a lot of errors about being "Unable to find linked item at path". I've included a snippet of the logs below:

Code:
[2023-11-04 23:11:45.473 +00:00] [INF] [37] Emby.Server.Implementations.ScheduledTasks.TaskManager: "IntervalTrigger" fired for task: "Scan Media Library"
[2023-11-04 23:11:45.473 +00:00] [INF] [37] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "RefreshMediaLibraryTask"
[2023-11-04 23:11:45.473 +00:00] [INF] [37] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Scan Media Library"
[2023-11-04 23:11:45.481 +00:00] [INF] [37] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/Movies"
[2023-11-04 23:11:45.481 +00:00] [INF] [37] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/TV"
[2023-11-04 23:11:45.481 +00:00] [INF] [37] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/TV-Temp"
[2023-11-04 23:11:45.481 +00:00] [INF] [37] Emby.Server.Implementations.IO.LibraryMonitor: Stopping directory watching for path "/Movies-4K"
[2023-11-04 23:11:45.483 +00:00] [INF] [37] Emby.Server.Implementations.Library.LibraryManager: Validating media library
[2023-11-04 23:11:45.745 +00:00] [INF] [37] Emby.Drawing.ImageProcessor: Creating image collage and saving to "/cache/temp/882382d81edc48059149b6e09fbdae19.png"
[2023-11-04 23:11:45.833 +00:00] [INF] [37] Emby.Drawing.ImageProcessor: Completed creation of image collage and saved to "/cache/temp/882382d81edc48059149b6e09fbdae19.png"
[2023-11-04 23:11:45.972 +00:00] [INF] [21] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Star Trek: Deep Space Nine", Path: "/TV-Temp/Star Trek Deep Space Nine", Id: b2a86bbc-1f8e-0d17-08e7-344b6cb5097c
[2023-11-04 23:11:45.972 +00:00] [INF] [55] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Action", Path: "/Movies-4K/Action", Id: e2a0ae9a-7b38-21f5-5830-61199c943f23
[2023-11-04 23:11:45.972 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Band of Brothers", Path: "/TV/Band of Brothers (2001)", Id: 79d75f00-99b0-3037-f453-24bc4a83391f
[2023-11-04 23:11:45.981 +00:00] [INF] [54] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Action", Path: "/Movies/Action", Id: fd33bf3a-d6e2-132d-73a2-28a7342ce15d
[2023-11-04 23:11:46.230 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "True Detective", Path: "/TV/True Detective (2014)", Id: 88efe366-8451-62ad-c7e4-ed0a8742e3a3
[2023-11-04 23:11:49.905 +00:00] [INF] [55] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Comedy", Path: "/Movies-4K/Comedy", Id: 42b8868c-2832-20be-aea0-fc623554b721
[2023-11-04 23:11:53.310 +00:00] [INF] [54] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Drama", Path: "/Movies/Drama", Id: 25d26b57-7814-26a1-7efb-9ee6393c574a
[2023-11-04 23:11:54.983 +00:00] [INF] [55] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Animated", Path: "/Movies-4K/Animated", Id: 21dc6206-1ee8-d583-0d2e-68bff987e1b4
[2023-11-04 23:11:55.565 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "House of the Dragon", Path: "/TV/House of the Dragon (2022)", Id: eff01609-a0ef-6023-924e-9df6a122436c
[2023-11-04 23:11:56.999 +00:00] [INF] [55] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "War", Path: "/Movies-4K/War", Id: 2072374f-14df-a77d-68c1-1d794fcc6b34
[2023-11-04 23:11:57.968 +00:00] [INF] [54] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Western", Path: "/Movies/Western", Id: 5efb4393-642f-b1ae-5565-83a337fc7004
[2023-11-04 23:11:58.496 +00:00] [INF] [55] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Western", Path: "/Movies-4K/Western", Id: 795cab4c-cb2d-e4c9-0700-56be3d132dbe
[2023-11-04 23:11:58.582 +00:00] [INF] [54] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Comedy", Path: "/Movies/Comedy", Id: 8b1ae773-2364-8cf5-c0de-37646341519e
[2023-11-04 23:11:58.782 +00:00] [INF] [55] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Thriller", Path: "/Movies-4K/Thriller", Id: 86da59f3-1252-8657-3399-05fac3621884
[2023-11-04 23:11:59.000 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Chernobyl", Path: "/TV/Chernobyl (2019)", Id: f91e2f72-4ed8-f604-ab02-0820a8c46bc3
[2023-11-04 23:11:59.146 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Star Wars: The Clone Wars", Path: "/TV/Star Wars The Clone Wars (2008)", Id: be967cd3-b88c-36ee-de98-76c0477d4692
[2023-11-04 23:12:00.762 +00:00] [INF] [54] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Thriller", Path: "/Movies/Thriller", Id: 59906aab-51ae-b8ed-6dfe-be878c74d0c5
[2023-11-04 23:12:01.430 +00:00] [INF] [55] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Drama", Path: "/Movies-4K/Drama", Id: 8845e938-a222-8bb0-03b5-b12ca93843ad
[2023-11-04 23:12:02.166 +00:00] [INF] [54] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "War", Path: "/Movies/War", Id: 7c1f7d13-4cb7-0382-141e-ed36dd737793
[2023-11-04 23:12:04.836 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Game of Thrones", Path: "/TV/Game of Thrones (2011)", Id: b6449445-9525-bea2-e06e-1ccec75a46dc
[2023-11-04 23:12:07.160 +00:00] [INF] [55] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Adventure", Path: "/Movies-4K/Adventure", Id: 26170872-f91c-3c3d-382a-0e33ede0065b
[2023-11-04 23:12:07.309 +00:00] [INF] [54] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Adventure", Path: "/Movies/Adventure", Id: ae6ad761-b75a-b406-f204-afce9edadf15
[2023-11-04 23:12:09.279 +00:00] [INF] [55] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Superhero", Path: "/Movies-4K/Superhero", Id: c374f51c-0c01-80e2-31c4-49ea625a4e49
[2023-11-04 23:12:09.613 +00:00] [INF] [54] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Animated", Path: "/Movies/Animated", Id: bfa80b91-4e83-ebe9-db2a-4a7f912ffdba
[2023-11-04 23:12:11.645 +00:00] [INF] [55] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Crime", Path: "/Movies-4K/Crime", Id: 3c659b19-5d3f-bb4e-ed25-accaeedd5322
[2023-11-04 23:12:12.150 +00:00] [INF] [54] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Superhero", Path: "/Movies/Superhero", Id: 7f3d0bca-8dce-54bb-42b0-f74a5ce0f9af
[2023-11-04 23:12:14.115 +00:00] [INF] [55] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Sci-Fi", Path: "/Movies-4K/Sci-Fi", Id: 7a8ea127-8311-e6a1-cf52-633ba012128e
[2023-11-04 23:12:14.145 +00:00] [INF] [54] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Crime", Path: "/Movies/Crime", Id: 3dbba2a6-da98-110a-cd6e-906dae33649c
[2023-11-04 23:12:14.847 +00:00] [INF] [61] Trakt.Helpers.LibraryManagerEventsHelper: Timer elapsed - processing queued items
[2023-11-04 23:12:14.847 +00:00] [INF] [61] Trakt.Helpers.LibraryManagerEventsHelper: No events... stopping queue timer
[2023-11-04 23:12:16.381 +00:00] [INF] [54] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Folder", Name: "Sci-Fi", Path: "/Movies/Sci-Fi", Id: ce141477-15fa-ee56-d81a-d2f865ac2597
[2023-11-04 23:12:18.201 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Community", Path: "/TV/Community (2009)", Id: 94bf90bc-c083-df6e-56ce-9d035cbf5c64
[2023-11-04 23:12:20.668 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Hawkeye", Path: "/TV/Hawkeye (2021)", Id: a1a09099-6380-214d-66a7-04766c6245d5
[2023-11-04 23:12:20.848 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "She-Hulk: Attorney at Law", Path: "/TV/She-Hulk Attorney at Law (2022)", Id: b6de6317-4f75-5231-7ebf-d0c23cdd9e67
[2023-11-04 23:12:21.085 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Star Wars: The Bad Batch", Path: "/TV/Star Wars The Bad Batch (2021)", Id: d494955f-f47d-ba36-8425-9a2915e5a569
[2023-11-04 23:12:21.708 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Star Wars Rebels", Path: "/TV/Star Wars Rebels (2014)", Id: d3e5677c-e2ba-2711-20dd-42d412c59d3e
[2023-11-04 23:12:23.176 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "The Falcon and the Winter Soldier", Path: "/TV/The Falcon and the Winter Soldier (2021)", Id: 2115c1a7-99cf-9c15-ada2-1cd9ef394298
[2023-11-04 23:12:23.364 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Obi-Wan Kenobi", Path: "/TV/Obi-Wan Kenobi (2022)", Id: ae17a1a4-2c1a-4bd2-4bf4-9ca79458d3ef
[2023-11-04 23:12:23.533 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Ms. Marvel", Path: "/TV/Ms. Marvel (2022)", Id: 2defcce3-91ce-de22-770d-8f2889403f85
[2023-11-04 23:12:23.714 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "The Shield", Path: "/TV/The Shield (2002)", Id: cd6cb2de-53fe-cf9e-23a0-a15c64cf7883
[2023-11-04 23:12:25.858 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "What If...?", Path: "/TV/What If (2021)", Id: 48470055-5edf-8925-8b16-29a0243dee06
[2023-11-04 23:12:26.093 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "The Inbetweeners", Path: "/TV/The Inbetweeners (2008)", Id: e94597b5-19df-677a-6967-64a8443c5e22
[2023-11-04 23:12:26.520 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Loki", Path: "/TV/Loki (2021)", Id: 036a720f-1dd2-0893-eb6d-fd001e8fe6b0
[2023-11-04 23:12:26.836 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Star Wars: Andor", Path: "/TV/Andor (2022)", Id: ce6fae25-1d56-7e25-4815-a636bae52109
[2023-11-04 23:12:27.157 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Friends", Path: "/TV/Friends (1994)", Id: 10785c66-b963-2179-5496-c2a46bbb812f
[2023-11-04 23:12:32.142 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "The Lord of the Rings: The Rings of Power", Path: "/TV/The Lord of the Rings The Rings of Power (2022)", Id: 420dbf85-a582-269f-3a9d-48e77001da86
[2023-11-04 23:12:32.376 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Star Wars: Tales of the Jedi", Path: "/TV/Tales of the Jedi (2022)", Id: 8ea1b7b1-4c34-01e9-b721-d44f25355091
[2023-11-04 23:12:32.531 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Entourage", Path: "/TV/Entourage (2004)", Id: b11c2ae8-5d6c-7ae3-1362-b393c4668076
[2023-11-04 23:12:34.659 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Jackass", Path: "/TV/Jackass (2000)", Id: 2c5c620c-fb5b-ed84-5f23-0d1467537b26
[2023-11-04 23:12:35.277 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Doom Patrol", Path: "/TV/Doom Patrol", Id: 7a9533e6-5373-665d-391b-0bbf231da978
[2023-11-04 23:12:35.419 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "The Last of Us", Path: "/TV/The Last of Us (2023)", Id: b3b2c9f3-7d80-da16-0b5c-a4c81104a5d8
[2023-11-04 23:12:35.648 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "The Mandalorian", Path: "/TV/The Mandalorian (2019)", Id: 6e02c712-c98a-f034-923b-78bf190a42bc
[2023-11-04 23:12:36.223 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Deadwood", Path: "/TV/Deadwood (2004)", Id: e937e571-d888-280d-1433-1989933bacc5
[2023-11-04 23:12:37.125 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Breaking Bad", Path: "/TV/Breaking Bad (2008)", Id: eb54187b-d1ea-b5ec-862e-76b24a309af7
[2023-11-04 23:12:38.642 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "The Book of Boba Fett", Path: "/TV/The Book of Boba Fett (2021)", Id: bdaa9945-1b8d-faf5-c4ca-75900443fded
[2023-11-04 23:12:38.841 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "WandaVision", Path: "/TV/WandaVision (2021)", Id: f6febee7-c2fb-00c9-a92f-d34ad2704735
[2023-11-04 23:12:39.081 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Moon Knight", Path: "/TV/Moon Knight (2022)", Id: c3ae8dfe-cc70-c5c4-9b8e-e1a12bbf4c58
[2023-11-04 23:12:39.268 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "The Outsider", Path: "/TV/The Outsider (2020)", Id: f265b591-cebd-1325-60bc-3e4dd9eb632a
[2023-11-04 23:12:39.539 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Ahsoka", Path: "/TV/Ahsoka (2023)", Id: 0971e2b3-7f3d-a3ec-254a-313d5e8bc29b
[2023-11-04 23:12:39.736 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Scrubs", Path: "/TV/Scrubs (2001)", Id: 6808b713-30c8-c0fb-1d85-2b71b5609d09
[2023-11-04 23:12:43.768 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Watchmen", Path: "/TV/Watchmen (2019)", Id: cb9bda09-0326-cba8-8ce3-4afd5cd1fdb9
[2023-11-04 23:12:44.012 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "The Pacific", Path: "/TV/The Pacific (2010)", Id: b3fff1f3-cff2-8ace-7fe6-a7930049c55a
[2023-11-04 23:12:44.282 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Star Wars: Visions", Path: "/TV/Star Wars Visions (2021)", Id: 87d597ac-ae95-7fb4-a18c-d79e690d0ad1
[2023-11-04 23:12:44.711 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Secret Invasion", Path: "/TV/Secret Invasion (2023)", Id: 31fc7bb0-f9f7-ac63-6c1a-dfeb1ab78cfd
[2023-11-04 23:12:44.895 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "The Fresh Prince of Bel-Air", Path: "/TV/The Fresh Prince of Bel-Air (1990)", Id: 65421866-2386-6cf1-92dd-3503f3412fba
[2023-11-04 23:12:48.187 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "Westworld", Path: "/TV/Westworld (2016)", Id: be20e977-ddf6-1585-c8f1-8dfaa35492e4
[2023-11-04 23:12:49.032 +00:00] [INF] [71] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: "Series", Name: "The Sopranos", Path: "/TV/The Sopranos (1999)", Id: 1a246e01-b238-cdff-9a31-a8c15d84f00b
[2023-11-04 23:12:51.036 +00:00] [WRN] [14] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies (4K)/Comedy/Ace Ventura Pet Detective (1994)/Ace Ventura Pet Detective.mkv"
[2023-11-04 23:12:51.036 +00:00] [WRN] [71] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies-4K/Comedy/Hot Fuzz (2007)/Hot Fuzz.mkv"
[2023-11-04 23:12:51.036 +00:00] [WRN] [52] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies (4K)/Comedy/21 Jump Street (2012)/21 Jump Street.mkv"
[2023-11-04 23:12:51.036 +00:00] [WRN] [79] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies (4K)/Superhero/Ant-Man (2015)/Ant-Man.mkv"
[2023-11-04 23:12:51.036 +00:00] [WRN] [21] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies-4K/Western/A Fistful of Dollars (1964)/A Fistful of Dollars.mkv"
[2023-11-04 23:12:51.037 +00:00] [WRN] [82] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies (4K)/Adventure/King Kong (2005)/King Kong.mkv"
[2023-11-04 23:12:51.037 +00:00] [WRN] [76] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies-4K/Thriller/Glass (2019)/Glass.mkv"
[2023-11-04 23:12:51.037 +00:00] [WRN] [26] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies-4K/Comedy/Hot Fuzz (2007)/Hot Fuzz.mkv"
[2023-11-04 23:12:51.037 +00:00] [WRN] [14] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies (4K)/Comedy/Ace Ventura When Nature Calls (1995)/Ace Ventura When Nature Calls.mkv"
[2023-11-04 23:12:51.038 +00:00] [WRN] [71] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies-4K/Comedy/The World's End (2013)/The World's End.mkv"
[2023-11-04 23:12:51.038 +00:00] [WRN] [52] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies (4K)/Comedy/22 Jump Street (2014)/22 Jump Street.mkv"
[2023-11-04 23:12:51.038 +00:00] [WRN] [79] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies (4K)/Superhero/Ant-Man and the Wasp (2018)/Ant-Man and the Wasp.mkv"
[2023-11-04 23:12:51.038 +00:00] [WRN] [21] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies-4K/Western/For a Few Dollars More (1965)/For a Few Dollars More.mkv"
[2023-11-04 23:12:51.038 +00:00] [WRN] [82] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies (4K)/Adventure/Kong Skull Island (2017)/Kong Skull Island.mkv"
[2023-11-04 23:12:51.039 +00:00] [WRN] [76] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies-4K/Thriller/Split (2016)/Split.mkv"
[2023-11-04 23:12:51.039 +00:00] [WRN] [26] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies-4K/Comedy/Shaun of the Dead (2004)/Shaun of the Dead.mkv"
[2023-11-04 23:12:51.039 +00:00] [WRN] [14] MediaBrowser.Controller.Entities.BaseItem: Unable to find linked item at path "/Movies-4K/Comedy/Ace Ventura Pet Detective (1994)/Ace Ventura Pet Detective.mkv"

And then today's logs don't seem to contain as much so I'm assuming whatever caused the activity at 23:11 last night is what is causing this.

Today's logs:

Code:
[2023-11-05 00:00:00.598 +00:00] [INF] [74] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Playback Reporting Trim Db" set to fire at 2023-11-06 00:00:00.000 +00:00, which is 23:59:59.4020089 from now.
[2023-11-05 00:23:55.082 +00:00] [INF] [11] Emby.Dlna.DlnaManager: No matching device profile found. The default will need to be used.
DeviceIdentification { FriendlyName: "KD-65XF7596", ModelNumber: "100", SerialNumber: null, ModelName: "MediaRenderer", ModelDescription: "Sony 2017 4K TV", ModelUrl: "", Manufacturer: "Sony Corporation", ManufacturerUrl: "http://www.sony.net/", Headers: [] }
[2023-11-05 00:23:55.088 +00:00] [INF] [11] Emby.Dlna.Main.DlnaEntryPoint: DLNA Session created for "KD-65XF7596" - "MediaRenderer"
[2023-11-05 00:24:18.830 +00:00] [ERR] [27] Emby.Dlna.Main.DlnaEntryPoint: Error creating PlayTo device.
System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorised).
  at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
  at Emby.Dlna.PlayTo.SsdpHttpClient.GetDataAsync(String url, CancellationToken cancellationToken)
  at Emby.Dlna.PlayTo.Device.CreateuPnpDeviceAsync(Uri url, IHttpClientFactory httpClientFactory, ILogger logger, CancellationToken cancellationToken)
  at Emby.Dlna.PlayTo.PlayToManager.AddDevice(UpnpDeviceInfo info, CancellationToken cancellationToken)
  at Emby.Dlna.PlayTo.PlayToManager.OnDeviceDiscoveryDeviceDiscovered(Object sender, GenericEventArgs`1 e)
[2023-11-05 01:51:09.917 +00:00] [INF] [22] Emby.Dlna.Main.DlnaEntryPoint: DLNA Session created for "[LG] webOS TV OLED65C14LB" - "LG TV"
[2023-11-05 01:59:59.590 +00:00] [INF] [95] Emby.Server.Implementations.ScheduledTasks.TaskManager: "DailyTrigger" fired for task: "Extract Chapter Images"
[2023-11-05 01:59:59.591 +00:00] [INF] [95] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "ChapterImagesTask"
[2023-11-05 01:59:59.591 +00:00] [INF] [92] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Extract Chapter Images"
[2023-11-05 01:59:59.632 +00:00] [INF] [92] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Extract Chapter Images" Completed after 0 minute(s) and 0 seconds
[2023-11-05 01:59:59.632 +00:00] [INF] [92] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2023-11-05 02:00:00.592 +00:00] [INF] [92] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Extract Chapter Images" set to fire at 2023-11-06 02:00:00.000 +00:00, which is 23:59:59.4077680 from now.
[2023-11-05 02:59:59.592 +00:00] [INF] [34] Emby.Server.Implementations.ScheduledTasks.TaskManager: "WeeklyTrigger" fired for task: "Playback Reporting Run Backup"
[2023-11-05 02:59:59.592 +00:00] [INF] [34] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "TaskRunBackup"
[2023-11-05 02:59:59.592 +00:00] [INF] [34] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Playback Reporting Run Backup"
[2023-11-05 02:59:59.600 +00:00] [INF] [90] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Playback Reporting Run Backup" Completed after 0 minute(s) and 0 seconds
[2023-11-05 02:59:59.601 +00:00] [INF] [90] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2023-11-05 04:00:01.110 +00:00] [INF] [2] Main: Received a SIGTERM signal, shutting down
[2023-11-05 04:00:01.111 +00:00] [INF] [2] Main: Running query planner optimizations in the database... This might take a while
[2023-11-05 04:00:01.116 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "CoreAppHost"
[2023-11-05 04:00:01.117 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "EmbyTV"
[2023-11-05 04:00:01.117 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "RecordingNotifier"
[2023-11-05 04:00:01.118 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "SchedulesDirect"
[2023-11-05 04:00:01.118 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "DlnaEntryPoint"
[2023-11-05 04:00:01.118 +00:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: Disposing PlayToManager
[2023-11-05 04:00:01.119 +00:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: Disposing DeviceDiscovery
[2023-11-05 04:00:01.119 +00:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: Disposing SsdpCommunicationsServer
[2023-11-05 04:00:01.120 +00:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: "SsdpCommunicationsServer" disposing _BroadcastListenSocket
[2023-11-05 04:00:01.120 +00:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: "SsdpCommunicationsServer" Disposing 4 sendSockets
[2023-11-05 04:00:01.120 +00:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: "SsdpCommunicationsServer" disposing sendSocket from "0.0.0.0"
[2023-11-05 04:00:01.121 +00:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: "SsdpCommunicationsServer" disposing sendSocket from "192.168.1.222"
[2023-11-05 04:00:01.121 +00:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: "SsdpCommunicationsServer" disposing sendSocket from "172.18.0.1"
[2023-11-05 04:00:01.121 +00:00] [INF] [2] Emby.Dlna.Main.DlnaEntryPoint: "SsdpCommunicationsServer" disposing sendSocket from "127.0.0.1"
[2023-11-05 04:00:01.121 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "MusicBrainzAlbumProvider"
[2023-11-05 04:00:01.121 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "UserDataChangeNotifier"
[2023-11-05 04:00:01.121 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "EntryPoint"
[2023-11-05 04:00:01.121 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "LibraryMonitorStartup"
[2023-11-05 04:00:01.121 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "ServerMediator"
[2023-11-05 04:00:01.123 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "ExternalPortForwarding"
[2023-11-05 04:00:01.123 +00:00] [INF] [2] Emby.Server.Implementations.EntryPoints.ExternalPortForwarding: Stopping NAT discovery
[2023-11-05 04:00:01.125 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "LibraryChangedNotifier"
[2023-11-05 04:00:01.126 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "EventMonitorEntryPoint"
[2023-11-05 04:00:01.126 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "DeviceAccessEntryPoint"
[2023-11-05 04:00:01.126 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "EntryPoint"
[2023-11-05 04:00:01.126 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "UdpServerEntryPoint"
[2023-11-05 04:00:01.126 +00:00] [INF] [2] Emby.Server.Implementations.ApplicationHost: Disposing "NotificationEntryPoint"
[2023-11-05 09:00:28.308 +00:00] [INF] [1] Main: Jellyfin version: "10.8.11"
[2023-11-05 09:00:28.323 +00:00] [INF] [1] Main: Environment Variables: ["[JELLYFIN_FFMPEG, /usr/lib/jellyfin-ffmpeg/ffmpeg]", "[JELLYFIN_LOG_DIR, /config/log]", "[JELLYFIN_CONFIG_DIR, /config/config]", "[JELLYFIN_DATA_DIR, /config]", "[JELLYFIN_WEB_DIR, /jellyfin/jellyfin-web]", "[JELLYFIN_CACHE_DIR, /cache]", "[DOTNET_SYSTEM_GLOBALIZATION_INVARIANT, 1]"]
[2023-11-05 09:00:28.325 +00:00] [INF] [1] Main: Arguments: ["/jellyfin/jellyfin.dll"]
[2023-11-05 09:00:28.325 +00:00] [INF] [1] Main: Operating system: "Linux"
[2023-11-05 09:00:28.325 +00:00] [INF] [1] Main: Architecture: X64
[2023-11-05 09:00:28.326 +00:00] [INF] [1] Main: 64-Bit Process: True
[2023-11-05 09:00:28.326 +00:00] [INF] [1] Main: User Interactive: True
[2023-11-05 09:00:28.326 +00:00] [INF] [1] Main: Processor count: 8
[2023-11-05 09:00:28.326 +00:00] [INF] [1] Main: Program data path: "/config"
[2023-11-05 09:00:28.326 +00:00] [INF] [1] Main: Web resources path: "/jellyfin/jellyfin-web"
[2023-11-05 09:00:28.326 +00:00] [INF] [1] Main: Application directory: "/jellyfin/"
[2023-11-05 09:00:28.456 +00:00] [INF] [1] Emby.Server.Implementations.AppBase.BaseConfigurationManager: Setting cache path: "/cache"
[2023-11-05 09:00:28.499 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Loading assemblies
[2023-11-05 09:00:28.512 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.Fanart, Version=10.0.0.0, Culture=neutral, PublicKeyToken=null" from "/config/plugins/Fanart_10.0.0.0/Jellyfin.Plugin.Fanart.dll"
[2023-11-05 09:00:28.515 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.PlaybackReporting, Version=13.0.0.0, Culture=neutral, PublicKeyToken=null" from "/config/plugins/Playback Reporting_13.0.0.0/Jellyfin.Plugin.PlaybackReporting.dll"
[2023-11-05 09:00:28.518 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Jellyfin.Plugin.Reports, Version=15.0.0.0, Culture=neutral, PublicKeyToken=null" from "/config/plugins/Reports_15.0.0.0/Jellyfin.Plugin.Reports.dll"
[2023-11-05 09:00:28.522 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded assembly "Trakt, Version=23.0.0.0, Culture=neutral, PublicKeyToken=null" from "/config/plugins/Trakt_23.0.0.0/Trakt.dll"
[2023-11-05 09:00:28.584 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-11-05 09:00:28.584 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"
[2023-11-05 09:00:28.585 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-11-05 09:00:28.592 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind addresses: "[]"
[2023-11-05 09:00:28.592 +00:00] [INF] [1] Jellyfin.Networking.Manager.NetworkManager: Using bind exclusions: "[]"
[2023-11-05 09:00:30.179 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Fanart" "10.0.0.0"
[2023-11-05 09:00:30.180 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Playback Reporting" "13.0.0.0"
[2023-11-05 09:00:30.180 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Reports" "15.0.0.0"
[2023-11-05 09:00:30.181 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Trakt" "23.0.0.0"
[2023-11-05 09:00:30.181 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "TMDb" "10.8.11.0"
[2023-11-05 09:00:30.181 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "Studio Images" "10.8.11.0"
[2023-11-05 09:00:30.182 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "OMDb" "10.8.11.0"
[2023-11-05 09:00:30.182 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "MusicBrainz" "10.8.11.0"
[2023-11-05 09:00:30.182 +00:00] [INF] [1] Emby.Server.Implementations.Plugins.PluginManager: Loaded plugin: "AudioDB" "10.8.11.0"
[2023-11-05 09:00:30.224 +00:00] [INF] [1] Main: Kestrel listening on "Any IP4 Address"
[2023-11-05 09:00:30.484 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Running startup tasks
[2023-11-05 09:00:30.485 +00:00] [INF] [1] Jellyfin.Plugin.PlaybackReporting.TaskCleanDb: TaskCleanDb Loaded
[2023-11-05 09:00:30.487 +00:00] [INF] [1] Jellyfin.Plugin.PlaybackReporting.TaskRunBackup: TaskRunBackup Loaded
[2023-11-05 09:00:30.499 +00:00] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Playback Reporting Trim Db" set to fire at 2023-11-06 00:00:00.000 +00:00, which is 14:59:29.5004896 from now.
[2023-11-05 09:00:30.512 +00:00] [INF] [1] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for "Extract Chapter Images" set to fire at 2023-11-06 02:00:00.000 +00:00, which is 16:59:29.4877194 from now.
[2023-11-05 09:00:30.609 +00:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Found ffmpeg version "5.1.3"
[2023-11-05 09:00:30.648 +00:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "decoders": ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hevc_qsv", "hevc_cuvid", "mpeg2video", "mpeg2_qsv", "mpeg2_cuvid", "mpeg4", "mpeg4_cuvid", "msmpeg4", "vc1_qsv", "vc1_cuvid", "vp8", "libvpx", "vp8_cuvid", "vp8_qsv", "vp9", "libvpx-vp9", "vp9_cuvid", "vp9_qsv", "aac", "ac3", "dca", "flac", "mp3", "truehd"]
[2023-11-05 09:00:30.677 +00:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available "encoders": ["libx264", "h264_amf", "h264_nvenc", "h264_qsv", "h264_v4l2m2m", "h264_vaapi", "libx265", "hevc_amf", "hevc_nvenc", "hevc_qsv", "hevc_vaapi", "mpeg4", "msmpeg4", "libvpx", "libvpx-vp9", "aac", "libfdk_aac", "ac3", "dca", "flac", "libmp3lame", "libopus", "truehd", "libvorbis", "srt"]
[2023-11-05 09:00:30.702 +00:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available filters: ["deinterlace_qsv", "deinterlace_vaapi", "hwupload_cuda", "hwupload_vaapi", "overlay_opencl", "overlay_qsv", "overlay_vaapi", "overlay_cuda", "procamp_vaapi", "scale_cuda", "scale_opencl", "scale_qsv", "scale_vaapi", "tonemap_cuda", "tonemap_opencl", "tonemap_vaapi", "vpp_qsv", "yadif_cuda", "zscale", "alphasrc"]
[2023-11-05 09:00:30.845 +00:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
[2023-11-05 09:00:30.962 +00:00] [INF] [1] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: FFmpeg: "/usr/lib/jellyfin-ffmpeg/ffmpeg"
[2023-11-05 09:00:30.962 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: ServerId: "71d0ee74c7f64dc49e3fabc83af88257"
[2023-11-05 09:00:31.035 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all pre-startup entry points in 0:00:00.0656366
[2023-11-05 09:00:31.035 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Core startup complete
[2023-11-05 09:00:31.035 +00:00] [INF] [1] Jellyfin.Plugin.PlaybackReporting.EventMonitorEntryPoint: EventMonitorEntryPoint Running
[2023-11-05 09:00:31.040 +00:00] [INF] [1] Jellyfin.Plugin.PlaybackReporting.Data.ActivityRepository: Sqlite version: 3.38.3
[2023-11-05 09:00:31.040 +00:00] [INF] [1] Jellyfin.Plugin.PlaybackReporting.Data.ActivityRepository: Sqlite compiler options: ATOMIC_INTRINSICS=1,COMPILER=gcc-7.5.0,DEFAULT_AUTOVACUUM,DEFAULT_CACHE_SIZE=-2000,DEFAULT_FILE_FORMAT=4,DEFAULT_FOREIGN_KEYS,DEFAULT_JOURNAL_SIZE_LIMIT=-1,DEFAULT_MMAP_SIZE=0,DEFAULT_PAGE_SIZE=4096,DEFAULT_PCACHE_INITSZ=20,DEFAULT_RECURSIVE_TRIGGERS,DEFAULT_SECTOR_SIZE=4096,DEFAULT_SYNCHRONOUS=2,DEFAULT_WAL_AUTOCHECKPOINT=1000,DEFAULT_WAL_SYNCHRONOUS=2,DEFAULT_WORKER_THREADS=0,ENABLE_COLUMN_METADATA,ENABLE_FTS3,ENABLE_FTS3_PARENTHESIS,ENABLE_FTS4,ENABLE_FTS5,ENABLE_RTREE,ENABLE_SNAPSHOT,MALLOC_SOFT_LIMIT=1024,MAX_ATTACHED=10,MAX_COLUMN=2000,MAX_COMPOUND_SELECT=500,MAX_DEFAULT_PAGE_SIZE=8192,MAX_EXPR_DEPTH=1000,MAX_FUNCTION_ARG=127,MAX_LENGTH=1000000000,MAX_LIKE_PATTERN_LENGTH=50000,MAX_MMAP_SIZE=0x7fff0000,MAX_PAGE_COUNT=1073741823,MAX_PAGE_SIZE=65536,MAX_SQL_LENGTH=1000000000,MAX_TRIGGER_DEPTH=1000,MAX_VARIABLE_NUMBER=32766,MAX_VDBE_OP=250000000,MAX_WORKER_THREADS=8,MUTEX_PTHREADS,SYSTEM_MALLOC,TEMP_STORE=1,THREADSAFE=1
[2023-11-05 09:00:31.043 +00:00] [INF] [1] Jellyfin.Plugin.PlaybackReporting.Data.ActivityRepository: Default journal_mode for "/config/data/playback_reporting.db" is "delete"
[2023-11-05 09:00:31.043 +00:00] [INF] [1] Jellyfin.Plugin.PlaybackReporting.Data.ActivityRepository: Initialize PlaybackActivity Repository
[2023-11-05 09:00:31.043 +00:00] [INF] [1] Jellyfin.Plugin.PlaybackReporting.Data.ActivityRepository: PlaybackActivity table schema OK
[2023-11-05 09:00:31.043 +00:00] [INF] [1] Jellyfin.Plugin.PlaybackReporting.Data.ActivityRepository: Expected : "datecreated:datetime|userid:text|itemid:text|itemtype:text|itemname:text|playbackmethod:text|clientname:text|devicename:text|playduration:int"
[2023-11-05 09:00:31.043 +00:00] [INF] [1] Jellyfin.Plugin.PlaybackReporting.Data.ActivityRepository: Received : "datecreated:datetime|userid:text|itemid:text|itemtype:text|itemname:text|playbackmethod:text|clientname:text|devicename:text|playduration:int"
[2023-11-05 09:00:31.166 +00:00] [INF] [11] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/Movies"
[2023-11-05 09:00:31.166 +00:00] [INF] [8] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/Movies-4K"
[2023-11-05 09:00:31.166 +00:00] [INF] [13] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/TV-Temp"
[2023-11-05 09:00:31.166 +00:00] [INF] [14] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/TV"
[2023-11-05 09:00:31.169 +00:00] [INF] [1] Emby.Server.Implementations.ApplicationHost: Executed all post-startup entry points in 0:00:00.1338535
[2023-11-05 09:00:31.169 +00:00] [INF] [1] Main: Startup complete 0:00:03.0530481
[2023-11-05 09:00:31.960 +00:00] [INF] [11] Jellyfin.Networking.Manager.NetworkManager: Defined LAN addresses : "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-11-05 09:00:31.960 +00:00] [INF] [11] Jellyfin.Networking.Manager.NetworkManager: Defined LAN exclusions : "[]"
[2023-11-05 09:00:31.960 +00:00] [INF] [11] Jellyfin.Networking.Manager.NetworkManager: Using LAN addresses: "[10.0.0.0/8,172.16.0.0/12,192.168.0.0/16]"
[2023-11-05 09:00:33.519 +00:00] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: "StartupTrigger" fired for task: "Update Plugins"
[2023-11-05 09:00:33.521 +00:00] [INF] [11] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task "PluginUpdateTask"
[2023-11-05 09:00:33.523 +00:00] [INF] [15] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing "Update Plugins"
[2023-11-05 09:00:34.792 +00:00] [INF] [15] Emby.Server.Implementations.ScheduledTasks.TaskManager: "Update Plugins" Completed after 0 minute(s) and 1 seconds
[2023-11-05 09:00:34.795 +00:00] [INF] [15] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
[2023-11-05 09:00:58.146 +00:00] [WRN] [21] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"AccessSchedule"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2023-11-05 09:00:58.147 +00:00] [WRN] [21] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ActivityLog"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2023-11-05 09:00:58.147 +00:00] [WRN] [21] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"CustomItemDisplayPreferences"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2023-11-05 09:00:58.147 +00:00] [WRN] [21] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"DisplayPreferences"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2023-11-05 09:00:58.147 +00:00] [WRN] [21] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"HomeSection"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2023-11-05 09:00:58.147 +00:00] [WRN] [21] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ImageInfo"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2023-11-05 09:00:58.147 +00:00] [WRN] [21] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ItemDisplayPreferences"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2023-11-05 09:00:58.147 +00:00] [WRN] [21] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"Permission"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2023-11-05 09:00:58.147 +00:00] [WRN] [21] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"Preference"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2023-11-05 09:00:58.147 +00:00] [WRN] [21] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"ApiKey"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2023-11-05 09:00:58.147 +00:00] [WRN] [21] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"Device"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2023-11-05 09:00:58.147 +00:00] [WRN] [21] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"DeviceOptions"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2023-11-05 09:00:58.147 +00:00] [WRN] [21] Microsoft.EntityFrameworkCore.Model.Validation: The entity type '"User"' is configured to use schema '"jellyfin"', but SQLite does not support schemas. This configuration will be ignored by the SQLite provider.
[2023-11-05 10:40:16.980 +00:00] [INF] [8] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.98" request
[2023-11-05 10:40:20.209 +00:00] [INF] [28] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.98" closed
[2023-11-05 10:40:20.414 +00:00] [INF] [27] Emby.Server.Implementations.HttpServer.WebSocketManager: WS "192.168.1.98" request



RE: Jellyfin repeatedly not detecting all media and deleting cache - TranceState - 2023-11-11

I think I got this working now although I'm not quite sure on the root cause as this same setup worked perfectly on Ubuntu 22.04 LTS for years. I realised now that the issue always coincided with when the 'Scan Media Library' scheduled task ran which was set to run every 12 hours, for me this was always approximately 11am and 11pm. I found that the docker container kept losing the connection to the NFS mount point on the host so if the drop happened around 4pm for example then the next scheduled scan at 11pm would then remove all metadata, I wouldn't notice anything had gone wrong until 11pm or if I was to watch anything on my server.

To fix this, I ended up removing the mount from /etc/fstab and rebooting to remove the mount. I then mounted the NFS share manually as root user before adding the mount command back into /etc/fstab so it would remain after reboot. I also realised that the requirement I had set on the Docker services to not start until the NFS shares were ready wasn't working reliably as it seemed 50/50 on whether it would just work or whether Docker would just go ahead and start before the NFS shares were mounted.

I edited the override on the Docker services and changed it from this:

Before
Code:
[Service]
RequiresMountsFor=/mnt/media

To this:

After
Code:
[Unit]
Requires=mnt-media.mount
After=mnt-media.mount

I got the NFS unit names created by /etc/fstab by running:

Code:
systemctl list-units -t mount

For the past few days now I've been connecting into the Docker container to ensure the NFS mounts and media are visible at start-up and at random points during the day and so far no drops so all good Smiling-face.