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.

[Plugin] Mover Tuning

Featured Replies

5 minutes ago, Masterwishx said:

In your log:

 

"/mnt/user0/data/torrents/radarr-uhd/The.Bikeriders.2023.REPACK.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.HYBRID.REMUX-FraMeSToR/.The.Bikeriders.2023.REPACK.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.HYBRID.REMUX-FraMeSToR.mkv.zruUMe" failed: No such file or directory (2) 

But it does exist: (see atttached screenshot)

I had this happen to about 5 files and it broke the hardlink. The log shows a period in front of the name not sure why:
 

.The.Bikeriders.

but it should be: 

The.Bikeriders.

Also in the error it shows .zruUMe at the end of the filename, not sure why

image.png

Edited by Triiiple

  • Replies 3.5k
  • Views 487.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • hugenbdd
    hugenbdd

    New Version 07-03-2023   HUGE thanks/Shout-out to @Swarles for the help with updating code fixes and adding a great new feature.  You can now have some customization per share.  It's great t

  • How to ignore a SINGLE file 1.) Find the path of the file you wish to ignore.     ls -ltr /mnt/cache/Download/complete/test.txt         root@Tower:/# ls -ltr /mnt/cache/Download/complete/test

  • Hi all, I made a new version of the plugin. This fork replaces @hugenbdd's plugin which is not maintained anymore and will land in community applications if your feedbacks are positive.  

Posted Images

Any way to make this compatible with the new mover feature that allows me to empty a disk and shrink the array?

 

 

9 hours ago, flyize said:

Any way to make this compatible with the new mover feature that allows me to empty a disk and shrink the array?

I will check it, but you can run mover.old start -e

If someone has many lines in ignore file path like 100 or more? 

Need user to test another way of ignore list as seems issue when using `find 

-not path` when many lines

11 hours ago, flyize said:

Any way to make this compatible with the new mover feature that allows

Will be added in next version

I just went to analyse why most of my services stopped - turns out cache was at 100% usage (ahhhhhhh)
2 days ago the mover was sheduled, so I went to find out, why it didn't run

--> Forgot to switch off test-mode 

 

- First point:  This is a bit of a trap, I read 3 times the line from 1 above: "No - setting effectively disabled this plugin". 

Quote

 No|Yes No - setting effectively disables test mode

I'd suggest rewording this a little bit, so nobody else falls prey :D Or at least make the key word bold.

 

- I went to check the output of the dry run, only to find an empty /tmp/ca.mover.tuning ?? Something broke there... /tmp is set as parent log folder path and the help text for the test mode definitely states it should write something there...

- I swapped off test mode, started mover manually, checked in syslog and found a lot of those:

Apr 17 17:39:18 <hostname> move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: eval: line 1023: syntax error near unexpected token `newline'
Apr 17 17:39:18 <hostname> move: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: eval: line 1023: `find "/mnt/cache_ssd_big/SHARE" -type f -depth -not -name '.placeholder' -printf '%T@|%s|%S|%n|%i|%p|\0' | awk -v RS='\0' -v FS='|'         -v SPARSENESS='0'         -v PRIMARYSTORAGENAME='cache_ssd_big'         -v SECONDARYSTORAGENAME='user0'         -v SHARENAME='SHARE'         -v SHAREUSECACHE='yes'         -v PRIMARYSIZETHRESH='650132494336' ' { printf "%s|%s|%s|%s|%d|%d|%d|%d|%d|%d|%s\n", PRIMARYSTORAGENAME, SECONDARYSTORAGENAME, SHARENAME, SHAREUSECACHE, $1, PRIMARYSIZETHRESH, $2, $3, $4, $5, $6}'>>'

 

I couldn't find anything wrong in that line, but I have no clue how to show linebreaks in bash/nano/...
Also now with test mode off, the log and list files in /tmp/ca.mover.tuning are being created...

 

- I think the logs should mention which share was just processed:
 

Apr 17 19:22:30 <hostname> move: Mover action: cache_ssd_big->user0 (cache:yes). Pool is above moving threshold percentage:   87% >= 65%.
Apr 17 19:22:30 <hostname> move: Updated Filtered filelist: /tmp/ca.mover.tuning/Filtered_files_2025-04-17T192228.list for SHARE
Apr 17 19:22:31 <hostname> move: Mover action: no action, only cache_ssd_big used (cache:only).
Apr 17 19:23:05 <hostname> move: Mover action: cache_ssd_big->user0 (cache:yes). Pool is above moving threshold percentage:   87% >= 65%.
Apr 17 19:23:05 <hostname> move: Updated Filtered filelist: /tmp/ca.mover.tuning/Filtered_files_2025-04-17T192228.list for data



 

 

Edited by wambo

4 hours ago, wambo said:

key word bold.

No is already bold, or what key? 

Do you have SHARE instead share name? 

 

Hi,

 

Thanks for the awesome plugin at first.

 

I probably have noticed a bug or i somewho doing someting wrong.

 

when moving a file from cache to array it's pointing to the file as below

Moving "/mnt/cache_media/./Movies/Film/T/Tangled (2010) {tmdb-38757}/Tangled.(2010).2160p.Remux.Dutch.[EN+NL].DTS.5.1.DV.HDR10.HEVC.[EN+NL]-KaPPa.mkv"  to  /mnt/user0/ 

 

But when it executes ls and rmdir the location isn't correct anymore as the directory T/ is omitted

ls: cannot access '/mnt/cache_media/Movies/Film/Tangled (2010) {tmdb-38757}': No such file or directory
Deleting empty dir /mnt/cache_media/Movies/Film/Tangled (2010) {tmdb-38757}
rmdir: failed to remove '/mnt/cache_media/Movies/Film/Tangled (2010) {tmdb-38757}': No such file or directory

 

This leaves alot of empty directories and i hope anyone can provide some help. If further information is needed please let me know.

 

Thanks in advance and greetings,

Nismanoku

13 hours ago, Masterwishx said:

No is already bold, or what key? 

I meant the difference between "plugin" and "test mode" :D I have to admit, this might be an isolated me-issue.

image.png.f4375785fd1a27113e46906b4b300f86.png

 

13 hours ago, Masterwishx said:

Do you have SHARE instead share name? 

 

I do have a share named SHARE (free access).  Oh noooo. OK I see. I picked a horrible spot, SHARE and data. Sorry.

Another point, the mover finished yesterday and at the end it didn't move enough to bring the usage down to 65% (move above) or even the 40% *Free down to* thresholds even though I found plenty of shares with enough data to be moved on them... I have no settings about spareseness or age activated...
 

4 hours ago, wambo said:

*Free down to

You need to make more gap between when to move and free down if you have big files

6 hours ago, Nismanoku said:

This leaves alot of empty directories and i hope anyone can provide some help. If further information is needed please let me know.

I changed ls to find for next version but can be still not working if some issue, you can open issue in github

7 hours ago, wambo said:

meant the difference between "plugin" and "test mode

Maybe you are right but you should look to the left on the option name, from the right just a little helping tip. 

Or you can read option description also

I would like to get some advise on the following. 

I get a lot of these messages since I installed Mover Tuning:

<my_server_name>: Unraid Status
Mover Tuning Notification
1745051921
warning
Error: Invalid filename path: 'media/<folder>/<folder>/<folder>/<filename>.mp4:Zone.Identifier' (I redacted folders and filename) 

It seems it has something to do with these Zone.Identifier files that Windows 11 adds. I actually do not know why I need those, since I already know where they came from.

How to go on about this? Disable it in Windows 11 that they are no longer are created, or is it recommended to program Mover Tuner to ignore these files or disable the warnings, which I get like a thousand times a day?

Edited by Ymetro
grammar and plugin name

3 minutes ago, Ymetro said:

How to go on about this

Disable file validation option I will put this message in next version 

25 minutes ago, Masterwishx said:

Disable file validation option I will put this message in next version 

Do you mean the "Validate input filenames to prevent attacks" option under "Settings", "User Preferences", "Scheduler" , "Mover Tuning", "Mover Tuning - Plugin Settings"? 😵‍💫🤯
(Clicking on the message got me there instantly...)

Edited by Ymetro
missed one and removed a duplicated one

1 hour ago, Ymetro said:

"Validate input filenames

Yep

I'm having an issue transferring files with the characters filtered by the 'Validate input filenames to prevent attacks' setting, such as '$', despite the setting being off/set to 'no'.

 

For example, I have a file, 'a$test.mkv' and again 'Validate input filenames to prevent attacks' is set to 'no'. However, when I run the mover it does not move and it still shows up on the filtered_files list in the log.

 

Any idea why this is happening?

10 hours ago, fry_the_solid said:

Any idea why this is happening?

Set lower freeing threshold, will be added in help text in new version 

33 minutes ago, Masterwishx said:

Set lower freeing threshold, will be added in help text in new version 

What setting are you referring to? Is it 'Free down/prime up to this level of used Primary (cache) space'? If so that is set to 0%. As far as I can tell I have no filters enabled, all files should be moved each run.

7 hours ago, fry_the_solid said:

As far as I can tell I have no filters enabled, all files should be moved each run.

Please post your logs, list files, debug

23 hours ago, fry_the_solid said:

Any idea why this is happening?

Test mode set to no? 

On 4/22/2025 at 4:34 AM, fry_the_solid said:

I'm having an issue transferring files with the characters filtered by the 'Validate input filenames to prevent attacks' setting, such as '$', despite the setting being off/set to 'no'.

I see the same issue, as well as files that contain the tilde " ~ " character, which is generated by stoopid Windows programs.

Everything else is moved, except files with these two characters in them (with "validate input filenames" set to "no").

*edit*: It also applied to files with backtics " ` " in the name, but I didn't wan them there anyway so I removed those.

Edited by manicmoose

12 hours ago, fry_the_solid said:

correct

Attached:

- Screenshot of my settings

- Screenshot of me creating the test files and listing the files before and after the mover is run

- Requested log files

results.png

settings.png

Filtered_files_2025-04-22T112656.list 319 B · 0 downloads Mover_tuning_2025-04-22T112656.log 8.62 kB · 0 downloads Debug_Mover_tuning_2025-04-22T112656.log 9.51 kB · 0 downloads

by logs i see its moving files, also you have wrong thresholds for cache prefer, delete overrides for these if you have and try set moving threshold for some % like 10% and check with real files not 0 bytes. Also missing some list files .

 

i wll try to make debug function to auto get all files in next version

5 hours ago, manicmoose said:

I see the same issue, as well as files that contain the tilde " ~ " character, which is generated by stoopid Windows programs.

Everything else is moved, except files with these two characters in them (with "validate input filenames" set to "no").

*edit*: It also applied to files with backtics " ` " in the name, but I didn't wan them there anyway so I removed those.

Do you see some warning from rsync about them ?

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.