[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
Tue Apr 1 23:56:25 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.8.1
Component: Upgrade/Install | Version: 6.6
Severity: major | Resolution:
Keywords: has-testing-info has-patch dev- | Focuses:
feedback |
-------------------------------------------------+-------------------------
Comment (by takuword):
Yes I saw the console messages. No need to copy .env.example :)
OK, I understand your context as well ( = not doing the test against the
test suite) now.
Replying to [comment:34 SirLouen]:
> Replying to [comment:32 takuword]:
> > Here we go. This is the screen capture (30 minutes long, be careful.
If you are just curious the result, skip to the very end):
> > ~~https://youtu.be/4sVAa4YVS28~~
> > Updated: https://youtu.be/GMXMfvJiU5Q
> > fyi: I've just uploaded the video so it might take some time to
process it on the server side.
> Ok, you are not testing what I was expecting you to test.
>
> Thanks for the video, now everything makes sense.
>
> First, I understand that you had to copy my old `Dockerfile` and the old
`docker-compose.yml` because with my last update, I had to remove them for
acceptance.
>
> You must know, that when you execute `npm run env:start` the
`.env.example` file moves into `.env` automatically, you don't need to
copy it manually.
>
> Also, the `wp-tests-config.php` is just for the `test:php` suite. But
here we are not testing against the suite, but manually in the web
interface. What I was asking, for testing purposes, was to simply do a
Core upgrade from the WordPress Updates menu (inside the WP web
interface).
>
> So now everything makes sense on what you were explaining. It was really
strange that using a docker system, it worked for you and did not work for
me.
>
> About the failing tests you see, I don't think you can simply switch the
`FS_METHOD` to `ftpext` in the `wp-tests-config.php` and still make them
pass. But I really think they still should be passing. Definitely
something to look further into. The test suite is fragile for certain edge
cases, like this particular one (anything FTP). Maybe you could open a new
ticket with this casuistry.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62718#comment:36>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list