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.

Preclear plugin

Featured Replies

2 minutes ago, Switchblade said:

noticed this in my log today,

Jun 30 15:08:42 Tower root: error: plugins/preclear.disk/Preclear.php: wrong csrf_token 

 

It just keeps repeating in the log.  It said there was an update, did that, but still the errors in the log keep coming.  

 

I had to uninstall the plugin.  Looks like something is wrong.....

 

No changes on my end re drives.

 

 

 

  • Replies 3.1k
  • Views 909.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Due to various continual issues with this plugin, it has now been marked as being incompatible with Unraid versions 6.9.0+   It is highly advised to uninstall this plugin (and Statistics Sen

  • I think Thanks should be directed at all those members that have been dealing with the mess the last few months. @dlandon and @Squid have been working behind the scenes to try and clean up, and o

  • Dontlookoverthere over on the unRAID subreddit figured out how to get the plugin running again with a simple edit to the plg:   https://www.reddit.com/r/unRAID/comments/7wjpus/preclear_worki

Posted Images

Ah...just found Chrome open on my pc open, but minimized so I didn't see it.   Thank you!  I just assumed it was a preclear thing, due to the error message containing the word preclear.

 

Thank you!  Guess I will go reinstall the plugin :)

 

 

attempted to clear 2 new discs. Neither will go past starting.

 

most recent plugin logs look like this:

 

Sat Jul 1 11:17:42 PDT 2017: PHP Strict Notice: Non-static method Misc::get_json() should not be called statically in /usr/local/emhttp/plugins/preclear.disk/Preclear.php on line 104
Sat Jul 1 11:17:52 PDT 2017: PHP Strict Notice: Non-static method Misc::get_json() should not be called statically in /usr/local/emhttp/plugins/preclear.disk/Preclear.php on line 104
Sat Jul 1 11:18:02 PDT 2017: PHP Strict Notice: Non-static method Misc::get_json() should not be called statically in /usr/local/emhttp/plugins/preclear.disk/Preclear.php on line 104
Sat Jul 1 11:42:44 PDT 2017: PHP Warning: unlink(/tmp/preclear_stat_sdh): No such file or directory in /usr/local/emhttp/plugins/preclear.disk/Preclear.php on line 291
Sat Jul 1 11:42:44 PDT 2017: PHP Warning: unlink(/tmp/preclear_stat_sdi): No such file or directory in /usr/local/emhttp/plugins/preclear.disk/Preclear.php on line 291

 

Tried uninstalling/reinstalling, no change.

 

Running 6.2.4, tried with safari/chrome.

 

server logs at reinstall

Jul 1 11:58:35 Brahms3 emhttp: cmd: /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin install https://raw.githubusercontent.com/gfjardim/unRAID-plugins/master/plugins/preclear.disk.plg
Jul 1 11:58:35 Brahms3 root: plugin: creating: /boot/config/plugins/preclear.disk/preclear.disk-2017.06.30b.txz - downloading from URL https://raw.githubusercontent.com/gfjardim/unRAID-plugins/master/archive/preclear.disk-2017.06.30b.txz
Jul 1 11:58:35 Brahms3 root: plugin: creating: /boot/config/plugins/preclear.disk/preclear.disk-2017.06.30b.md5 - downloading from URL https://raw.githubusercontent.com/gfjardim/unRAID-plugins/master/archive/preclear.disk-2017.06.30b.md5
Jul 1 11:58:35 Brahms3 root: plugin: skipping: /boot/readvz already exists
Jul 1 11:58:35 Brahms3 root: plugin: setting: /boot/readvz - mode to 755
Jul 1 11:58:35 Brahms3 root: plugin: creating: /boot/config/plugins/preclear.disk/StatsInstall - downloading from URL https://raw.githubusercontent.com/gfjardim/unRAID-plugins/master/source/statistics.sender/StatsInstall.page
Jul 1 11:58:35 Brahms3 root: plugin: setting: /boot/config/plugins/preclear.disk/StatsInstall - mode to 755
Jul 1 11:58:35 Brahms3 root: plugin: running: anonymous
Jul 1 11:58:42 Brahms3 root: plugin: running: anonymous
Jul 1 11:58:42 Brahms3 rc.diskinfo[12817]: killing daemon with PID [3922]
Jul 1 11:58:42 Brahms3 rc.diskinfo[12824]: process started. To terminate it, type: rc.diskinfo --quit
Jul 1 12:04:09 Brahms3 rc.diskinfo[25737]: process started. To terminate it, type: rc.diskinfo --quit

 

Plugin also is making the GUI hang. I can't get to the diagnostics window to post those.

17 hours ago, 1812 said:

attempted to clear 2 new discs. Neither will go past starting.

 

most recent plugin logs look like this:

 


Sat Jul 1 11:17:42 PDT 2017: PHP Strict Notice: Non-static method Misc::get_json() should not be called statically in /usr/local/emhttp/plugins/preclear.disk/Preclear.php on line 104
Sat Jul 1 11:17:52 PDT 2017: PHP Strict Notice: Non-static method Misc::get_json() should not be called statically in /usr/local/emhttp/plugins/preclear.disk/Preclear.php on line 104
Sat Jul 1 11:18:02 PDT 2017: PHP Strict Notice: Non-static method Misc::get_json() should not be called statically in /usr/local/emhttp/plugins/preclear.disk/Preclear.php on line 104
Sat Jul 1 11:42:44 PDT 2017: PHP Warning: unlink(/tmp/preclear_stat_sdh): No such file or directory in /usr/local/emhttp/plugins/preclear.disk/Preclear.php on line 291
Sat Jul 1 11:42:44 PDT 2017: PHP Warning: unlink(/tmp/preclear_stat_sdi): No such file or directory in /usr/local/emhttp/plugins/preclear.disk/Preclear.php on line 291

 

Tried uninstalling/reinstalling, no change.

 

Running 6.2.4, tried with safari/chrome.

 

server logs at reinstall


Jul 1 11:58:35 Brahms3 emhttp: cmd: /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin install https://raw.githubusercontent.com/gfjardim/unRAID-plugins/master/plugins/preclear.disk.plg
Jul 1 11:58:35 Brahms3 root: plugin: creating: /boot/config/plugins/preclear.disk/preclear.disk-2017.06.30b.txz - downloading from URL https://raw.githubusercontent.com/gfjardim/unRAID-plugins/master/archive/preclear.disk-2017.06.30b.txz
Jul 1 11:58:35 Brahms3 root: plugin: creating: /boot/config/plugins/preclear.disk/preclear.disk-2017.06.30b.md5 - downloading from URL https://raw.githubusercontent.com/gfjardim/unRAID-plugins/master/archive/preclear.disk-2017.06.30b.md5
Jul 1 11:58:35 Brahms3 root: plugin: skipping: /boot/readvz already exists
Jul 1 11:58:35 Brahms3 root: plugin: setting: /boot/readvz - mode to 755
Jul 1 11:58:35 Brahms3 root: plugin: creating: /boot/config/plugins/preclear.disk/StatsInstall - downloading from URL https://raw.githubusercontent.com/gfjardim/unRAID-plugins/master/source/statistics.sender/StatsInstall.page
Jul 1 11:58:35 Brahms3 root: plugin: setting: /boot/config/plugins/preclear.disk/StatsInstall - mode to 755
Jul 1 11:58:35 Brahms3 root: plugin: running: anonymous
Jul 1 11:58:42 Brahms3 root: plugin: running: anonymous
Jul 1 11:58:42 Brahms3 rc.diskinfo[12817]: killing daemon with PID [3922]
Jul 1 11:58:42 Brahms3 rc.diskinfo[12824]: process started. To terminate it, type: rc.diskinfo --quit
Jul 1 12:04:09 Brahms3 rc.diskinfo[25737]: process started. To terminate it, type: rc.diskinfo --quit

 

Plugin also is making the GUI hang. I can't get to the diagnostics window to post those.

 

 

 

Rebooting the serve has allowed the prelcear to start. Not sure why, but, ok.

When I stop the array these messages occur every second in my log:

Jul  4 08:06:39 BackupServer rc.diskinfo[7231]: PHP Warning: file_put_contents(/var/local/emhttp/smart//dev/sdg): failed to open stream: No such file or directory in /etc/rc.d/rc.diskinfo on line 483
Jul  4 08:06:40 BackupServer rc.diskinfo[7231]: PHP Warning: file_put_contents(/var/local/emhttp/smart//dev/sdg): failed to open stream: No such file or directory in /etc/rc.d/rc.diskinfo on line 483
Jul  4 08:06:41 BackupServer rc.diskinfo[7231]: PHP Warning: file_put_contents(/var/local/emhttp/smart//dev/sdg): failed to open stream: No such file or directory in /etc/rc.d/rc.diskinfo on line 483
Jul  4 08:06:42 BackupServer rc.diskinfo[7231]: PHP Warning: file_put_contents(/var/local/emhttp/smart//dev/sdg): failed to open stream: No such file or directory in /etc/rc.d/rc.diskinfo on line 483

 

Just installed a new drive. Was about to preclear it however, everything about the drive is coming up undefined. It is the same for the other drive that I have (which is already precleared). 

 

Any ideas? Have attached a screengrab and logs. 

Screen Shot 2017-07-05 at 21.25.36.png

tower-diagnostics-20170705-2126.zip

Think so.

 

This is the version I am running: 2017.07.04

 

 

Screen Shot 2017-07-05 at 21.38.11.png

Edited by ekim

  • Author
21 minutes ago, ekim said:

Think so.

 

This is the version I am running: 2017.07.04

 

 

Screen Shot 2017-07-05 at 21.38.11.png

 

That's right. Which disk are you having problems with?

Edited by gfjardim

Both of the drives show the same "undefined" thing. 

 

WCC4N0KZLNH1 is already precleared (did that about a month ago). WCC4N0NF1KKN is a new drive to me (although second hand) and what I was looking to preclear. 

Screen Shot 2017-07-05 at 22.00.56.png

I am also having same issue and when i try start Preclear status does not show and just sits there.

 

Trying to run preclear_disk.sh -A /dev/sdd 

and i get the following:
Sorry: Device /dev/sdd is busy.: 1

Even though this is still in unassigned and just sitting there

I am also having this issue, I started a new thread not realizing this existed, mods here it is if you want to delete it

 

 

 

 

 

 

preclear issue1.JPG

preclear issue2.JPG

Edited by mbc0
Wrong Pictures

  • Author

Please update your plugins and send me the Preclear Disk logs as shown below.

 

On 17/05/2015 at 8:10 PM, gfjardim said:

Q) How can I download a copy of the plugin log?

A) Please go to Tools, then Pleclear Disk, and click on the Download icon:

58d2586e87cf5_CapturadeTela2017-03-22as06_58_22.png.3225471341bf4d5dddaf798e9e6ee246.png

 

 

1 hour ago, gfjardim said:

Please update your plugins and send me the Preclear Disk logs as shown below.

 

 

 

I had this situation happen and tried to get the log, but the log is empty.

 

If it's any help, what is happening is that the serial number is shortened.

My disk serial number is:

WDC_WD2500AAJS-00VTA0_WD-WMART0840766

And what showed on the plugin UI was:

WMART0840766

Could it be a php handling of the '-'?

  • Author
2 minutes ago, dlandon said:

I had this situation happen and tried to get the log, but the log is empty.

 

If it's any help, what is happening is that the serial number is shortened.

My disk serial number is:


WDC_WD2500AAJS-00VTA0_WD-WMART0840766

And what showed on the plugin UI was:


WMART0840766

Could it be a php handling of the '-'?

 

 

Could be. Need the logs to see what is happening.

Just now, gfjardim said:

 

 

Could be. Need the logs to see what is happening.

How do I get you the log if it is empty?  Something I need to do to turn it on?

  • Author

The update I released an hour ago will compress diskinfo and preclear logs into one single zip file. That and the diagnostics file is enough to present all information I need to replicate this.

1 minute ago, gfjardim said:

 

Found a bug. Update 2017.07.05b released.

Saw it and updated.  Looks like it fixed it.

I also re-enabled diskinfo in UD on my test server and it looks good.  I'll do a bit more testing this weekend and if all is good I'll release an update to UD with the diskinfo enabled.

  • Author
1 minute ago, dlandon said:

I also re-enabled diskinfo in UD on my test server and it looks good.  I'll do a bit more testing this weekend and if all is good I'll release an update to UD with the diskinfo enabled.

 

It's not easy to cache information, update it when needed and keep everything in a consistent state. Let's see if this time it work as expected.

 

Thanks for your feedback.

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.