WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #51823


Ignore:
Timestamp:
11/19/2020 11:04:29 AM (10 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #51823

    • Property Focuses coding-standards removed
    • Property Component changed from General to Upgrade/Install
  • Ticket #51823 – Description

    initial v1  
    55Here is a message from my web host which offers some documentation of some of the errors:
    66
    7   about the error lines, there are thousands of these lines at 16:05
    8 
    9   [17-Nov-2020 16:05:10 UTC] PHP Warning: chmod(): No such file or directory in XX/public_h
    10 tml/wp-admin/includes/class-wp-filesystem-direct.php on line 173
    11 
    12   I think "chmod()" is called on the update process, but the files vanished between the time they were listed and the time some actions were made on them
    13 
    14   right after there's also:
    15 
    16   [17-Nov-2020 16:05:20 UTC] PHP Fatal error: Uncaught Error: Class 'MailPoetVendor\Doctrine\DBAL\Types\BooleanType' not found in XX/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Types/Type.php:2
    17 
    18   So some files were really missing during the upgrade
    19 
    20   The bug is probably related to the WP updater rather than those plugins: i looked at the SQL backup from the 17 morning, and i saw the auto_updater call was scheduled for 16:04:52
    21 
    22   First time we've seen this issue so far.. And i'm not seeing any bug report on the WP trac about it.
    23 
    24   I'd report it to them but we have too little information to share
    25 
    26   I have a question: are auto updates still enabled in jetpack settings (i think it's from wp.com which i cannot see)?
    27   Because i see a query from jetpack server during the auto-upgrade from WP. So there are chances they both tried to upgrade:
    28 
    29   [17/Nov/2020:16:04:57 +0000] "POST /wp-cron.php?doing_wp_cron=1605629097.3026950359344482421875
    30 
    31   WP cron starts the auto update
    32 
    33   [17/Nov/2020:16:05:07 +0000] "GET /2013/10/15/iran-hacks-azerbaijans-israeli-made-drone-fleet/?relatedposts=1&highlight=drones HTTP/1.1" 503
    34 
    35   Google visits a page but gets a 503 code because the upgrade is still running
    36 
    37   [17/Nov/2020:16:05:00 +0000] "POST /xmlrpc.php?for=jetpack&[...]
    38 
    39   Jetpack makes a very long call, which finishes after the google visit (logged after but started 16:05:00), and took 11s to process, there are chances it also tried to upgrade. But that's just a possibility.
    40 
    41   I have really no idea how both of them work together and if they share the same update data. It's possible that jetpack takes over and that it's an issue with it.
    42 
    43 
    44 
    45 
     7> about the error lines, there are thousands of these lines at 16:05
     8>
     9> `[17-Nov-2020 16:05:10 UTC] PHP Warning: chmod(): No such file or directory in XX/public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 173`
     10>
     11> I think "chmod()" is called on the update process, but the files vanished between the time they were listed and the time some actions were made on them
     12>
     13> right after there's also:
     14>
     15> `[17-Nov-2020 16:05:20 UTC] PHP Fatal error: Uncaught Error: Class 'MailPoetVendor\Doctrine\DBAL\Types\BooleanType' not found in XX/public_html/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/dbal/lib/Doctrine/DBAL/Types/Type.php:2`
     16>
     17> So some files were really missing during the upgrade
     18>
     19> The bug is probably related to the WP updater rather than those plugins: i looked at the SQL backup from the 17 morning, and i saw the auto_updater call was scheduled for 16:04:52
     20>
     21> First time we've seen this issue so far.. And i'm not seeing any bug report on the WP trac about it.
     22>
     23> I'd report it to them but we have too little information to share
     24>
     25> I have a question: are auto updates still enabled in jetpack settings (i think it's from wp.com which i cannot see)?
     26> Because i see a query from jetpack server during the auto-upgrade from WP. So there are chances they both tried to upgrade:
     27>
     28> `[17/Nov/2020:16:04:57 +0000] "POST /wp-cron.php?doing_wp_cron=1605629097.3026950359344482421875`
     29>
     30> WP cron starts the auto update
     31>
     32> `[17/Nov/2020:16:05:07 +0000] "GET /2013/10/15/iran-hacks-azerbaijans-israeli-made-drone-fleet/?relatedposts=1&highlight=drones HTTP/1.1" 503`
     33>
     34> Google visits a page but gets a 503 code because the upgrade is still running
     35>
     36> `[17/Nov/2020:16:05:00 +0000] "POST /xmlrpc.php?for=jetpack&[...]`
     37>
     38> Jetpack makes a very long call, which finishes after the google visit (logged after but started 16:05:00), and took 11s to process, there are chances it also tried to upgrade. But that's just a possibility.
     39>
     40> I have really no idea how both of them work together and if they share the same update data. It's possible that jetpack takes over and that it's an issue with it.