Pretty fresh install of 7.14.1 Diagnostic Tool page shows the list of diagnostic checks (no check boxes to select individual options), and executing diagnostic leaves it hanging at 0%. It does create a file, but it’s an empty file. I’ve reset permissions a few times, not sure what else to do with this.
I’m not a coder, but I can generally figure things out. Any help appreciated.
content.js:33 Uncaught (in promise) Error: Illegal argument undefined
at e.exports (content.js:33:95534)
at content.js:73:1543363
at p (content.js:73:185751)
at Generator._invoke (content.js:73:185504)
at Generator.next (content.js:73:186114)
at r (content.js:73:192157)
at s (content.js:73:192360)
Log file shows the three entries below.
PHP Warning: opendir(cache/diagnostic/3a603e73-825e-ced3-46b9-654420cdd58f/diagnostic20231102-222052/): failed to open dir: No such file or directory in /var/www/html/SuiteCRM/modules/Administration/DiagnosticRun.php on line 254, referer: https://192.168.2.1/crm/index.php?module=Administration&action=Diagnostic
PHP Warning: filesize(): stat failed for cache/diagnostic/3a603e73-825e-ced3-46b9-654420cdd58f/diagnostic20231102-222052.zip in /var/www/html/SuiteCRM/modules/Administration/DiagnosticDownload.php on line 61, referer: https://192.168.2.1/crm/index.php
PHP Warning: readfile(cache/diagnostic/3a603e73-825e-ced3-46b9-654420cdd58f/diagnostic20231102-222052.zip): failed to open stream: No such file or directory in /var/www/html/SuiteCRM/modules/Administration/DiagnosticDownload.php on line 71, referer: https://192.168.2.1/crm/index.php
The parent folder is being created in the cache/Diagnostic folder, but the subfolder isnt for some reason
php 7.4 - i think - i have other versions installed but and was trying to determine which suitecrm was using from the diagnostic tool
Same. It hangs at 0%. Version is 7.14.1. PHP is 8.1. In suitecrm.log:
Fri Nov 3 00:37:34 2023 [118][1][FATAL] Exception handling in /bitnami/suitecrm/include/MVC/Controller/SugarController.php:397
Fri Nov 3 00:37:34 2023 [118][1][FATAL] Exception in Controller: opendir(cache/diagnostic/d825a09c-7f38-5abb-8564-65444008b0ee/diagnostic20231103-003734/): Failed to open directory: No such file or directory
# ls cache/diagnostic/d825a09c-7f38-5abb-8564-65444008b0ee/ -la
total 8
drwxrws--- 2 daemon daemon 4096 Nov 3 00:37 .
drwxrws--- 7 daemon daemon 4096 Nov 3 00:37 ..
The directory cache/diagnostic/d825a09c-7f38-5abb-8564-65444008b0ee/diagnostic20231103-003734/ is somehow missing.
update: when I go to diagnostics normally I see no checkboxes and it won’t go past 0%, but when I do so with the developer console open in Chrome it then shows the checkboxes and runs normally going to 100% and producing the diagnostics files without error.
Is this normal behaviour?
Diagnostics are supposed to be a core part of improving the application. There was something in the Suitecrm discussion about checking for bugs introduced when changes are made. I don’t think there is any error checking for bugs introduced with new revisions–testing by users and feedback. This was working and has now degraded from some versions ago. Do these functions get tested automatically or was that abandonned?