Replies: 1 comment
-
|
OK. Update - got it half working by settings: apparently setting 0 reverts to 30 day default (you might want to put this in your docs somewhere). It now runs a dry run successfully, but left with a couple of errors:
leaving_collections_enabled: true # Create collections for media scheduled for deletion
leaving_collections_movie_name: "Expiring Media"
leaving_collections_tv_name: "Expiring Media"However, despite two movies now appearing in jellysweep ui, they don't re-populate into this jf lib folder once I delete it - normal behaviour? jellysweep | [GIN-debug] GET /admin --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).AdminPanel-fm (8 handlers)
jellysweep | [GIN-debug] GET /admin/ --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).AdminPanel-fm (8 handlers)
jellysweep | [GIN-debug] GET /admin/scheduler --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).SchedulerPanel-fm (8 handlers)
jellysweep | [GIN-debug] GET /admin/history --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).HistoryPanel-fm (8 handlers)
jellysweep | [GIN-debug] POST /admin/api/keep-requests/:id/accept --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).AcceptKeepRequest-fm (8 handlers)
jellysweep | [GIN-debug] POST /admin/api/keep-requests/:id/decline --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).DeclineKeepRequest-fm (8 handlers)
jellysweep | [GIN-debug] POST /admin/api/media/:id/keep --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).MarkMediaAsProtected-fm (8 handlers)
jellysweep | [GIN-debug] POST /admin/api/media/:id/delete --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).MarkMediaAsUnkeepable-fm (8 handlers)
jellysweep | [GIN-debug] POST /admin/api/media/:id/keep-forever --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).MarkMediaAsKeepForever-fm (8 handlers)
jellysweep | [GIN-debug] GET /admin/api/keep-requests --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).GetKeepRequests-fm (8 handlers)
jellysweep | [GIN-debug] GET /admin/api/media --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).GetAdminMediaItems-fm (8 handlers)
jellysweep | [GIN-debug] GET /admin/api/scheduler/jobs --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).GetSchedulerJobs-fm (8 handlers)
jellysweep | [GIN-debug] POST /admin/api/scheduler/jobs/:id/run --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).RunSchedulerJob-fm (8 handlers)
jellysweep | [GIN-debug] POST /admin/api/scheduler/jobs/:id/enable --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).EnableSchedulerJob-fm (8 handlers)
jellysweep | [GIN-debug] POST /admin/api/scheduler/jobs/:id/disable --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).DisableSchedulerJob-fm (8 handlers)
jellysweep | [GIN-debug] GET /admin/api/scheduler/cache/stats --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).GetSchedulerCacheStats-fm (8 handlers)
jellysweep | [GIN-debug] POST /admin/api/scheduler/cache/clear --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).ClearSchedulerCache-fm (8 handlers)
jellysweep | [GIN-debug] GET /admin/api/history --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).GetHistory-fm (8 handlers)
jellysweep | [GIN-debug] GET /admin/api/users --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).GetAllUsers-fm (8 handlers)
jellysweep | [GIN-debug] PUT /admin/api/users/:id/permissions --> github.com/jon4hz/jellysweep/internal/api/handler.(*AdminHandler).UpdateUserPermissions-fm (8 handlers)
jellysweep | [GIN-debug] [WARNING] You trusted all proxies, this is NOT safe. We recommend you to set a value.
jellysweep | Please check https://github.com/gin-gonic/gin/blob/master/docs/doc.md#dont-trust-all-proxies for details.
jellysweep | [GIN-debug] Listening and serving HTTP on 0.0.0.0:3002
jellysweep | 2026/01/30 14:20:32 DEBU scheduler: gocron: singletonModeRunner starting name=singleton-5e0de3a2-4cfd-4f73-ac39-16f5e5e9a30f
jellysweep | 2026/01/30 14:20:32 INFO Starting job id=cleanup name="Media Cleanup"
jellysweep | 2026/01/30 14:20:32 INFO Starting scheduled cleanup job
jellysweep | 2026/01/30 14:20:32 INFO Removing media items with expired protection from database
jellysweep | 2026/01/30 14:20:32 DEBU No media items with expired protection found in database
jellysweep | 2026/01/30 14:20:32 DEBU Skipping disabled library library=Books
jellysweep | 2026/01/30 14:20:32 DEBU Skipping disabled library library=Collections
jellysweep | 2026/01/30 14:20:32 INFO Processing library library=Movies id=f137a2dd21bbc1b99aa5c0f6bf02a805
jellysweep | 2026/01/30 14:20:32 DEBU Getting items from library library=Movies id=f137a2dd21bbc1b99aa5c0f6bf02a805
jellysweep | 2026/01/30 14:20:32 DEBU Retrieved items from library library=Movies count=4
jellysweep | 2026/01/30 14:20:32 DEBU Found item library=Movies name=Greenland id=b16cc0aa4876b84fbd8a81f18c03f3d8 type=Movie
jellysweep | 2026/01/30 14:20:32 DEBU Found item library=Movies name="One Battle After Another" id=b3e955549891273cddcefdb668fad150 type=Movie
jellysweep | 2026/01/30 14:20:32 DEBU Found item library=Movies name=Sinners id=159d59ce8c99c7fb06e74c64eae00727 type=Movie
jellysweep | 2026/01/30 14:20:32 DEBU Found item library=Movies name=Superman id=ddea80065dd27da173a4bad4697a8979 type=Movie
jellysweep | 2026/01/30 14:20:32 DEBU Retrieved all items from library library=Movies total=4
jellysweep | 2026/01/30 14:20:32 INFO Retrieved all items from library library=Movies total=4
jellysweep | 2026/01/30 14:20:32 DEBU Skipping disabled library library=Music
jellysweep | 2026/01/30 14:20:32 DEBU Skipping disabled library library=Playlists
jellysweep | 2026/01/30 14:20:32 INFO Processing library library=Shows id=a656b907eb3a73532e40e44b968d0225
jellysweep | 2026/01/30 14:20:32 DEBU Getting items from library library=Shows id=a656b907eb3a73532e40e44b968d0225
jellysweep | 2026/01/30 14:20:32 DEBU Retrieved items from library library=Shows count=5
jellysweep | 2026/01/30 14:20:32 DEBU Found item library=Shows name=Fallout id=7ed76d596bae46d72a3c076fde9f8255 type=Series
jellysweep | 2026/01/30 14:20:32 DEBU Found item library=Shows name=Pluribus id=8f21267c2644a7a020593d1bcea0dec4 type=Series
jellysweep | 2026/01/30 14:20:32 DEBU Found item library=Shows name=Severance id=fc09fbc470c5aaa365b5ebf9f5f35bb1 type=Series
jellysweep | 2026/01/30 14:20:32 DEBU Found item library=Shows name="Star Trek: Starfleet Academy" id=01d80bb33b21eed4ce1166c969556ba2 type=Series
jellysweep | 2026/01/30 14:20:32 DEBU Found item library=Shows name="The White Lotus" id=fd70d4c60ea88c9fac72563dd486eaca type=Series
jellysweep | 2026/01/30 14:20:32 DEBU Retrieved all items from library library=Shows total=5
jellysweep | 2026/01/30 14:20:32 INFO Retrieved all items from library library=Shows total=5
jellysweep | 2026/01/30 14:20:32 DEBU Found virtual folder name=Shows
jellysweep | 2026/01/30 14:20:32 DEBU Found virtual folder name=Collections
jellysweep | 2026/01/30 14:20:32 DEBU Skipping virtual folder for disabled library library=Collections
jellysweep | 2026/01/30 14:20:32 DEBU Found virtual folder name=Music
jellysweep | 2026/01/30 14:20:32 DEBU Skipping virtual folder for disabled library library=Music
jellysweep | 2026/01/30 14:20:32 DEBU Found virtual folder name=Books
jellysweep | 2026/01/30 14:20:32 DEBU Skipping virtual folder for disabled library library=Books
jellysweep | 2026/01/30 14:20:32 DEBU Found virtual folder name=Movies
jellysweep | 2026/01/30 14:20:32 DEBU Failed to get Sonarr tags from cache, fetching from API error="value not found in store"
jellysweep | 2026/01/30 14:20:32 DEBU Matched Sonarr series by TVDB ID title=Fallout tvdbId=416744
jellysweep | 2026/01/30 14:20:32 DEBU Matched Sonarr series by TVDB ID title=Pluribus tvdbId=436457
jellysweep | 2026/01/30 14:20:32 DEBU Matched Sonarr series by TVDB ID title=Severance tvdbId=371980
jellysweep | 2026/01/30 14:20:32 DEBU Matched Sonarr series by TVDB ID title="Star Trek: Starfleet Academy" tvdbId=433120
jellysweep | 2026/01/30 14:20:32 DEBU Matched Sonarr series by TVDB ID title="The White Lotus" tvdbId=390430
jellysweep | 2026/01/30 14:20:32 INFO Merged jellyfin items with sonarr series mediaCount=5 jellyfinCount=9
jellysweep | 2026/01/30 14:20:32 DEBU Failed to get Radarr tags from cache, fetching from API error="value not found in store"
jellysweep | 2026/01/30 14:20:32 DEBU Matched Radarr movie by TMDB ID title=Greenland tmdbId=524047
jellysweep | 2026/01/30 14:20:32 DEBU Matched Radarr movie by TMDB ID title="One Battle After Another" tmdbId=1054867
jellysweep | 2026/01/30 14:20:32 DEBU Matched Radarr movie by TMDB ID title=Sinners tmdbId=1233413
jellysweep | 2026/01/30 14:20:32 DEBU Matched Radarr movie by TMDB ID title=Superman tmdbId=1061474
jellysweep | 2026/01/30 14:20:32 INFO Merged jellyfin items with radarr movies mediaCount=4 jellyfinCount=9
jellysweep | 2026/01/30 14:20:32 INFO Media items gathered successfully
jellysweep | 2026/01/30 14:20:32 INFO Removing items no longer present in Jellyfin from database
jellysweep | 2026/01/30 14:20:32 INFO Removed items not found in Jellyfin from database successfully
jellysweep | 2026/01/30 14:20:32 INFO Applying filter to media items. filter="Database Filter" initial_items=9
jellysweep | 2026/01/30 14:20:32 DEBU Including item Fallout not marked for deletion in database
jellysweep | 2026/01/30 14:20:32 DEBU Including item PLUR1BUS not marked for deletion in database
jellysweep | 2026/01/30 14:20:32 DEBU Including item Severance not marked for deletion in database
jellysweep | 2026/01/30 14:20:32 DEBU Including item Star Trek: Starfleet Academy not marked for deletion in database
jellysweep | 2026/01/30 14:20:32 DEBU Including item The White Lotus not marked for deletion in database
jellysweep | 2026/01/30 14:20:32 DEBU Including item Greenland not marked for deletion in database
jellysweep | 2026/01/30 14:20:32 DEBU Excluding item One Battle After Another already marked for deletion in database
jellysweep | 2026/01/30 14:20:32 DEBU Excluding item Sinners already marked for deletion in database
jellysweep | 2026/01/30 14:20:32 DEBU Including item Superman not marked for deletion in database
jellysweep | 2026/01/30 14:20:32 INFO Filter applied successfully. filter="Database Filter" remaining_items=7 filtered_out=2
jellysweep | 2026/01/30 14:20:32 INFO Applying filter to media items. filter="Series Filter" initial_items=7
jellysweep | 2026/01/30 14:20:32 INFO Filter applied successfully. filter="Series Filter" remaining_items=7 filtered_out=0
jellysweep | 2026/01/30 14:20:32 INFO Applying filter to media items. filter="Tags Filter" initial_items=7
jellysweep | 2026/01/30 14:20:32 INFO Filter applied successfully. filter="Tags Filter" remaining_items=7 filtered_out=0
jellysweep | 2026/01/30 14:20:32 INFO Applying filter to media items. filter="Size Filter" initial_items=7
jellysweep | 2026/01/30 14:20:32 DEBU No size threshold configured for Shows, including Fallout for deletion
jellysweep | 2026/01/30 14:20:32 DEBU No size threshold configured for Shows, including PLUR1BUS for deletion
jellysweep | 2026/01/30 14:20:32 DEBU No size threshold configured for Shows, including Severance for deletion
jellysweep | 2026/01/30 14:20:32 DEBU No size threshold configured for Shows, including Star Trek: Starfleet Academy for deletion
jellysweep | 2026/01/30 14:20:32 DEBU No size threshold configured for Shows, including The White Lotus for deletion
jellysweep | 2026/01/30 14:20:32 DEBU No size threshold configured for Movies, including Greenland for deletion
jellysweep | 2026/01/30 14:20:32 DEBU No size threshold configured for Movies, including Superman for deletion
jellysweep | 2026/01/30 14:20:32 INFO Filter applied successfully. filter="Size Filter" remaining_items=7 filtered_out=0
jellysweep | 2026/01/30 14:20:32 INFO Applying filter to media items. filter="Age Filter" initial_items=7
jellysweep | 2026/01/30 14:20:32 DEBU Sonarr series 24 first imported on: 2026-01-28T23:16:05Z
jellysweep | 2026/01/30 14:20:32 DEBU Excluding item Fallout due to recent addition: 2026-01-28T23:16:05Z (1 days ago, threshold: 30 days)
jellysweep | 2026/01/30 14:20:33 DEBU Sonarr series 27 first imported on: 2026-01-29T15:02:30Z
jellysweep | 2026/01/30 14:20:33 DEBU Excluding item PLUR1BUS due to recent addition: 2026-01-29T15:02:30Z (0 days ago, threshold: 30 days)
jellysweep | 2026/01/30 14:20:33 DEBU Sonarr series 28 first imported on: 2026-01-29T20:08:08Z
jellysweep | 2026/01/30 14:20:33 DEBU Excluding item Severance due to recent addition: 2026-01-29T20:08:08Z (0 days ago, threshold: 30 days)
jellysweep | 2026/01/30 14:20:33 DEBU Sonarr series 22 first imported on: 2026-01-28T21:49:28Z
jellysweep | 2026/01/30 14:20:33 DEBU Excluding item Star Trek: Starfleet Academy due to recent addition: 2026-01-28T21:49:28Z (1 days ago, threshold: 30 days)
jellysweep | 2026/01/30 14:20:33 DEBU Sonarr series 23 first imported on: 2026-01-29T01:54:29Z
jellysweep | 2026/01/30 14:20:33 DEBU Excluding item The White Lotus due to recent addition: 2026-01-29T01:54:29Z (1 days ago, threshold: 30 days)
jellysweep | 2026/01/30 14:20:33 DEBU Radarr movie 60 first imported on: 2026-01-29T15:03:56Z
jellysweep | 2026/01/30 14:20:33 DEBU Excluding item Greenland due to recent addition: 2026-01-29T15:03:56Z (0 days ago, threshold: 1 days)
jellysweep | 2026/01/30 14:20:33 DEBU Radarr movie 54 first imported on: 2026-01-28T21:38:05Z
jellysweep | 2026/01/30 14:20:33 DEBU Including item Superman for deletion, added 1 days ago (threshold: 1 days)
jellysweep | 2026/01/30 14:20:33 INFO Filter applied successfully. filter="Age Filter" remaining_items=1 filtered_out=6
jellysweep | 2026/01/30 14:20:33 INFO Applying filter to media items. filter="Stream Filter" initial_items=1
jellysweep | 2026/01/30 14:20:33 DEBU Excluding item Superman due to recent stream: 2026-01-29T20:54:11Z
jellysweep | 2026/01/30 14:20:33 INFO Filter applied successfully. filter="Stream Filter" remaining_items=0 filtered_out=1
jellysweep | 2026/01/30 14:20:33 INFO Populating requester information
jellysweep | 2026/01/30 14:20:33 INFO Media items filtered successfully
jellysweep | 2026/01/30 14:20:33 INFO No media items marked for deletion after filtering
jellysweep | 2026/01/30 14:20:33 INFO Removing recently played items from database
jellysweep | 2026/01/30 14:20:33 DEBU Item last played outside of threshold, skipping removal title="One Battle After Another" jellyfinID=b3e955549891273cddcefdb668fad150 lastPlayed=2026-01-29T11:46:14Z
jellysweep | 2026/01/30 14:20:34 DEBU Item last played outside of threshold, skipping removal title=Sinners jellyfinID=159d59ce8c99c7fb06e74c64eae00727 lastPlayed=2026-01-25T12:57:49Z
jellysweep | 2026/01/30 14:20:34 INFO Recently played items removal process completed
jellysweep | 2026/01/30 14:20:34 ERRO failed to get disk usage path=/media/Video/Movies error="no such file or directory"
jellysweep | 2026/01/30 14:20:34 WARN Could not determine disk usage for library Movies
jellysweep | 2026/01/30 14:20:34 INFO Skipping deletion for media item One Battle After Another, no policies triggered
jellysweep | 2026/01/30 14:20:34 ERRO failed to get disk usage path=/media/Video/Movies error="no such file or directory"
jellysweep | 2026/01/30 14:20:34 WARN Could not determine disk usage for library Movies
jellysweep | 2026/01/30 14:20:34 INFO Skipping deletion for media item Sinners, no policies triggered
jellysweep | 2026/01/30 14:20:34 INFO Creating/updating Jellyfin leaving collections
jellysweep | 2026/01/30 14:20:34 DEBU Found existing collection, updating items collection="Expiring Media" id=33023c2172cb5fe3930622c9b1d57556
jellysweep | 2026/01/30 14:20:34 DEBU Adding new items to collection collection="Expiring Media" count=2
jellysweep | 2026/01/30 14:20:34 INFO Updated leaving movies collection count=2
jellysweep | 2026/01/30 14:20:34 INFO Cleaning up leaving collections
jellysweep | 2026/01/30 14:20:34 DEBU Marking item for removal from collection collection="Expiring Media" itemID=b3e955549891273cddcefdb668fad150
jellysweep | 2026/01/30 14:20:34 DEBU Marking item for removal from collection collection="Expiring Media" itemID=159d59ce8c99c7fb06e74c64eae00727
jellysweep | 2026/01/30 14:20:34 INFO Removing items from leaving collection collection="Expiring Media" count=2
jellysweep | 2026/01/30 14:20:34 INFO Scheduled cleanup job completed
jellysweep | 2026/01/30 14:20:34 INFO Job completed successfully id=cleanup name="Media Cleanup"
jellysweep | [GIN] 2026/01/30 - 14:21:00 | 302 | 3.333161ms | 172.18.0.1 | GET "/"
jellysweep | [GIN] 2026/01/30 - 14:21:00 | 200 | 1.223321ms | 172.18.0.1 | GET "/login"
jellysweep | [GIN] 2026/01/30 - 14:22:00 | 302 | 87.772µs | 172.18.0.1 | GET "/"
jellysweep | [GIN] 2026/01/30 - 14:22:00 | 200 | 1.418089ms | 172.18.0.1 | GET "/login"
jellysweep | [GIN] 2026/01/30 - 14:22:18 | 200 | 9.304816ms | 192.168.50.200 | GET "/"
jellysweep | [GIN] 2026/01/30 - 14:22:18 | 200 | 4.305238ms | 192.168.50.200 | GET "/static/dist/style.css"
jellysweep | [GIN] 2026/01/30 - 14:22:18 | 200 | 20.859663ms | 192.168.50.200 | GET "/static/dist/chart.js"
jellysweep | [GIN] 2026/01/30 - 14:22:18 | 200 | 20.684363ms | 192.168.50.200 | GET "/static/jellysweep.png"
jellysweep | [GIN] 2026/01/30 - 14:22:18 | 200 | 497.404µs | 192.168.50.200 | GET "/api/me"
jellysweep | [GIN] 2026/01/30 - 14:22:19 | 200 | 5.897078ms | 192.168.50.200 | GET "/static/jellysweep.png" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think I might have got this up and running. However, I'm now trying to test it. I have set dry_run to true and think I'm getting the debug logs. Problem is, despite setting various retention settings to zero in the config.yaml, it seems to be filtering out deletions due to "Age Filter" being 30 (no idea which setting this relates to due to its generic naming):
jellysweep | 2026/01/30 12:37:21 INFO Filter applied successfully. filter="Age Filter" remaining_items=0 filtered_out=9
Find below my compose.yaml (using dockge for container management), config.yaml and the last run log. Obs redacted keys and just testing Movies at the moment. The Jellyfin media category name is "Movies" and "Shows". The whole pathing business confuses the hell out of me - so add 4 other apps it is accessing - I have no idea if this is a paths issue and thus, don't know what you need to assist, but please do ask.
Compose.yml:
config.yaml:
Log:
Beta Was this translation helpful? Give feedback.
All reactions