Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Files Wont Move Back From Cache #49

@craigino

Description

@craigino

I have created a cache directory that is not under the control of the Unraid mover. PlexCache.py moved the files to the cache, but it never moves them back. I have set the logging level to debug and do not see any errors. And the files that were moved to cache say they were modified 6 days ago. Not sure what I am missing.

Here is my plexcache_settings.json.

{
"PLEX_URL": "http://192.168.0.100:32400",
"PLEX_TOKEN": "blablablabla-HXNsN",
"plex_source": "/media/",
"plex_library_folders": [
"tv"
],
"valid_sections": [
2
],
"number_episodes": 5,
"days_to_monitor": 30,
"watchlist_toggle": false,
"watchlist_episodes": 0,
"watchlist_cache_expiry": 1,
"users_toggle": false,
"skip_ondeck": [],
"skip_watchlist": [],
"watched_move": true,
"watched_cache_expiry": 24,
"cache_dir": "/mnt/user/plexcache/media/",
"real_source": "/mnt/user/data/media/",
"nas_library_folders": [
"tv"
],
"exit_if_active_session": false,
"max_concurrent_moves_cache": 5,
"max_concurrent_moves_array": 2,
"debug": true
}

Here are the logs.

root@NASsassin:/mnt/user/system/scripts# more /var/log/plexcache_log_latest.log
2025-08-31 07:22:15,149 - INFO - Script is currently running on Linux. The script is also running on Unraid.
2025-08-31 07:22:15,149 - INFO - *** PlexCache ***
2025-08-31 07:22:15,158 - DEBUG - Starting new HTTP connection (1): 192.168.0.100:32400
2025-08-31 07:22:15,163 - DEBUG - http://192.168.0.100:32400 "GET / HTTP/1.1" 200 3631
2025-08-31 07:22:15,169 - DEBUG - http://192.168.0.100:32400 "GET /status/sessions HTTP/1.1" 200 105
2025-08-31 07:22:15,170 - INFO - No active sessions found. Proceeding...
2025-08-31 07:22:15,997 - INFO - Fetching Jack Mason's onDeck media...
2025-08-31 07:22:16,084 - INFO - Editing file paths...
2025-08-31 07:22:16,085 - INFO - Fetching subtitles...
2025-08-31 07:22:16,088 - INFO - Loading watched media from cache...
2025-08-31 07:22:16,088 - INFO - Filtering media files for array...
2025-08-31 07:22:16,526 - INFO - Nothing to move to array
2025-08-31 07:22:16,527 - INFO - Filtering media files for cache...
2025-08-31 07:22:16,527 - INFO - Nothing to move to cache
2025-08-31 07:22:16,527 - SUMMARY - There were no files to move to any destination. The script took approximately 1 seconds to ex
ecute.
2025-08-31 07:22:17,024 - INFO - Execution time of the script: 1 seconds
2025-08-31 07:22:17,024 - INFO - Thank you for using bexem's script: https://github.com/bexem/PlexCache
2025-08-31 07:22:17,025 - INFO - Also special thanks to: - /u/teshiburu2020 - /u/planesrfun - /u/trevski13 - /u/extrobe - /u/dsaun
ier-sunlight
2025-08-31 07:22:17,025 - INFO - *** The End ***
root@NASsassin:/mnt/user/system/scripts#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions