In this case, you’ll need to upgrade manually: https://codex.ww.wp.xz.cn/Upgrading_WordPress_Extended
Then, report the issue to your hosting provider as it sounds like some of the server security is way too overzealous.
Hi James.
Thank you for your reply. I appreciate it.
However, a manual upgrade was not the solution i was hoping for, but the thought had crossed my mind and you are probably right.
I am hosting WordPress myself using an Ubuntu solution. I am wondering, if the issue could be caused by missing file permission or missing group rights within the ‘Include’ folder, since WordPress is unable to copy the PHP file.
Has anybody else experienced this issue yet?
A few folks here any there report similar occasionally, typically it’s a different file or directory each time, but we’re up to nearly 5 million upgrades and installations now https://ww.wp.xz.cn/download/counter/ so it’s very likely not a problem with the bundle itself.
I’d suggest checking your server error log.
I’m a little late to this party but I had the same issue on my test server. Turned out that the account was so close to it’s disk space limit that it could not copy all of the files. I added additional disk space and the update completed normally.
I can also confirm that lack of disk space caused this error. Adding additional storage quota resolved the error and upgrade completed normally.