[Plugin] Mover Tuning


Recommended Posts

3 hours ago, hugenbdd said:

Few Things.

1.) You should store the ignore file somewhere on the array and not a cache file.  In case it gets moved to the array.  I use /mnt/user/Backups/ignore-file.txt

2.)  D   - Mostly.  An example folder to ignore would be /mnt/cach/TV  You can make this even more specific, a / at the end is okay, however wildcards are not.  Make sure that this file is not created in a Windows OS as it will leave ^M (Control M) characters at the end of the lines and cause it to fail.

 

I would suggest, enable logging, set Test Mode=Yes and Move Now follows plug-in filters.  Then review what gets moved.  If your on the latest version.  The logs will be under /tmp/Mover.  If you on an old version, then review the syslog.  The test mode really helps you get the settings correct quickly with the "move now" 

 

I assume also that you want one path per line like:

/mnt/user/x

/mnt/user/y

 

And related, the "Ignore Hidden Files" also could probably use the help line to denote that its excluding paths (file/folders) to be moved that start with a dot (.*) (ex: .config)

 

Link to comment
15 hours ago, hugenbdd said:

Few Things.

1.) You should store the ignore file somewhere on the array and not a cache file.  In case it gets moved to the array.  I use /mnt/user/Backups/ignore-file.txt

2.)  D   - Mostly.  An example folder to ignore would be /mnt/cach/TV  You can make this even more specific, a / at the end is okay, however wildcards are not.  Make sure that this file is not created in a Windows OS as it will leave ^M (Control M) characters at the end of the lines and cause it to fail.

 

I would suggest, enable logging, set Test Mode=Yes and Move Now follows plug-in filters.  Then review what gets moved.  If your on the latest version.  The logs will be under /tmp/Mover.  If you on an old version, then review the syslog.  The test mode really helps you get the settings correct quickly with the "move now" 

 

 

So I put a file container the folders / paths I would like to exclude from the 'Mover' process

 

My ignore-files.txt is located in '/mnt/user/backups/' inside of the file I have the directories / folders listed like so

/mnt/cache_downloads/data/usenet

/mnt/cache_downloads/data/usenet/incomplete

 

and so on, unfortunately it doesn't seem to be working, any help would be greatly appreciated. Thank you!

 

Attached picture of my 'Mover' Settings.

mover.png

Link to comment
45 minutes ago, noraa said:

 

 

So I put a file container the folders / paths I would like to exclude from the 'Mover' process

 

My ignore-files.txt is located in '/mnt/user/backups/' inside of the file I have the directories / folders listed like so

/mnt/cache_downloads/data/usenet

/mnt/cache_downloads/data/usenet/incomplete

 

and so on, unfortunately it doesn't seem to be working, any help would be greatly appreciated. Thank you!

 

Attached picture of my 'Mover' Settings.

 

I would need to see your log entries. (syslog)   Best way to troubleshoot is to enable logs, enable test mode, and move now button follows filters.

Link to comment

Hi hugenbdd, I am having some issues setting up mover tuning on my media share.  I believe its due to spaces in the filenames.

I have managed to resolve this problem by putting double quotes around the variables that are echo'd and piped somewhere else.  Such as `sed` and `move`

 

An example of the logs im seeing are.  Which appears to be an issue processing the filesize using sed.

May 17 11:14:30 Falcon2 root: mover: started
May 17 11:14:31 Falcon2 root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 233: ((: TOTALCACHESIZE+="/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}: syntax error: operand expected (error token is ""/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}")
May 17 11:14:31 Falcon2  move: error: move, 392: No such file or directory (2): lstat: 
May 17 11:14:31 Falcon2 root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}: syntax error: operand expected (error token is ""/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}")
May 17 11:14:31 Falcon2 root: mover: finished


Once resolved, it started to error when I turned off test mode, when calling the mover itself
 

May 17 14:03:44 Falcon2 root: mover: started
May 17 14:03:44 Falcon2  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919
May 17 14:03:44 Falcon2 root: mover: finished


I cannot see any up to date source code in the GitHub repo so i cannot open a pull request to show my changes but let me know if I can help with any more info. 

  • Upvote 1
Link to comment
6 minutes ago, JayBriers said:

Hi hugenbdd, I am having some issues setting up mover tuning on my media share.  I believe its due to spaces in the filenames.

I have managed to resolve this problem by putting double quotes around the variables that are echo'd and piped somewhere else.  Such as `sed` and `move`

 

An example of the logs im seeing are.  Which appears to be an issue processing the filesize using sed.

May 17 11:14:30 Falcon2 root: mover: started
May 17 11:14:31 Falcon2 root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 233: ((: TOTALCACHESIZE+="/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}: syntax error: operand expected (error token is ""/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}")
May 17 11:14:31 Falcon2  move: error: move, 392: No such file or directory (2): lstat: 
May 17 11:14:31 Falcon2 root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}: syntax error: operand expected (error token is ""/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}")
May 17 11:14:31 Falcon2 root: mover: finished


Once resolved, it started to error when I turned off test mode, when calling the mover itself
 

May 17 14:03:44 Falcon2 root: mover: started
May 17 14:03:44 Falcon2  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919
May 17 14:03:44 Falcon2 root: mover: finished


I cannot see any up to date source code in the GitHub repo so i cannot open a pull request to show my changes but let me know if I can help with any more info. 

Yup, looks like a bug.  I'm surprised I haven't run into this on my box as I do have spaces in files.

 

Are you on the latest Mover Tuning release and what version of unRAID?

Link to comment
10 minutes ago, hugenbdd said:

Yup, looks like a bug.  I'm surprised I haven't run into this on my box as I do have spaces in files.

 

Are you on the latest Mover Tuning release and what version of unRAID?

Latest version of Mover Tuning, and Unraid 6.11.5

  • Upvote 1
Link to comment
14 minutes ago, JayBriers said:

Latest version of Mover Tuning, and Unraid 6.11.5

Sent you a DM asking for some files.
I believe this has something to do with the naming of the files and not just the spaces.  (Maybe special characters, not certain yet)

Link to comment
5 hours ago, hugenbdd said:

Sent you a DM asking for some files.
I believe this has something to do with the naming of the files and not just the spaces.  (Maybe special characters, not certain yet)

 

I'm having the same issue with UnRaid 6.12.0RC5 and Mover Tuning 2023.05.16.

1st is default mover without error

2nd is mover tuning with error

3rd is mover tuning with normal file name and without error

 

May 17 11:25:42 Nass emhttpd: shcmd (221255): /usr/local/sbin/mover |& logger -t move &
May 17 11:25:42 Nass root: Starting Mover
May 17 11:25:42 Nass root: ionice -c 2 -n 0 nice -n 0 /usr/local/sbin/mover.old 
May 17 11:25:42 Nass move: mover: started
May 17 11:25:42 Nass move: file: /mnt/cache/files/Y2Mate.is - PROJECT MASTER YI  Login Screen - League of Legends-YjrL3WjaSN0-720p-1654334915588.mp4
May 17 11:25:42 Nass move: mover: finished

May 17 11:26:41 Nass emhttpd: shcmd (221928): /usr/local/sbin/mover |& logger -t move &
May 17 11:26:41 Nass root: Starting Mover
May 17 11:26:41 Nass root: ionice -c 2 -n 0 nice -n 0 /usr/local/emhttp/plugins/ca.mover.tuning/age_mover start 0 0 0 '' '' '' '' no 10 '' ''
May 17 11:26:41 Nass move: Log Level: 1
May 17 11:26:41 Nass move: mover: started
May 17 11:26:41 Nass move: error: move, 380: No such file or directory (2): lstat: /mnt/cache/files/Y2Mate.is - PROJECT MASTER YI Login Screen - League of Legends-YjrL3WjaSN0-720p-1654334915588.mp4
May 17 11:26:41 Nass move: mover: finished

May 17 11:40:01 Nass root: Starting Mover
May 17 11:40:01 Nass root: ionice -c 2 -n 0 nice -n 0 /usr/local/emhttp/plugins/ca.mover.tuning/age_mover start 0 0 0 '' '' '' '' no 10 '' ''
May 17 11:40:01 Nass root: Log Level: 1
May 17 11:40:01 Nass root: mover: started
May 17 11:40:01 Nass root: skip: /mnt/cache/files/test.mp4
May 17 11:40:01 Nass root: mover: finished

 

Link to comment

Also having one small issue / clarification:

 

Running "move now" 3 times in a row somehow forces the move and ignores the rules, even though "Move Now button follows plug-in filters" is set to yes.

It follow the rules the first 2 times I press "move now" though.

 

Is this intended / a feature or a bug?

Edited by FayeInMay
Added question
Link to comment
4 minutes ago, FayeInMay said:

Also having one small issue / clarification:

 

Running "move now" 3 times in a row somehow forces the move and ignores the rules, even though "Move Now button follows plug-in filters" is set to yes.

It follow the rules the first 2 times I press "move now" though.

 

Is this intended / a feature or a bug?

I think a fix for Jay's issue and it might also fix yours.  However, the forum is slow/down so I can't send it over to him to test.

 

no it's not intended.

Link to comment
8 hours ago, noraa said:

So I put a file container the folders / paths I would like to exclude from the 'Mover' process

 

My ignore-files.txt is located in '/mnt/user/backups/' inside of the file I have the directories / folders listed like so

/mnt/cache_downloads/data/usenet

/mnt/cache_downloads/data/usenet/incomplete

 

and so on, unfortunately it doesn't seem to be working, any help would be greatly appreciated. Thank you!

 

You dont need the `incomplete` since its resides inside the `usenet` already, grep will capture both anyway (the start path is the same, its match)

 

The command just uses `grep` with `-v` to filter (removing) the matched from the result, combined with `-F` to literal string (no regex) and `-f` to specify the file that contains one pattern (in this case literal string only) per line.

See grep man https://man7.org/linux/man-pages/man1/grep.1.html

 

Test mode would run something like `find "/mnt/cache_downloads/data" | grep -vFf '/mnt/user/backups/ignore-files.txt'`

 

Edited by fabricionaweb
Link to comment
7 hours ago, JayBriers said:

Hi hugenbdd, I am having some issues setting up mover tuning on my media share.  I believe its due to spaces in the filenames.

I have managed to resolve this problem by putting double quotes around the variables that are echo'd and piped somewhere else.  Such as `sed` and `move`

 

An example of the logs im seeing are.  Which appears to be an issue processing the filesize using sed.

May 17 11:14:30 Falcon2 root: mover: started
May 17 11:14:31 Falcon2 root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 233: ((: TOTALCACHESIZE+="/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}: syntax error: operand expected (error token is ""/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}")
May 17 11:14:31 Falcon2  move: error: move, 392: No such file or directory (2): lstat: 
May 17 11:14:31 Falcon2 root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}: syntax error: operand expected (error token is ""/mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919}")
May 17 11:14:31 Falcon2 root: mover: finished


Once resolved, it started to error when I turned off test mode, when calling the mover itself
 

May 17 14:03:44 Falcon2 root: mover: started
May 17 14:03:44 Falcon2  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/media/Films/Blitz (2011) {imdb-tt1297919}/Blitz (2011) {imdb-tt1297919
May 17 14:03:44 Falcon2 root: mover: finished


I cannot see any up to date source code in the GitHub repo so i cannot open a pull request to show my changes but let me know if I can help with any more info. 

 

Hi hugenbdd,

 

I rain into the exact same issue. Maybe i can contribute too for debugging?


Im using a naming scheme from trash-guides for Radarrr and Sonarr.

For example, Radarr (for plex) https://trash-guides.info/Radarr/Radarr-recommended-naming-scheme/

 

logs:

May 17 23:46:36 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Searching (2018)/Searching (2018) {imdb-tt7668870}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Searching (2018)/Searching (2018) {imdb-tt7668870}")
May 17 23:46:37 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Searching (2018)/Searching (2018) {imdb-tt7668870}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Searching (2018)/Searching (2018) {imdb-tt7668870}")
May 17 23:46:37 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Second Act (2018)/Second Act (2018) {imdb-tt2126357}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Second Act (2018)/Second Act (2018) {imdb-tt2126357}")
May 17 23:46:38 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Second Act (2018)/Second Act (2018) {imdb-tt2126357}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Second Act (2018)/Second Act (2018) {imdb-tt2126357}")
May 17 23:46:38 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Sgt. Stubby An American Hero (2018)/Sgt. Stubby An American Hero (2018) {imdb-tt5314190}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Sgt. Stubby An American Hero (2018)/Sgt. Stubby An American Hero (2018) {imdb-tt5314190}")

 

Edited by flash2000
Link to comment
37 minutes ago, flash2000 said:

 

Hi hugenbdd,

 

I rain into the exact same issue. Maybe i can contribute too for debugging?


Im using a naming scheme from trash-guides for Radarrr and Sonarr.

For example, Radarr (for plex) https://trash-guides.info/Radarr/Radarr-recommended-naming-scheme/

 

logs:

May 17 23:46:36 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Searching (2018)/Searching (2018) {imdb-tt7668870}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Searching (2018)/Searching (2018) {imdb-tt7668870}")
May 17 23:46:37 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Searching (2018)/Searching (2018) {imdb-tt7668870}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Searching (2018)/Searching (2018) {imdb-tt7668870}")
May 17 23:46:37 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Second Act (2018)/Second Act (2018) {imdb-tt2126357}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Second Act (2018)/Second Act (2018) {imdb-tt2126357}")
May 17 23:46:38 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Second Act (2018)/Second Act (2018) {imdb-tt2126357}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Second Act (2018)/Second Act (2018) {imdb-tt2126357}")
May 17 23:46:38 Lisa-System root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 146: ((: REMAININGCACHESIZE-="/mnt/datacache/data/media/movies/Sgt. Stubby An American Hero (2018)/Sgt. Stubby An American Hero (2018) {imdb-tt5314190}: syntax error: operand expected (error token is ""/mnt/datacache/data/media/movies/Sgt. Stubby An American Hero (2018)/Sgt. Stubby An American Hero (2018) {imdb-tt5314190}")

 

I have an updated file.  It appears because I didn't " the variable in the echo statements that the } and [ in the names interacted with the SED statement.  First time I have run into something like that.  I have a file with it fixed and it works on my limited testing.

 

Going to try and put a release out tomorrow, but if you want to test you can update the age_mover file.

 

age_mover.txt

  • Upvote 1
Link to comment
12 hours ago, hugenbdd said:

I have an updated file.  It appears because I didn't " the variable in the echo statements that the } and [ in the names interacted with the SED statement.  First time I have run into something like that.  I have a file with it fixed and it works on my limited testing.

 

Going to try and put a release out tomorrow, but if you want to test you can update the age_mover file.

 

age_mover.txt 19.99 kB · 3 downloads


Thanks for taking the suggestions on board so quickly.  Can confirm for others that these changes are working for me. 

Link to comment

something in the update broke my mover set up.  Plugin auto updated yesterday and this morning mover is not moving files from cache to array. My use case for this plugin is a simple one, I just want the functionality to prevent mover from running once a parity check kicks off, otherwise it has been set to run every day at 6 am. It has been doing this with out problem until yesterdays update.

I grabbed diagnostics and attached here prior to a reboot hoping that may fix it but no go.

 

Interestingly some of the files are moved off the cache and some are not, but all the directory's remain on cache.

 

After reboot I ran in test mode with logging enabled and the lines output this way:

 

May 18 08:30:33 Tower emhttpd: shcmd (155): /usr/local/sbin/mover |& logger & May 18 08:30:33 Tower root: Starting Mover May 18 08:30:33 Tower root: ionice -c 2 -n 0 nice -n 0 /usr/local/emhttp/plugins/ca.mover.tuning/age_mover start 0 0 0 '' '' '' '' no 50 'yes' '' May 18 08:30:33 Tower root: Log Level: 1 May 18 08:30:33 Tower root: mover: started May 18 08:30:34 Tower root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 233: ((: TOTALCACHESIZE+="/mnt/cache/MEDIA/Music/CDs/Public Image Ltd/2010 - Live at Brixton Academy 2009: syntax error: operand expected (error token is ""/mnt/cache/MEDIA/Music/CDs/Public Image Ltd/2010 - Live at Brixton Academy 2009") May 18 08:30:34 Tower root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 233: ((: TOTALCACHESIZE+="/mnt/cache/MEDIA/Music/CDs/Mastodon/2006 - Blood Mountain: syntax error: operand expected (error token is ""/mnt/cache/MEDIA/Music/CDs/Mastodon/2006 - Blood Mountain") May 18 08:30:34 Tower root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 233: ((: TOTALCACHESIZE+="/mnt/cache/MEDIA/Music/CDs/Mastodon/2006 - Call of the Mastodon: syntax error: operand expected (error token is ""/mnt/cache/MEDIA/Music/CDs/Mastodon/2006 - Call of the Mastodon") May 18 08:30:34 Tower root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 233: ((: TOTALCACHESIZE+="/mnt/cache/MEDIA/Music/CDs/Mastodon/2009 - Crack the Skye: syntax error: operand expected (error token is ""/mnt/cache/MEDIA/Music/CDs/Mastodon/2009 - Crack the Skye")

 

Settings:

image.thumb.png.fda22814868ae60e5f1f252a45aa84b1.png

ideas to fix it?

tower-diagnostics-20230518-0807.zip

Link to comment
2 minutes ago, wirenut said:

something in the update broke my mover set up.  Plugin auto updated yesterday and this morning mover is not moving files from cache to array. My use case for this plugin is a simple one, I just want the functionality to prevent mover from running once a parity check kicks off, otherwise it has been set to run every day at 6 am. It has been doing this with out problem until yesterdays update.

I grabbed diagnostics and attached here prior to a reboot hoping that may fix it but no go.

 

Interestingly some of the files are moved off the cache and some are not, but all the directory's remain on cache.

 

After reboot I ran in test mode with logging enabled and the lines output this way:

 

May 18 08:30:33 Tower emhttpd: shcmd (155): /usr/local/sbin/mover |& logger & May 18 08:30:33 Tower root: Starting Mover May 18 08:30:33 Tower root: ionice -c 2 -n 0 nice -n 0 /usr/local/emhttp/plugins/ca.mover.tuning/age_mover start 0 0 0 '' '' '' '' no 50 'yes' '' May 18 08:30:33 Tower root: Log Level: 1 May 18 08:30:33 Tower root: mover: started May 18 08:30:34 Tower root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 233: ((: TOTALCACHESIZE+="/mnt/cache/MEDIA/Music/CDs/Public Image Ltd/2010 - Live at Brixton Academy 2009: syntax error: operand expected (error token is ""/mnt/cache/MEDIA/Music/CDs/Public Image Ltd/2010 - Live at Brixton Academy 2009") May 18 08:30:34 Tower root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 233: ((: TOTALCACHESIZE+="/mnt/cache/MEDIA/Music/CDs/Mastodon/2006 - Blood Mountain: syntax error: operand expected (error token is ""/mnt/cache/MEDIA/Music/CDs/Mastodon/2006 - Blood Mountain") May 18 08:30:34 Tower root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 233: ((: TOTALCACHESIZE+="/mnt/cache/MEDIA/Music/CDs/Mastodon/2006 - Call of the Mastodon: syntax error: operand expected (error token is ""/mnt/cache/MEDIA/Music/CDs/Mastodon/2006 - Call of the Mastodon") May 18 08:30:34 Tower root: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover: line 233: ((: TOTALCACHESIZE+="/mnt/cache/MEDIA/Music/CDs/Mastodon/2009 - Crack the Skye: syntax error: operand expected (error token is ""/mnt/cache/MEDIA/Music/CDs/Mastodon/2009 - Crack the Skye")

 

Settings:

image.thumb.png.fda22814868ae60e5f1f252a45aa84b1.png

ideas to fix it?

tower-diagnostics-20230518-0807.zip 306.51 kB · 0 downloads

I'll have an update out this afternoon to fix it.

Link to comment

###2023.05.18
- Fixed a issue where SED was seeing [] and {} inside of the filepath string, by double quoting the echo'd variable.
- Added softstop as a command to gracefully exit the mover from the command line.  Checks for a (empty) file under /var/run/moversoft.stop before sending each file to the binary mover.  Will exit the loop if the file exists and mover will stop once the current file is done moving.  This is more graceful than the original stop (Which still exists) that just kills the PID.

 

Example: /usr/local/emhttp/plugins/ca.mover.tuning/age_mover softstop

Link to comment
2 hours ago, wirenut said:

Well that was fast. Very good thank you.

OK i updated and ran mover again. The files have been moved to the array but the the empty folders are left behind on the cache.

I am used to seeing, once mover finished that these would be gone. I am assuming it is ok to delete these but not sure?

Link to comment
27 minutes ago, wirenut said:

OK i updated and ran mover again. The files have been moved to the array but the the empty folders are left behind on the cache.

I am used to seeing, once mover finished that these would be gone. I am assuming it is ok to delete these but not sure?

Yeah, right now I'm specifically excluding them.  But I guess I shouldn't.  Next release I'll move empty folders.

Link to comment
4 hours ago, wirenut said:

My use case for this plugin is a simple one, I just want the functionality to prevent mover from running once a parity check kicks off, otherwise it has been set to run every day at 6 am

You could do this the other way around if you install the Parity Check Tuning plugin - it has an option to pause a parity check if mover kicks in while a parity check is running and resume it when mover finishes.

Link to comment

hey guys was there some issues with the previous version of mover cause today i noticed that mover has been throwing errors like these from 17th may.

May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/Shivam/files/AutoSync/Oneplus 8T/CAM/2023/05/IMG_20230516_190018.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/Shivam/files/AutoSync/Oneplus 8T/CAM/2023/05/IMG_20230516_190035.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/Shivam/files/AutoSync/Oneplus 8T/CAM/2023/05/IMG_20230516_190028.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/Shivam/files/AutoSync/Oneplus 8T/CAM/2023/05/IMG_20230516_190222.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/Shivam/files/AutoSync/Oneplus 8T/CAM/2023/05/IMG_20230516_190224.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/9/0/b/1/8/a/6/66245/1849-4096-max.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/9/0/b/1/8/a/6/66245/256-256-crop.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/7/c/4/8/0/3/2/66255/4000-1800-max.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/7/c/4/8/0/3/2/66255/256-256-crop.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/7/1/3/6/1/8/d/66275/4096-1849-max.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/7/1/3/6/1/8/d/66275/256-256-crop.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/2/3/7/f/d/0/9/66265/4000-1800-max.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/2/3/7/f/d/0/9/66265/256-256-crop.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/8/f/8/d/9/a/0/66285/4096-1849-max.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/8/f/8/d/9/a/0/66285/256-256-crop.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Media/All Movies/Movies/The Super Mario Bros. Movie (2023)/The Super Mario Bros. Movie (2023) WEBDL-2160p.mkv
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/cctv/uItw4yLwPX/an1AnomvOg/2023-05-16T05-55-47.mp4
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/cctv/uItw4yLwPX/an1AnomvOg/2023-05-16T06-18-35.mp4
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/cctv/uItw4yLwPX/an1AnomvOg/2023-05-16T06-23-14.mp4

And i checked for these files and they are there in the disk now, so it looks like even though mover successfully moved these files it is throwing these errors. 

Link to comment
3 hours ago, Max said:

hey guys was there some issues with the previous version of mover cause today i noticed that mover has been throwing errors like these from 17th may.

May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/Shivam/files/AutoSync/Oneplus 8T/CAM/2023/05/IMG_20230516_190018.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/Shivam/files/AutoSync/Oneplus 8T/CAM/2023/05/IMG_20230516_190035.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/Shivam/files/AutoSync/Oneplus 8T/CAM/2023/05/IMG_20230516_190028.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/Shivam/files/AutoSync/Oneplus 8T/CAM/2023/05/IMG_20230516_190222.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/Shivam/files/AutoSync/Oneplus 8T/CAM/2023/05/IMG_20230516_190224.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/9/0/b/1/8/a/6/66245/1849-4096-max.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/9/0/b/1/8/a/6/66245/256-256-crop.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/7/c/4/8/0/3/2/66255/4000-1800-max.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/7/c/4/8/0/3/2/66255/256-256-crop.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/7/1/3/6/1/8/d/66275/4096-1849-max.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/7/1/3/6/1/8/d/66275/256-256-crop.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/2/3/7/f/d/0/9/66265/4000-1800-max.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/2/3/7/f/d/0/9/66265/256-256-crop.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/8/f/8/d/9/a/0/66285/4096-1849-max.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/8/f/8/d/9/a/0/66285/256-256-crop.jpg
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Media/All Movies/Movies/The Super Mario Bros. Movie (2023)/The Super Mario Bros. Movie (2023) WEBDL-2160p.mkv
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/cctv/uItw4yLwPX/an1AnomvOg/2023-05-16T05-55-47.mp4
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/cctv/uItw4yLwPX/an1AnomvOg/2023-05-16T06-18-35.mp4
May 17 04:05:07 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/cctv/uItw4yLwPX/an1AnomvOg/2023-05-16T06-23-14.mp4

And i checked for these files and they are there in the disk now, so it looks like even though mover successfully moved these files it is throwing these errors. 

Few questions.

1.) Did you install the update I released yesterday?

2.) Can you send me some of the files (in a DM) that are under /tmp/Mover

3.) what version are you on?

Link to comment
18 hours ago, hugenbdd said:

Few questions.

1.) Did you install the update I released yesterday?

2.) Can you send me some of the files (in a DM) that are under /tmp/Mover

3.) what version are you on?

1.) Yes and it is still throwing those same errors.

May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/9/0/b/1/8/a/6/66245/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/9/0/b/1/8/a/6/66245/1024-2268.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/7/c/4/8/0/3/2/66255/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/7/1/3/6/1/8/d/66275/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/2/3/7/f/d/0/9/66265/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/8/f/8/d/9/a/0/66285/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/e/b/4/0/7/9/6/66339/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/e/b/c/a/c/8/1/66088/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/e/7/7/c/7/b/5/66134/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/c/2/5/7/e/c/d/66234/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/c/2/5/7/e/c/d/66234/1024-2276.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/c/7/3/8/3/3/a/66224/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/c/d/9/2/3/9/0/66048/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/d/4/2/7/c/6/2/66193/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/d/8/5/1/9/3/a/66144/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/5/b/d/d/7/b/3/66204/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/5/9/7/3/2/4/1/66154/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/6/0/7/8/0/d/5/66214/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/6/4/c/4/9/b/4/66182/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/0/1/7/6/8/b/3/66172/1024-1024-crop.jpg
May 20 04:11:11 Unraid  move: error: move, 392: No such file or directory (2): lstat: /mnt/cache/Data/appdata_oci6r1eodkwt/preview/1/f/1/3/e/d/f/66078/1024-1024-crop.jpg

2.) Don't know where that is.  😅

3.) if you meant unraid version then i'm on 6.11.5.

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.