Fixed File Health Check - fails with memory error

gib

Well-known member
Affected version
XF 2.3 RC2
I tried to run a file health check to clear the warning for the exif-reader.js file that I manually updated on previous beta and it runs out of memory every time.

I tried increasing the server memory to 512Gb, but still fails with the following error and when checking on the file health check tool page, it shows the previous check states as "pending"

=====================
ErrorException: Fatal Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 462189608 bytes) src/XF/Util/Hash.php:14

Stack trace
#0 [internal function]: XF::handleFatalError()
#1 {main}
Request state
array(4) {
["url"] => string(24) "/admin.php?tools/run-job"
["referrer"] => string(47) "https://blah/admin.php?tools/run-job"
["_GET"] => array(1) {
["tools/run-job"] => string(0) ""
}
["_POST"] => array(3) {
["_xfRedirect"] => string(61) "https://blah/admin.php?tools/file-check/81/results"
["_xfToken"] => string(8) "********"
["only_ids"] => string(4) "1327"
}
}
Delete
 
Thanks for that.

I downloaded the full install file from customer area, deleted the old vendors dir and uploaded the up to date vendor dir.
File check runs ok now, but it says "There are 2,435 missing files or files with unexpected contents. You should review these."

I ran the file recheck cron and the message disappeared, but running any futgure file checks will bring back the warning, is there a way to clear the warning for the missing files ?
 
I was also getting the out of memory error when deleting plugin files, but that has been resolved by uploading the current vendors dir.
 
Back
Top Bottom