[wp-trac] [WordPress Trac] #62029: Do not bloat Debug Log with Scraping home page… when auto upgrade is OK
WordPress Trac
noreply at wordpress.org
Thu Sep 19 10:42:06 UTC 2024
#62029: Do not bloat Debug Log with Scraping home page… when auto upgrade is OK
-----------------------------+---------------------
Reporter: georgwordpress | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.7
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+---------------------
Comment (by georgwordpress):
I thought I would get a quicker result if I continued to strip down the
existing installation.
But so far no improvement.
- deactivate all plugins
- standard wp log file
- no customized maintenance
I keep only one plugin activated - a plugin which can manual trigger the
cron event wp_version_check.
So - first I changed the version number of this active plugin to a lower
number.
After the backend reported the availability of a new version I trigger the
cron event wp_version_check.
The Result:
The Plugin is updated without Errors.
But the full html body of the maintenance screen is scraped into the log.
I also changed to another cron plugin - but result was the same.
Then I tried another trigger with a small php file in root directory:
{{{
require( dirname(__FILE__) . '/wp-load.php' );
wp_maybe_auto_update();
}}}
Now the result was:
{{{
[19-Sep-2024 06:50:50 UTC] Automatic updates starting...
[19-Sep-2024 06:50:50 UTC] Automatic plugin updates starting...
[19-Sep-2024 06:50:50 UTC] Upgrading plugin 'leira-cron-jobs'...
[19-Sep-2024 06:50:52 UTC] Plugin 'leira-cron-jobs' has been upgraded.
[19-Sep-2024 06:50:52 UTC] 'leira-cron-jobs/leira-cron-jobs.php' is
inactive and will not be checked for fatal errors.
[19-Sep-2024 06:50:54 UTC] Scraping home page...
[19-Sep-2024 06:50:54 UTC] '######
wp_scraping_result_start:45c085e5500d698b70ea24fc53edde59 ######
true
###### wp_scraping_result_end:45c085e5500d698b70ea24fc53edde59 ######
'
[19-Sep-2024 06:50:54 UTC] The update for 'leira-cron-jobs' has no
fatal errors.
[19-Sep-2024 06:50:54 UTC] Automatic plugin updates complete.
[19-Sep-2024 06:50:54 UTC] Automatic updates complete.
}}}
No scraping of full html body - but during the update the plugin becomes
deactivated (see log)?
And becomes not activited again after the end of the update process?
What is the best way for manual testing and forcing automatic updates?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62029#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list