Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] alturismo - Repos

Featured Replies

  • Author
4 hours ago, stefan_s said:

Heyho - i did find an issue with the way you grep non existing folders for your exclusion-file. I raised an issue inside of Github for it => https://github.com/alturismo/unraid-cache-mover/issues/1

added, thanks

 

will still need to check if brackets collide with other functions, i ll drop a note if ...

 

in terms you see anything, just reopen the git issue again.

 

thanks for your feedback

  • Replies 705
  • Views 55.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Cache Mover Update   see the extra part in the config page (here incl. opened help sections)     Media Server Mode:   off (or empty), will ONLY run regular mod

  • ok, never thought of that (yet)   noted, and yes, no deal breaker ... just have to think about how to tag either Docker or VM ... will leave a note here.   thanks for the feedback

  • Yes , only unbinding than reboot makes the gpu free than I attach it to VM and than it works for VM only and cannot be used for docker containers . To make it work for docker container i have to bind

Posted Images

Cache Mover Plugin

Alturismo,

 

I am getting error when the mover is trying to move files to the cache. It detects the files that are running in Plex without any issues. When it tries to copy the file to the cache it errors out.

 

The first error that I notices is no space left on device. The cache has 1.5 TB of free space.

 

The second error is that it can not find the mover_excl.txt. Not sure about that one.

 

The third error is parse error: Invalid numeric literal at line 1, column 60.

 

Below is a copy of the log when it is trying to move the file/s to the cache. I also attached a screenshot of the settings in case that helps.

 

Thanks in advance for any help you can provide.

 

Jan 13 15:52:14 Server root: cache-mover: rsync: [receiver] write failed on "/mnt/Cache_nvme/Media/TV Shows/Thunderbirds/Season 1/Thunderbirds - S01E26 - Security Hazard Bluray-720p.mkv": No space left on device (28)
Jan 13 15:52:14 Server root: cache-mover: rsync error: error in file IO (code 11) at receiver.c(380) [receiver=3.3.0]
Jan 13 15:52:14 Server root: cache-mover: rsync: [sender] write error: Broken pipe (32)
Jan 13 15:52:14 Server root: cache-mover: /usr/local/emhttp/plugins/cache-mover/scripts/cache_mover2: line 99: /mnt/user/system/mover/mover_excl.txt: No such file or directory
Jan 13 15:52:14 Server root: cache-mover: awk: inplace:59: warning: inplace::begin: Cannot stat `/mnt/user/system/mover/mover_excl.txt' (No such file or directory)
Jan 13 15:52:14 Server root: cache-mover: awk: inplace:59: fatal: cannot open file `/mnt/user/system/mover/mover_excl.txt' for reading: No such file or directory
Jan 13 15:52:14 Server root: cache-mover: /mnt/disk2/Media/TV Shows/Thunderbirds/Season 1/Thunderbirds - S01E01 - Trapped in the Sky Bluray-720p.mkv
Jan 13 15:52:14 Server root: cache-mover: open file will be switched to new path
Jan 13 15:52:15 Server root: cache-mover: /mnt/Cache_nvme/Media/TV Shows/Thunderbirds/Season 1/Thunderbirds - S01E01 - Trapped in the Sky Bluray-720p.mkv
Jan 13 15:52:15 Server root: cache-mover: ready to switch live
Jan 13 15:52:15 Server root: cache-mover: -: No such file or directory.
Jan 13 15:52:15 Server root: cache-mover: (gdb) Attaching to process 15492
Jan 13 15:52:15 Server root: cache-mover: [New LWP 31777]
Jan 13 15:52:15 Server root: cache-mover: [New LWP 30457]
Jan 13 15:52:15 Server root: cache-mover: [New LWP 25084]
Jan 13 15:52:15 Server root: cache-mover: [New LWP 22262]
Jan 13 15:52:15 Server root: cache-mover: [New LWP 20869]
Jan 13 15:52:15 Server root: cache-mover: [New LWP 19572]
Jan 13 15:52:15 Server root: cache-mover: [New LWP 16473]
Jan 13 15:52:15 Server root: cache-mover: [New LWP 15583]
Jan 13 15:52:15 Server root: cache-mover: [New LWP 15495]
Jan 13 15:52:15 Server root: cache-mover: [New LWP 15494]
Jan 13 15:52:15 Server root: cache-mover: [Thread debugging using libthread_db enabled]
Jan 13 15:52:15 Server root: cache-mover: Using host libthread_db library "/lib64/libthread_db.so.1".
Jan 13 15:52:15 Server root: cache-mover: 0x000014a9ce477c4f in __futex_abstimed_wait_cancelable64 ()
Jan 13 15:52:15 Server root: cache-mover:    from /lib64/libc.so.6
Jan 13 15:52:16 Server root: cache-mover: (gdb) $1 = 30
Jan 13 15:52:16 Server root: cache-mover: (gdb) $2 = 29
Jan 13 15:52:16 Server root: cache-mover: (gdb) $3 = 0
Jan 13 15:52:16 Server root: cache-mover: (gdb) Detaching from program: /usr/libexec/unraid/shfs, process 15492
Jan 13 15:52:16 Server root: cache-mover: [Inferior 1 (process 15492) detached]
Jan 13 15:52:16 Server root: cache-mover: update access time: /mnt/Cache_nvme/Media/TV Shows/Thunderbirds/Season 1
Jan 13 15:52:18 Server root: cache-mover: parse error: Invalid numeric literal at line 1, column 60

Cache Mover settings.png

Cache Mover:

What would be the easiest way to temporarily disable the plug-in? The use case for turning it off would be the generation of Jellyfin trickplay files. Cache Mover sees Jellyfin accessing and copies the movie file to the cache pool. Then when the trickplay files are generated, they get stored with the movie on the cache. When Cache Mover removes the movie file from the cache pool the trickplay files are left orphaned on the cache pool making it incredibly time consuming to move them back to the array.

 

Thanks for any advice!

  • Author
9 minutes ago, jleach said:

Cache Mover:

What would be the easiest way to temporarily disable the plug-in?

remove cron and click set cron

 

whatever "generating "Trickplay" is ;) may switch to the new function "Mediaserver only mode", so it wont look on regular open files on array and only if jelly reports a playback it ll continue processing, may that helps ?

 

and, may use copy function and not move, then cache mover will only create a copy, so nothing to move back ... ?

 

or i missunderstand the usecase ;)

  • Author
16 minutes ago, jleach said:

Thanks for any advice!

and if its possible (i removed jelly here again), set your cache mover cron from let s say 5am to 11pm and let Trickplay run its task in the netween time ?

 

if not, i take a look and reinstall jelly here, let me know if thats a thing

  • Author
7 hours ago, KillerHacker said:

write failed on "/mnt/Cache_nvme/Media/TV Shows/Thunderbirds/Season 1/Thunderbirds - S01E26 - Security Hazard Bluray-720p.mkv": No space left on device

may i ask (just to make sure)

 

when you do a

ls -la /mnt/

 

is Cache... really uppercase or may lowercase ?

 

7 hours ago, KillerHacker said:

cannot open file `/mnt/user/system/mover/mover_excl.txt' for reading: No such file or directory

thats the path you can configure yourself, i assume you dont have a folder "mover" on your system Share, so may either

1/ just make a folder there (Rest should be done by cache mover)

2/ point to a place and filename you like

 

its mandatory for post processing !!!

 

 

3 minutes ago, alturismo said:

remove cron and click set cron

 

whatever "generating "Trickplay" is ;) may switch to the new function "Mediaserver only mode", so it wont look on regular open files on array and only if jelly reports a playback it ll continue processing, may that helps ?

 

and, may use copy function and not move, then cache mover will only create a copy, so nothing to move back ... ?

 

or i missunderstand the usecase ;)

 

 

I think that helps with the cron settings - thank you.

 

https://jellyfin.org/posts/jellyfin-release-10.9.0/

 

"Trickplay" a.k.a. live video scrubbing. When scrubbing through a video with this enabled, you will be able to see a live preview of the video at that timestamp.

 

Clarification on the MediaServer only mode: does it specifically look for files that Jellyfin is serving/playing or does it look for files that Jellyfin is accessing. Because Jellyfin would be accessing the files to generate the Trickplay images. But it's not serving/playing the file to a user.

  • Author
Just now, jleach said:

Clarification on the MediaServer only mode: does it specifically look for files that Jellyfin is serving/playing or does it look for files that Jellyfin is accessing. Because Jellyfin would be accessing the files to generate the Trickplay images. But it's not serving/playing the file to a user.

as we need the jelly access ... its actually looking for current playback/s reported by jelly (or emby, plex)

 

its not looking at file access in 1st plce at all anymore as jelly likes to NOT use real files long ;)

5 minutes ago, alturismo said:

as we need the jelly access ... its actually looking for current playback/s reported by jelly (or emby, plex)

 

its not looking at file access in 1st plce at all anymore as jelly likes to NOT use real files long ;)

 

Perfect - I've got Jellyfin settings entered into Cache Mover. I'll set the mode to "only" and test some Trickplay generation and report back. Thank you!

 

 

  • Author
4 minutes ago, jleach said:

Clarification on the MediaServer only mode:

may better spoken

 

only mode means

1/ plugin will ask the Mediaserver "what are you playing currently"

2/ if yes, which path, thank you

3/ then we process further ...

 

regular mode

1/ plugin is checking open files on configured disk

2/ nevermind who or what is reading the file as long rules match (path, filetype)

3/ then we process further

 

multi mode

1/ run through regular mode

2/ run mediaserver mode

3/ as we check if a file is may cached already

4/ if regular mode done the job it would skip on mediaserver task where file is already there

 

hope that understandable ;)

1 minute ago, alturismo said:

may better spoken

 

only mode means

1/ plugin will ask the Mediaserver "what are you playing currently"

2/ if yes, which path, thank you

3/ then we process further ...

 

regular mode

1/ plugin is checking open files on configured disk

2/ nevermind who or what is reading the file as long rules match (path, filetype)

3/ then we process further

 

multi mode

1/ run through regular mode

2/ run mediaserver mode

3/ as we check if a file is may cached already

4/ if regular mode done the job it would skip on mediaserver task where file is already there

 

hope that understandable ;)

 

Awesome explanation - I've configured to "only" mode to keep Cache Mover from moving the movie files while Trickplay generation is happening.

 

Last question - I may have gotten ahead of Cache Mover and manually deleted movie files it had cached. So Cache Mover hasn't been able to move them back and clear them from the list. Any easy way to do that? See image.

 

 

image.png

  • Author
1 minute ago, jleach said:

Last question - I may have gotten ahead of Cache Mover and manually deleted movie files it had cached. So Cache Mover hasn't been able to move them back and clear them from the list. Any easy way to do that? See image.

while checking (cleaner) task, it should look for non existing files (when you as sample removed yourself) and then remove them from list ... may try from terminal to enforce

 

/usr/local/emhttp/plugins/cache-mover/scripts/cache_mover3

 

2 minutes ago, alturismo said:

while checking (cleaner) task, it should look for non existing files (when you as sample removed yourself) and then remove them from list ... may try from terminal to enforce

 

/usr/local/emhttp/plugins/cache-mover/scripts/cache_mover3

 

Terminal command did not work. I will add that yesterday during a system hardware upgrade, I renamed the the cache pool "cache" to "cache_media"

 

Jan 13 23:57:42 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/Bicentennial Man (1999) [imdbid-tt0182789]/’: No such file or directory
Jan 13 23:57:42 Vault root: cache-cleaner: /mnt/cache/media/library/movies/Bicentennial Man (1999) [imdbid-tt0182789] is not there
Jan 13 23:57:42 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/Anchorman The Legend of Ron Burgundy (2004) [imdbid-tt0357413]/’: No such file or directory
Jan 13 23:57:42 Vault root: cache-cleaner: /mnt/cache/media/library/movies/Anchorman The Legend of Ron Burgundy (2004) [imdbid-tt0357413] is not there
Jan 13 23:57:42 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/Avatar (2009) [imdbid-tt0499549]/’: No such file or directory
Jan 13 23:57:42 Vault root: cache-cleaner: /mnt/cache/media/library/movies/Avatar (2009) [imdbid-tt0499549] is not there
Jan 13 23:57:42 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/Avatar The Way of Water (2022) [imdbid-tt1630029]/’: No such file or directory
Jan 13 23:57:42 Vault root: cache-cleaner: /mnt/cache/media/library/movies/Avatar The Way of Water (2022) [imdbid-tt1630029] is not there
Jan 13 23:57:42 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/The Hunger Games Mockingjay Part 1 (2014) [imdbid-tt1951265]/’: No such file or directory
Jan 13 23:57:42 Vault root: cache-cleaner: /mnt/cache/media/library/movies/The Hunger Games Mockingjay Part 1 (2014) [imdbid-tt1951265] is not there
Jan 13 23:57:42 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/The Da Vinci Code (2006) [imdbid-tt0382625]/’: No such file or directory
Jan 13 23:57:42 Vault root: cache-cleaner: /mnt/cache/media/library/movies/The Da Vinci Code (2006) [imdbid-tt0382625] is not there
Jan 13 23:57:42 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/Kingsman The Secret Service (2015) [imdbid-tt2802144]/’: No such file or directory
Jan 13 23:57:42 Vault root: cache-cleaner: /mnt/cache/media/library/movies/Kingsman The Secret Service (2015) [imdbid-tt2802144] is not there
Jan 13 23:57:42 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/Matilda (1996) [imdbid-tt0117008]/’: No such file or directory
Jan 13 23:57:42 Vault root: cache-cleaner: /mnt/cache/media/library/movies/Matilda (1996) [imdbid-tt0117008] is not there
Jan 13 23:57:42 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/Kingsman The Golden Circle (2017) [imdbid-tt4649466]/’: No such file or directory
Jan 13 23:57:42 Vault root: cache-cleaner: /mnt/cache/media/library/movies/Kingsman The Golden Circle (2017) [imdbid-tt4649466] is not there
Jan 13 23:57:42 Vault root: cache-cleaner: /mnt/cache_media/media/torrents/movies/Moana.2.2024.1080p.WEBRIP.H264.DD2.0.COLLECTiVE 30 still in range
Jan 13 23:57:42 Vault root: cache-cleaner: find: ‘/mnt/cache_media/media/library/movies/Baby Driver (2017) [imdbid-tt3890160]/’: No such file or directory
Jan 13 23:57:42 Vault root: cache-cleaner: /mnt/cache_media/media/library/movies/Baby Driver (2017) [imdbid-tt3890160] is not there
Jan 13 23:57:42 Vault root: cache-cleaner: find: ‘/mnt/cache_media/media/library/movies/The Hunt for Red October (1990) [imdbid-tt0099810]/’: No such file or directory
Jan 13 23:57:42 Vault root: cache-cleaner: /mnt/cache_media/media/library/movies/The Hunt for Red October (1990) [imdbid-tt0099810] is not there
Jan 13 23:57:42 Vault root: cache-cleaner: find: ‘/mnt/cache_media/media/library/movies/V for Vendetta (2006) [imdbid-tt0434409]/’: No such file or directory
Jan 13 23:57:42 Vault root: cache-cleaner: /mnt/cache_media/media/library/movies/V for Vendetta (2006) [imdbid-tt0434409] is not there
Jan 13 23:58:41 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/Bicentennial Man (1999) [imdbid-tt0182789]/’: No such file or directory
Jan 13 23:58:41 Vault root: cache-cleaner: /mnt/cache/media/library/movies/Bicentennial Man (1999) [imdbid-tt0182789] is not there
Jan 13 23:58:41 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/Anchorman The Legend of Ron Burgundy (2004) [imdbid-tt0357413]/’: No such file or directory
Jan 13 23:58:41 Vault root: cache-cleaner: /mnt/cache/media/library/movies/Anchorman The Legend of Ron Burgundy (2004) [imdbid-tt0357413] is not there
Jan 13 23:58:41 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/Avatar (2009) [imdbid-tt0499549]/’: No such file or directory
Jan 13 23:58:41 Vault root: cache-cleaner: /mnt/cache/media/library/movies/Avatar (2009) [imdbid-tt0499549] is not there
Jan 13 23:58:41 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/Avatar The Way of Water (2022) [imdbid-tt1630029]/’: No such file or directory
Jan 13 23:58:41 Vault root: cache-cleaner: /mnt/cache/media/library/movies/Avatar The Way of Water (2022) [imdbid-tt1630029] is not there
Jan 13 23:58:41 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/The Hunger Games Mockingjay Part 1 (2014) [imdbid-tt1951265]/’: No such file or directory
Jan 13 23:58:41 Vault root: cache-cleaner: /mnt/cache/media/library/movies/The Hunger Games Mockingjay Part 1 (2014) [imdbid-tt1951265] is not there
Jan 13 23:58:41 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/The Da Vinci Code (2006) [imdbid-tt0382625]/’: No such file or directory
Jan 13 23:58:41 Vault root: cache-cleaner: /mnt/cache/media/library/movies/The Da Vinci Code (2006) [imdbid-tt0382625] is not there
Jan 13 23:58:41 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/Kingsman The Secret Service (2015) [imdbid-tt2802144]/’: No such file or directory
Jan 13 23:58:41 Vault root: cache-cleaner: /mnt/cache/media/library/movies/Kingsman The Secret Service (2015) [imdbid-tt2802144] is not there
Jan 13 23:58:41 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/Matilda (1996) [imdbid-tt0117008]/’: No such file or directory
Jan 13 23:58:41 Vault root: cache-cleaner: /mnt/cache/media/library/movies/Matilda (1996) [imdbid-tt0117008] is not there
Jan 13 23:58:41 Vault root: cache-cleaner: find: ‘/mnt/cache/media/library/movies/Kingsman The Golden Circle (2017) [imdbid-tt4649466]/’: No such file or directory
Jan 13 23:58:41 Vault root: cache-cleaner: /mnt/cache/media/library/movies/Kingsman The Golden Circle (2017) [imdbid-tt4649466] is not there
Jan 13 23:58:41 Vault root: cache-cleaner: /mnt/cache_media/media/torrents/movies/Moana.2.2024.1080p.WEBRIP.H264.DD2.0.COLLECTiVE 30 still in range
Jan 13 23:58:41 Vault root: cache-cleaner: find: ‘/mnt/cache_media/media/library/movies/Baby Driver (2017) [imdbid-tt3890160]/’: No such file or directory
Jan 13 23:58:41 Vault root: cache-cleaner: /mnt/cache_media/media/library/movies/Baby Driver (2017) [imdbid-tt3890160] is not there
Jan 13 23:58:41 Vault root: cache-cleaner: find: ‘/mnt/cache_media/media/library/movies/The Hunt for Red October (1990) [imdbid-tt0099810]/’: No such file or directory
Jan 13 23:58:41 Vault root: cache-cleaner: /mnt/cache_media/media/library/movies/The Hunt for Red October (1990) [imdbid-tt0099810] is not there
Jan 13 23:58:41 Vault root: cache-cleaner: find: ‘/mnt/cache_media/media/library/movies/V for Vendetta (2006) [imdbid-tt0434409]/’: No such file or directory
Jan 13 23:58:41 Vault root: cache-cleaner: /mnt/cache_media/media/library/movies/V for Vendetta (2006) [imdbid-tt0434409] is not there

 

  • Author
Just now, jleach said:

Terminal command did not work. I will add that yesterday during a system hardware upgrade, I renamed the the cache pool "cache" to "cache_media"

 

ahh, hmm, yep, i havent integrated such a task ;)

 

then may open your 2 configured exclusion files and just remove them manually from there, regular text files

 

image.thumb.png.0ef1f8701cebf200573aa951656f50d3.png

12 minutes ago, alturismo said:

may better spoken

 

only mode means

1/ plugin will ask the Mediaserver "what are you playing currently"

2/ if yes, which path, thank you

3/ then we process further ...

 

regular mode

1/ plugin is checking open files on configured disk

2/ nevermind who or what is reading the file as long rules match (path, filetype)

3/ then we process further

 

multi mode

1/ run through regular mode

2/ run mediaserver mode

3/ as we check if a file is may cached already

4/ if regular mode done the job it would skip on mediaserver task where file is already there

 

hope that understandable ;)

 

Can confirm - setting to "only" mode does not move the files to the cache pool when Jellyfin is generating Trickplay. Thank you! Hope this helps someone else!

 

1 hour ago, alturismo said:

may i ask (just to make sure)

 

when you do a

ls -la /mnt/

 

is Cache... really uppercase or may lowercase ?

 

thats the path you can configure yourself, i assume you dont have a folder "mover" on your system Share, so may either

1/ just make a folder there (Rest should be done by cache mover)

2/ point to a place and filename you like

 

its mandatory for post processing !!!

 

 

I created the mover folder like you said and that resolved the mover_excl error. Thanks

You were correct on the Cache name. The GUI showed it with a capital letter but the backend was lower case. I corrected that and that resolved the space error. Now there is an error when it tries to switch over to the cached file. I did confirm that the file it is switching to is at that path.

Jan 14 00:59:40 Server root: cache-mover: /mnt/cache_nvme/Media/TV Shows/Thunderbirds/Season 1/Thunderbirds - S01E01 - Trapped in the Sky Bluray-720p.mkv
Jan 14 00:59:40 Server root: cache-mover: ready to switch live
Jan 14 00:59:40 Server root: cache-mover: -: No such file or directory.
Jan 14 00:59:40 Server root: cache-mover: (gdb) Attaching to process 15492
Jan 14 00:59:40 Server root: cache-mover: [New LWP 31777]
Jan 14 00:59:40 Server root: cache-mover: [New LWP 30457]
Jan 14 00:59:40 Server root: cache-mover: [New LWP 25084]
Jan 14 00:59:40 Server root: cache-mover: [New LWP 22262]
Jan 14 00:59:40 Server root: cache-mover: [New LWP 20869]
Jan 14 00:59:40 Server root: cache-mover: [New LWP 19572]
Jan 14 00:59:40 Server root: cache-mover: [New LWP 16473]
Jan 14 00:59:40 Server root: cache-mover: [New LWP 15583]
Jan 14 00:59:40 Server root: cache-mover: [New LWP 15495]
Jan 14 00:59:40 Server root: cache-mover: [New LWP 15494]
Jan 14 00:59:40 Server root: cache-mover: [Thread debugging using libthread_db enabled]
Jan 14 00:59:40 Server root: cache-mover: Using host libthread_db library "/lib64/libthread_db.so.1".
Jan 14 00:59:40 Server root: cache-mover: 0x000014a9ce477c4f in __futex_abstimed_wait_cancelable64 ()
Jan 14 00:59:40 Server root: cache-mover:    from /lib64/libc.so.6
Jan 14 00:59:40 Server root: cache-mover: (gdb) $1 = 24
Jan 14 00:59:40 Server root: cache-mover: (gdb) $2 = 21
Jan 14 00:59:40 Server root: cache-mover: (gdb) $3 = 0
Jan 14 00:59:40 Server root: cache-mover: (gdb) Detaching from program: /usr/libexec/unraid/shfs, process 15492
Jan 14 00:59:40 Server root: cache-mover: [Inferior 1 (process 15492) detached]
Jan 14 00:59:41 Server root: cache-mover: (gdb) update access time: /mnt/cache_nvme/Media/TV Shows/Thunderbirds/Season 1

 

I still getting "Server root: cache-mover: parse error: Invalid numeric literal at line 1, column 60" in the log.

 

Thanks again.

 

 

  • Author
11 minutes ago, KillerHacker said:

I still getting "Server root: cache-mover: parse error: Invalid numeric literal at line 1, column 60" in the log.

 

hmm, looking into it what could be the reason

 

i dont see it in your log from your last post actually, but i assume its coming after the gdb process.

 

if so, must be "something" but shouldnt affect in any term.

 

could you check if your cache mover exclusion list is updated properly ?

 

image.thumb.png.a545a7e3e2147a2975ae092850cf3069.png

 

14 minutes ago, KillerHacker said:

I created the mover folder like you said and that resolved the mover_excl error. Thanks

 

14 minutes ago, KillerHacker said:

You were correct on the Cache name. The GUI showed it with a capital letter but the backend was lower case. I corrected that and that resolved the space error. Now there is an error when it tries to switch over to the cached file. I did confirm that the file it is switching to is at that path.

your current log is just fine, that 1 message "no such file ..." you can ignore, something from the gdb process which is "nonsense"

 

in terms you mean this at the beginning of cache mover switching

15 minutes ago, KillerHacker said:
Jan 14 00:59:40 Server root: cache-mover: -: No such file or directory.

 

52 minutes ago, alturismo said:

hmm, looking into it what could be the reason

 

i dont see it in your log from your last post actually, but i assume its coming after the gdb process.

 

if so, must be "something" but shouldnt affect in any term.

 

could you check if your cache mover exclusion list is updated properly ?

 

image.thumb.png.a545a7e3e2147a2975ae092850cf3069.png

 

 

your current log is just fine, that 1 message "no such file ..." you can ignore, something from the gdb process which is "nonsense"

 

in terms you mean this at the beginning of cache mover switching

 

Correct, it is showing up at after the gdb process. Below are some examples of the error:
 

Jan 14 00:59:41 Server root: cache-mover: (gdb) update access time: /mnt/cache_nvme/Media/TV Shows/Thunderbirds/Season 1
Jan 14 00:59:42 Server root: cache-mover: parse error: Invalid numeric literal at line 1, column 60

Jan 14 01:17:12 Server root: cache-mover: (gdb) Detaching from program: /usr/libexec/unraid/shfs, process 15492
Jan 14 01:17:12 Server root: cache-mover: [Inferior 1 (process 15492) detached]
Jan 14 01:17:13 Server root: cache-mover: (gdb) update access time: /mnt/cache_nvme/Media/Movies/Kaskasero (2024)
Jan 14 01:17:14 Server root: cache-mover: parse error: Invalid numeric literal at line 1, column 60

 

Yes, the cache Mover Lists are popululating as expected.

 

Cache Mover Lists.png

  • Author
On 1/11/2025 at 6:04 PM, AgentXXL said:

Let me know if you need more info or clarification. Thanks!

 

ok, tested mergerfs here and really a nice tool ;) which also answers the question about a sep cache pool if the regular cache isnt wanted therefore, i make a small run through therefore.

 

now, about your setup, just to clarify ... your Unraid Setup

 

Unraid Array

/mnt/cache

/mnt/disk1

/mnt/disk2

...

 

Unraid mergerfs

/mnt/disks/disk1

/mnt/disks/disk2

...

 

both reside on the same mashine ? so its 1 Unraid with an array and many uad disks with an mergerfs overlay for them ?

 

if so ... then it should be pretty simple

 

1/ cache mover on the mashine where the disks are (not the n100 Plex)

2/ running media Server only mode

3/ as i already fetch realpath by matching /disk* we are already setup

4/ your probably needed change, mergerfs mount ... 

 

... category.search=ff /mnt/cache:/mnt/disks/DLPool0\* /mnt/addons/Media

 

search=ff "first find" and set also your cache drive into merger fs mount ahead so it will find files on cache first ...

 

so both readed files from array or mergerfs will be copied to /cache ... which is then also nr. 1 from fs point of view ...

 

actually, more or less, that should be it ;) i guess at least

 

wait a second, i think i need to add some special for 2 different ... info follows

 

### yes, needs an rewrite

 

i ll make something up ... but sadly needs a rewrite, but i already have an idea, so yes, will be solveable

No rush at all... I've got enough on the go to keep me busy. I had started to add/configure cache mover on both the N100 system and the main NAS that has all of the storage. But for now I'll hold off. Take your time on the rewrite and focus on the core users 1st - I'm sure my usage case is pretty rare.

Hi

For me regular mode works....

Tried to use  "only" mode and set up Plex...

 

I also only get this error during playback.

"Jan 15 11:25:02 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 11:30:02 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 11:35:02 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 11:40:02 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 11:45:02 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 11:55:02 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 12:00:02 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 12:05:03 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 12:10:02 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 12:15:03 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 12:20:02 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 12:25:02 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 12:30:02 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60"

 

 

switching back to "regular" during playback:

 

Jan 15 12:35:02 unraid root: cache-mover: open dir on disk1: /mnt/disk1/medien/Serien/Die Kirche bleibt im Dorf (2013)/Season 2
Jan 15 12:37:02 unraid root: cache-mover: move / copy /mnt/disk1/medien/Serien/Die Kirche bleibt im Dorf (2013)/Season 2/ to /mnt/cache/medien/Serien/Die Kirche bleibt im Dorf (2013)/Season 2/
Jan 15 12:37:02 unraid root: cache-mover: sending incremental file list
Jan 15 12:37:02 unraid root: cache-mover: ./
Jan 15 12:37:02 unraid root: cache-mover: Die Kirche bleibt im Dorf - S02E01 - Ihr Kinderlein kommet.mkv
Jan 15 12:37:03 unraid root: cache-mover: #015         32.77K   0%    0.00kB/s    0:00:00  #015        520.13M  97%  496.00MB/s    0:00:00  #015        532.39M 100%  485.37MB/s    0:00:01 (xfr#1, to-chk=10/12)
Jan 15 12:37:03 unraid root: cache-mover: Die Kirche bleibt im Dorf - S02E01 - Ihr Kinderlein kommet.srt
Jan 15 12:37:03 unraid root: cache-mover: #015         32.77K  56%  477.61kB/s    0:00:00  #015         57.60K 100%  827.15kB/s    0:00:00 (xfr#2, to-chk=9/12)
Jan 15 12:37:03 unraid root: cache-mover: Die Kirche bleibt im Dorf - S02E02 - O du Fröhliche.mkv
Jan 15 12:37:05 unraid root: cache-mover: #015         32.77K   0%  432.43kB/s    0:20:40  #015        227.84M  42%  217.28MB/s    0:00:01  #015        452.76M  84%  215.89MB/s    0:00:00  #015        536.42M 100%  219.75MB/s    0:00:02 (xfr#3, to-chk=8/12)
Jan 15 12:37:05 unraid root: cache-mover: Die Kirche bleibt im Dorf - S02E02 - O du Fröhliche.srt
Jan 15 12:37:05 unraid root: cache-mover: #015         32.77K  61%   96.97kB/s    0:00:00  #015         52.93K 100%  156.17kB/s    0:00:00 (xfr#4, to-chk=7/12)
Jan 15 12:37:05 unraid root: cache-mover: Die Kirche bleibt im Dorf - S02E03 - Lasst uns froh und munter sein.mkv
Jan 15 12:37:07 unraid root: cache-mover: #015         32.77K   0%   96.39kB/s    1:32:59  #015        162.56M  30%  155.03MB/s    0:00:02  #015        418.68M  77%  199.74MB/s    0:00:00  #015        537.79M 100%  208.57MB/s    0:00:02 (xfr#5, to-chk=6/12)
Jan 15 12:37:07 unraid root: cache-mover: Die Kirche bleibt im Dorf - S02E03 - Lasst uns froh und munter sein.srt
Jan 15 12:37:07 unraid root: cache-mover: #015         32.77K  53%   69.26kB/s    0:00:00  #015         61.31K 100%  129.60kB/s    0:00:00 (xfr#6, to-chk=5/12)
Jan 15 12:37:07 unraid root: cache-mover: Die Kirche bleibt im Dorf - S02E04 - O Tannenbaum.mkv
Jan 15 12:37:09 unraid root: cache-mover: #015         32.77K   0%   68.97kB/s    2:08:20  #015        121.14M  22%  115.53MB/s    0:00:03  #015        360.71M  67%  172.09MB/s    0:00:00  #015        531.07M 100%  187.30MB/s    0:00:02 (xfr#7, to-chk=4/12)
Jan 15 12:37:09 unraid root: cache-mover: Die Kirche bleibt im Dorf - S02E04 - O Tannenbaum.srt
Jan 15 12:37:09 unraid root: cache-mover: #015         32.77K  60%   45.26kB/s    0:00:00  #015         54.48K 100%   75.25kB/s    0:00:00 (xfr#8, to-chk=3/12)
Jan 15 12:37:09 unraid root: cache-mover: Die Kirche bleibt im Dorf - S02E05 - Stille Nacht.mkv
Jan 15 12:37:12 unraid root: cache-mover: #015         32.77K   0%   45.20kB/s    3:16:22  #015         68.71M  12%   65.53MB/s    0:00:06  #015        321.16M  60%  153.14MB/s    0:00:01  #015        532.58M 100%  177.65MB/s    0:00:02 (xfr#9, to-chk=2/12)
Jan 15 12:37:12 unraid root: cache-mover: Die Kirche bleibt im Dorf - S02E05 - Stille Nacht.srt
Jan 15 12:37:12 unraid root: cache-mover: #015         32.77K  67%   37.21kB/s    0:00:00  #015         48.73K 100%   55.27kB/s    0:00:00 (xfr#10, to-chk=1/12)
Jan 15 12:37:12 unraid root: cache-mover: Die Kirche bleibt im Dorf - S02E06 - Kling, Glöcklein, Klingelingeling.mkv
Jan 15 12:37:14 unraid root: cache-mover: #015         32.77K   0%   37.12kB/s    4:01:27  #015         32.01M   5%   30.53MB/s    0:00:16  #015        294.68M  54%  140.52MB/s    0:00:01  #015        537.85M 100%  172.82MB/s    0:00:02 (xfr#11, to-chk=0/12)
Jan 15 12:37:14 unraid root: cache-mover: 
Jan 15 12:37:14 unraid root: cache-mover: sent 3.21G bytes  received 228 bytes  256.68M bytes/sec
Jan 15 12:37:14 unraid root: cache-mover: total size is 3.21G  speedup is 1.00
Jan 15 12:37:14 unraid root: cache-mover: /mnt/disk1/medien/Serien/Die Kirche bleibt im Dorf (2013)/Season 2/Die Kirche bleibt im Dorf - S02E01 - Ihr Kinderlein kommet.mkv
Jan 15 12:37:14 unraid root: cache-mover: open file will be switched to new path
Jan 15 12:37:15 unraid root: cache-mover: /mnt/cache/medien/Serien/Die Kirche bleibt im Dorf (2013)/Season 2/Die Kirche bleibt im Dorf - S02E01 - Ihr Kinderlein kommet.mkv
Jan 15 12:37:15 unraid root: cache-mover: ready to switch live
Jan 15 12:37:15 unraid root: cache-mover: -: No such file or directory.
Jan 15 12:37:15 unraid root: cache-mover: (gdb) Attaching to process 23308
Jan 15 12:37:15 unraid root: cache-mover: [New LWP 29193]
Jan 15 12:37:15 unraid root: cache-mover: [New LWP 29191]
Jan 15 12:37:15 unraid root: cache-mover: [New LWP 29190]
Jan 15 12:37:15 unraid root: cache-mover: [New LWP 29189]
Jan 15 12:37:15 unraid root: cache-mover: [New LWP 24503]
Jan 15 12:37:15 unraid root: cache-mover: [New LWP 24502]
Jan 15 12:37:15 unraid root: cache-mover: [New LWP 24498]
Jan 15 12:37:15 unraid root: cache-mover: [New LWP 23371]
Jan 15 12:37:15 unraid root: cache-mover: [New LWP 23311]
Jan 15 12:37:15 unraid root: cache-mover: [New LWP 23309]
Jan 15 12:37:15 unraid root: cache-mover: [Thread debugging using libthread_db enabled]
Jan 15 12:37:15 unraid root: cache-mover: Using host libthread_db library "/lib64/libthread_db.so.1".
Jan 15 12:37:15 unraid root: cache-mover: 0x0000145b3e4bcc4f in __futex_abstimed_wait_cancelable64 ()
Jan 15 12:37:15 unraid root: cache-mover:    from /lib64/libc.so.6
Jan 15 12:37:15 unraid root: cache-mover: (gdb) $1 = 452
Jan 15 12:37:15 unraid root: cache-mover: (gdb) $2 = 973
Jan 15 12:37:15 unraid root: cache-mover: (gdb) $3 = 0
Jan 15 12:37:15 unraid root: cache-mover: (gdb) Detaching from program: /usr/libexec/unraid/shfs, process 23308
Jan 15 12:37:15 unraid root: cache-mover: [Inferior 1 (process 23308) detached]
Jan 15 12:37:25 unraid root: cache-mover: (gdb) update access time: /mnt/cache/medien/Serien/Die Kirche bleibt im Dorf (2013)/Season 2
Jan 15 12:37:29 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 12:37:29 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 12:40:11 unraid root: cache-mover: update access time: /mnt/cache/medien/Serien/Die Kirche bleibt im Dorf (2013)/Season 2
Jan 15 12:40:15 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 12:40:15 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60
Jan 15 12:45:13 unraid root: cache-mover: update access time: /mnt/cache/medien/Serien/Die Kirche bleibt im Dorf (2013)/Season 2
Jan 15 12:45:17 unraid root: cache-mover: parse error: Invalid numeric literal at line 1, column 60

 

Edited by mmm77

  • Author
1 hour ago, mmm77 said:

Hi

For me regular mode works....

Tried to use  "only" mode and set up Plex...

 

I also only get this error during playback.

Thanks for the feedback, I ll take a look later.

  • Author
5 hours ago, mmm77 said:

switching back to "regular" during playback:

 

could you may post your setup page here ... i cant reproduce it here with any mode, only, multi, off ...

 

image.thumb.png.3f2904813c32f8056443172140595360.png

 

Jan 15 18:21:25 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/TVRIPS/Supernatural/Season 08
Jan 15 18:22:03 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/TVRIPS/Supernatural/Season 08
Jan 15 18:22:14 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/TVRIPS/Supernatural/Season 08
Jan 15 18:22:43 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/TVRIPS/Supernatural/Season 08
Jan 15 18:22:48 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/TVRIPS/Supernatural/Season 08
Jan 15 18:22:57 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/TVRIPS/Supernatural/Season 08
Jan 15 18:23:01 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/TVRIPS/Supernatural/Season 08
Jan 15 18:23:08 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/TVRIPS/Supernatural/Season 08
Jan 15 18:23:12 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/TVRIPS/Supernatural/Season 08
Jan 15 18:25:17 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/HDDVDR/The Last Boy Scout (1991)
Jan 15 18:25:21 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/HDDVDR/The Last Boy Scout (1991)
Jan 15 18:25:25 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/HDDVDR/The Last Boy Scout (1991)
Jan 15 18:25:30 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/HDDVDR/The Last Boy Scout (1991)
Jan 15 18:25:57 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/TVRIPS/Buffy/Season 02
Jan 15 18:26:02 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/TVRIPS/Buffy/Season 02
Jan 15 18:26:25 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/TVRIPS/Buffy/Season 02
Jan 15 18:26:31 AlsServerII root: cache-mover: update access time: /mnt/cache/Media/TVRIPS/Buffy/Season 02

 

thanks ahead

  • Author
On 12/17/2024 at 8:14 PM, MarianKoniuszko said:

3. If I have only one 500GB cache ssd drive that have only 117GB free space, can I use my second SSD drive that is connected with USB? I use it only for emby transcoding folder and it have only 8GB space used.

sample (simple) solution therefore while im looking for a extended setup solution

 

1/ install mergerfs plugin

>> lets you create a sep "Share" with priority pool of disks ...

>> sample run line

mkdir /mnt/addons/mergerfs

mergerfs -o cache.files=off,dropcacheonclose=false,category.search=ff /mnt/disks/Samsung_SSD_950_PRO/Media:/mnt/cache/Media:/mnt/disk1/Media:/mnt/disk2/Media:/mnt/disk3/Media /mnt/addons/mergerfs

 

now you have a mount which includes your sep. "cache ssd, either hard or usb" in order (1st place), then regular cache, then disks, ... set your Mediaserver to use /mnt/addons/mergerfs/... instead /mnt/user/.... so once cache mover did its job and Plex would reuse the cached file, it would see it without extended removing, readding to Mediaserver to get the right order ...

 

just as Note as solution for non primary cache drive usage, but BEWARE, redoing main Path in Mediaserver is may some work ... i would first add to the existing (will create dublettes in the Mediaservers), then remove the original layout ... otherwise metadata or playstates could be lost !!!

 

This is ONLY a solution (workaround) IF your files are on /mnt/user0 actually

 

thanks @AgentXXL for pointing me to this plugin ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.