[wp-trac] [WordPress Trac] #62718: Automatic updater of WordPress always fails if FS_METHOD is ftpext since 6.6 with PHP 8.0+
WordPress Trac
noreply at wordpress.org
Sat Mar 29 10:58:04 UTC 2025
#62718: Automatic updater of WordPress always fails if FS_METHOD is ftpext since
6.6 with PHP 8.0+
-------------------------------------------------+-------------------------
Reporter: hideishi | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.9
Component: Upgrade/Install | Version: 6.6
Severity: major | Resolution:
Keywords: needs-unit-tests has-testing-info | Focuses:
changes-requested |
-------------------------------------------------+-------------------------
Comment (by SirLouen):
@takuword theoretically when you run it for first time, it will convert
the `.env.example` into `.env`. But I'm not sure if this is done in the
`build:dev` step or in the `env:start`, so maybe I put it too late in the
instructions, feel free to check it. If you already have the `.env` file,
feel also free to edit this manually because its not going to be edited
otherwise.
`wp-config.php` is the config it takes for regular testing with `env`.
Contrarily to [https://developer.wordpress.org/block-editor/reference-
guides/packages/packages-env/ `wp-env`] I've noticed that this docker
environment, only creates a single instance using the regular parameters
(`wp-config.php` and `wordpress_develop` database). Check the `docker-
compose.yml` file for reference.
But maybe, for PHPUnit, the container is based on
`wordpress_develop_tests` and `wp-tests-config.php`, I'm not sure, but to
test this, I'm not using the automated unit testing suite, just a manual
inspection.
But what its interesting that using my steps, and modifying `wp-tests-
config.php you were able to reproduce it.
By checking the `docker-compose.yml`, there are 0 references to the tests
environment:
https://github.com/WordPress/wordpress-develop/blob/trunk/docker-
compose.yml
How can it be possible?
If you have the time to do a screen recording with the process, you would
do my week.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62718#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list