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

4 hours ago, niwmik2 said:

Today mover ran and has error "syntax error

 

did you changed permissions for /tmp folder ?

  • Replies 3.5k
  • Views 489k
  • 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

21 hours ago, Faceman said:

option a few days ago to help speed up a parity operation

You can just use mover option not to run when parity. 

But this issue with schedule need to be fixed if I will find why it's happening 

7 hours ago, Masterwishx said:

Is the latest version working fine for delete folders? 

Unfortunately not,

6 hours ago, steve1977 said:

Unfortunately not,

Please open github issue with logs

16 hours ago, niwmik2 said:

Today mover ran and has error "syntax error near

Seems I got this issue on test server, will check it

18 hours ago, niwmik2 said:

Running version 2025.03.30.  Yesterday ran for the first time successfully.  Today mover ran and has error "syntax error near unexpected token `newline'".  It then

OK found a bug will be fixed in next version, check plugin config file for :

loggingFolder="/tmp" delete if you have other same or loggingFolder=" "

4 hours ago, Masterwishx said:

OK found a bug will be fixed in next version, check plugin config file for :

loggingFolder="/tmp" delete if you have other same or loggingFolder=" "

 

Thanks, will wait for next version and confirm if it resolves the issue.

 

2 hours ago, niwmik2 said:

Thanks, will wait for next version and confirm if it resolves the issue.

But still please check if you have only one loggingFolder="/tmp" delete if you have other same or loggingFolder=" ". 

On 3/6/2025 at 8:26 PM, Meowcat285 said:

How exactly does "Synchronize Primary files to Secondary" work? I have it set, but the files don't seem to exist on both the primary and the secondary at the same time. Also if I use "Resynchronize all Primary files to Secondary" no files get synced at all. Am I doing something wrong or am I misunderstanding how the feature works?

Same for me, it just doesn't work. Mover threshold isn't met, but that "Resynchronize all Primary files to Secondary" option should be doing that anyway, am I right?

23 hours ago, Masterwishx said:

Please open github issue with logs

Which github? I tried to capture the log, but doesn't see anything interesting. See below a few lines. I wasn't able to copy all lines, but it is basically just more of the same.

 

https://pastebin.com/gnfG17V3

11 minutes ago, steve1977 said:

Which github

github.com/masterwishx/ca.mover.tuning 

Just copy files from /tmp/ca.mover.tuning 

10 hours ago, silverkin said:

option should be doing that anyway, am I right?

Will try to check it

On 4/4/2025 at 5:08 PM, niwmik2 said:

Thanks, will wait for next version and confirm if it resolves the issue.

 

Pushed the new version.

On 3/29/2025 at 9:13 AM, SubbyDew said:

My RAM keeps filling up

Check new version with fix for the long list files

On 3/28/2025 at 1:16 PM, elmlund said:

Hello all. I’m having an issue where mover tuning is filling my flash drive with logs. 

Check new version for fixed it

On 4/4/2025 at 2:09 AM, steve1977 said:

Unfortunately not,

Do you enabled option for delete folders ?

7 minutes ago, Masterwishx said:

Do you enabled option for delete folders ?

"Clean empty folders" is set to "yes".

2 hours ago, steve1977 said:

"Clean empty folders" is set to "yes".

Then just open issue in github, the link is in help part of latest version of plugin and upload log and debug files

15 hours ago, Masterwishx said:

Then just open issue in github, the link is in help part of latest version of plugin and upload log and debug files

 

Regarding this issue of "Clean empty folders",  I am able to replicate the behavior of empty folders being left after the mover runs mentioned by steve1977.  I am unsure if the behavior that I am seeing is actually the intent of the developer.  The description of clean empty folders states "This will remove the parent folder only of moved files".  This verbiage leads to the assumption that the intended behavior is only to remove the direct parent folder of the moved file and if a file is nested within multiple folders only the direct folder containing the file will be removed and the other empty parent folders will remain.  Such as /mnt/user/app/test1/test11/test111/testfile.txt.  After testfile.txt is moved only folder test111 will be cleaned but the parent nested folders test1 and test11 will remain even when empty.  Is this the intended function or should all of the parent folders be moved and cleaned without leaving empty folders?

Edited by Droidguy759
Typo

I do not know what lately was changed in regards to handling filenames, but for me, it broke filehandling for log-files of proxmox Backup Server and I am bombarded daily with about 250 Mails (in a timespan of approximately 25 minutes) from 
t20 Unraid Status: Mover Tuning Notification

with content like this:
 

Link: http://t20.local/Settings/Scheduler

Event: Unraid Status
Subject: Mover Tuning Notification
Description: Error: Invalid filename path: 'appdata/pbs/logs/tasks/98/UPID:t20:0000000A:09EE5498:00000001:67788810:garbage_collection:Backup:root@pam:'
Importance: warning


These files all exist and contain logging data and should be synced from ssd to rotating rust.
 

root@t20:/mnt/user# ls -la  appdata/pbs/logs/tasks/98/UPID:t20:0000000A:09EE5498:00000001:67788810:garbage_collection:Backup:root@
pam:
-rw-r--r-- 1 34 34 12496 Jan  4 02:09 appdata/pbs/logs/tasks/98/UPID:t20:0000000A:09EE5498:00000001:67788810:garbage_collection:Backup:root\@pam:
root@t20:/mnt/user# 


I already deleted a bunch of these messages and hoped the problem would be fixed soon.
Regarding my inbox it at least exists since the 28th or march.


I currently disabled sending mails for warnings, which I really hate.
 

I really would appreciate if someone familiar with the script can take a look at it and find a solution.

Regards
Norbert
 

Edited by norgoe
added content

7 minutes ago, norgoe said:

I do not know what lately was changed in regards to handling filenames, but for me, it broke filehandling for log-files of proxmox Backup Server and I am bombarded daily with about 250 Mails from 
t20 Unraid Status: Mover Tuning Notification

with content like this:
 

Link: http://t20.local/Settings/Scheduler

Event: Unraid Status
Subject: Mover Tuning Notification
Description: Error: Invalid filename path: 'appdata/pbs/logs/tasks/98/UPID:t20:0000000A:09EE5498:00000001:67788810:garbage_collection:Backup:root@pam:'
Importance: warning


These files all exist and contain logging data and should be synced from ssd to rotating rust.
 

root@t20:/mnt/user# ls -la  appdata/pbs/logs/tasks/98/UPID:t20:0000000A:09EE5498:00000001:67788810:garbage_collection:Backup:root@
pam:
-rw-r--r-- 1 34 34 12496 Jan  4 02:09 appdata/pbs/logs/tasks/98/UPID:t20:0000000A:09EE5498:00000001:67788810:garbage_collection:Backup:root\@pam:
root@t20:/mnt/user# 


I already deleted a bunch of these messages and hoped the problem would be fixed soon.
Regarding my inbox it at least exists since the 28th or march.

 

I really would appreciate if someone familiar with the script can take a look at it and find a solution.

Regards
Norbert

your files have : in them which is one of the characters that the Validate input filenames to prevent attacks option checks for, to stop the error disable this option

7 minutes ago, norgoe said:

really would appreciate if someone familiar with the script can take a look at it and find a solution.

Disable file validation 

Thanks, never would have thought that totally valid filenames for the OS get checked like that.
Would be great if this check could be disabled on a per share base, to have it active on other shares.

Fix Commons Problems made me aware that I'm stuck on an outdated version (2023.12.19) and recommends going with the version by masterwishx.
I can find it in Apps but sadly updating does not work (it starts but skips after noticing that 2023.12.19 is installed - see log below)

I guess the next option is uninstall and reinstall, can I just save the 'ca.mover.tuning.cfg' and overwrite it afterwards? 
 

plugin: updating: ca.mover.tuning.plg
Executing hook script: pre_plugin_checks
7.0.1
+==============================================================================
| Skipping package ca.mover.tuning-2023.12.19-x86_64-1 (already installed)
+==============================================================================
Backup current mover binary, command may fail depending on version of unRAID
Creating Soft link for 6.12 RC8 or newer since /usr/local/sbin/move is now lcoated in /usr/local/bin/move
----------------------------------------------------
ca.mover.tuning has been installed.
Copyright 2018, Andrew Zawadzki
Version: 2023.12.19
----------------------------------------------------
plugin: ca.mover.tuning.plg updated
Executing hook script: post_plugin_checks
Updating support link

 

Edited by wambo
trying to format that log -.-

2 hours ago, Droidguy759 said:

 Is this the intended function or should all of the parent folders

No, clean only parent folder of moved files

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.