The /scripts/autorepair fix_addon_features script is failing on my system.
So. autorepair does not work. Now what? WP-Toolkit doesn't recognise any Wordpress website anymore on all my domains.
The /scripts/autorepair fix_addon_features
script is failing on my system. It reports 'Unable to read file' for all update analysis logs. I have confirmed the files exist, have content, and have correct permissions. An strace
of the process shows that the script successfully runs stat()
and openat()
on the error_log
file but never issues a read()
system call before printing its own error message to stdout. This strongly indicates a bug within the script's internal logic.
strace:
[root@panel ~]# strace -o /root/autorepair_trace.log -f -s 256 /scripts/autorepair fix_addon_features
Requesting script ... info [autorepair] Successfully verified signature for cpanel (key types: release).
Done
Auto Repair is running...zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-15T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-06-15T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-06-15T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-14T03:38:03Z.tar.gz
Processing json_file: '/tmp/2025-06-14T03:38:03Z/error_log'
Unable to read file: '/tmp/2025-06-14T03:38:03Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-13T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-06-13T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-06-13T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-12T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-06-12T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-06-12T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-11T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-06-11T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-06-11T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-10T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-06-10T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-06-10T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-09T03:38:03Z.tar.gz
Processing json_file: '/tmp/2025-06-09T03:38:03Z/error_log'
Unable to read file: '/tmp/2025-06-09T03:38:03Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-08T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-06-08T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-06-08T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-07T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-06-07T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-06-07T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-06T03:38:03Z.tar.gz
Processing json_file: '/tmp/2025-06-06T03:38:03Z/error_log'
Unable to read file: '/tmp/2025-06-06T03:38:03Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-05T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-06-05T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-06-05T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-04T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-06-04T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-06-04T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-03T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-06-03T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-06-03T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-02T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-06-02T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-06-02T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-06-01T03:38:03Z.tar.gz
Processing json_file: '/tmp/2025-06-01T03:38:03Z/error_log'
Unable to read file: '/tmp/2025-06-01T03:38:03Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-31T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-05-31T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-05-31T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-30T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-05-30T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-05-30T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-29T03:38:04Z.tar.gz
Processing json_file: '/tmp/2025-05-29T03:38:04Z/error_log'
Unable to read file: '/tmp/2025-05-29T03:38:04Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-28T03:38:03Z.tar.gz
Processing json_file: '/tmp/2025-05-28T03:38:03Z/error_log'
Unable to read file: '/tmp/2025-05-28T03:38:03Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-27T03:38:03Z.tar.gz
Processing json_file: '/tmp/2025-05-27T03:38:03Z/error_log'
Unable to read file: '/tmp/2025-05-27T03:38:03Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-26T03:38:03Z.tar.gz
Processing json_file: '/tmp/2025-05-26T03:38:03Z/error_log'
Unable to read file: '/tmp/2025-05-26T03:38:03Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-25T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-05-25T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-05-25T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-24T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-05-24T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-05-24T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-23T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-05-23T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-05-23T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-22T03:38:04Z.tar.gz
Processing json_file: '/tmp/2025-05-22T03:38:04Z/error_log'
Unable to read file: '/tmp/2025-05-22T03:38:04Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-21T03:38:03Z.tar.gz
Processing json_file: '/tmp/2025-05-21T03:38:03Z/error_log'
Unable to read file: '/tmp/2025-05-21T03:38:03Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-20T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-05-20T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-05-20T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-19T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-05-19T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-05-19T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-18T03:38:02Z.tar.gz
Processing json_file: '/tmp/2025-05-18T03:38:02Z/error_log'
Unable to read file: '/tmp/2025-05-18T03:38:02Z/error_log'
zip_file : /usr/local/cpanel/logs/update_analysis/2025-05-17T03:38:03Z.tar.gz
Processing json_file: '/tmp/2025-05-17T03:38:03Z/error_log'
Unable to read file: '/tmp/2025-05-17T03:38:03Z/error_log'
...Auto Repair is done.
[root@panel ~]#
-
We're having the same issue.
1 -
Check the permissions on /tmp folder, that seems to be wrong.
Andrew N. - cPanel Plesk VMWare Certified Professional
Do you need immediate assistance? 20 minutes response time!* Open a ticket
EmergencySupport - Professional Server Management and One-time Services0 -
Yes, knowing the permissions on /tmp will likely help with this issue. On a default AlmaLinux 8 install /tmp is 1777 which shows as drwxrwxrwt in "ls" output.
0 -
"I have confirmed the files exist, have content, and have correct permissions." That's not it.
0 -
Can you share the output of the following command on your system?
ls -ld /tmp
0 -
Sure:
[root@panel ~]# ls -ld /tmp
drwxrwxrwt. 42 root root 4096 Jun 17 09:02 /tmp0 -
Could you submit a ticket so this can be investigated directly on your machine?
0 -
Cpanel doesn't let me. They (the ticket system) want me to submit a ticket at my VPS hosting provider.
0 -
Then you should submit a ticket to your hosting provider, and then they'll escalate to us if necessary.
0 -
Ok. I'll try that route.
0 -
It is solved. In the end they just reinstalled WP Toolkit. The autorepair script might still have this failure.
Could you please try reinstalling wp-toolkit?
You can do that with the command:
dnf reinstall wp-toolkit-cpanel
Or on ubuntu servers:
apt reinstall wp-toolkit-cpanel0
Please sign in to leave a comment.
Comments
11 comments