WordPress automatic updates fail on windows

Keywords: WordPress - Installers - How to - Permissions

Description:
Hello everyone,
I have a problem. I am trying to update my plugins but I get this error. Update Failed: Download failed. Destination directory for file streaming does not exist or is not writable.
I think cannot update plugin problem related about below link.
https://docs.bitnami.com/general/apps/wordpress/administration/understand-file-permissions/
The official document only provide how to config permission on linux.
I am not sure how to config file system permission on windows OS.

Which version of the application are you using?:
WordPress packaged by Bitnami 5.8.2
• Please choose how you got the application: Installer (Windows, Linux, macOS), cloud image (AWS, GCE, Azure, …) or VM (VMDK, VBOX):
Installed WordPress packaged by Bitnami 5.8.2 on Windows 10
• Have you installed any plugin or modified any configuration file?:
Yes, I copy the plugin file to apps\wordpress\htdocs\wp-content\plugins by manual before, and it’s work.
• Describe here your question/suggestion/issue (expected and actual results):
I hope to be able to update my plugins.

Does that happen with all the plugins? Do you also get the same error when updating WordPress core? If you only get that error when updating one specific plugin, please check the permissions configuration of that folder

https://www.online-tech-tips.com/computer-tips/set-file-folder-permissions-windows/

Hi jota,
Thank your response. After I check my permission configuration but it still has the same problem. And I found the apache error log as below,

[Tue Jan 11 12:22:32.666129 2022] [php7:warn] [pid 13356:tid 988] [client my.ip:40162] PHP Warning: unlink(/opt/bitnami/apps/wordpress/tmp/advanced-woo-search.2.44-mnvfEI.tmp): No such file or directory in J:\Bitnami\wordpress-5.8.2-0\apps\wordpress\htdocs\wp-admin\includes\file.php on line 1109, referer: mywebsite/wp-cron.php?doing_wp_cron=1641874944.0903298854827880859375

[Tue Jan 11 12:22:32.670121 2022] [php7:warn] [pid 13356:tid 988] [client my.ip:40162] PHP Warning: unlink(/opt/bitnami/apps/wordpress/tmp/all-in-one-wp-migration.7.52-DsPEbS.tmp): No such file or directory in J:\Bitnami\wordpress-5.8.2-0\apps\wordpress\htdocs\wp-admin\includes\file.php on line 1109, referer: mywebsite/wp-cron.php?doing_wp_cron=1641874944.0903298854827880859375

[Tue Jan 11 12:22:32.673134 2022] [php7:warn] [pid 13356:tid 988] [client my.ip:40162] PHP Warning: unlink(/opt/bitnami/apps/wordpress/tmp/amp.2.2.0-NEWBdr.tmp): No such file or directory in J:\Bitnami\wordpress-5.8.2-0\apps\wordpress\htdocs\wp-admin\includes\file.php on line 1109, referer: mywebsite/wp-cron.php?doing_wp_cron=1641874944.0903298854827880859375

[Tue Jan 11 12:22:32.677100 2022] [php7:warn] [pid 13356:tid 988] [client my.ip:40162] PHP Warning: unlink(/opt/bitnami/apps/wordpress/tmp/creative-mail-by-constant-contact.1.4.9-iT7xOw.tmp): No such file or directory in J:\Bitnami\wordpress-5.8.2-0\apps\wordpress\htdocs\wp-admin\includes\file.php on line 1109, referer: mywebsite/wp-cron.php?doing_wp_cron=1641874944.0903298854827880859375

[Tue Jan 11 12:22:32.680092 2022] [php7:warn] [pid 13356:tid 988] [client my.ip:40162] PHP Warning: unlink(/opt/bitnami/apps/wordpress/tmp/elementor.3.5.3-dVMfn9.tmp): No such file or directory in J:\Bitnami\wordpress-5.8.2-0\apps\wordpress\htdocs\wp-admin\includes\file.php on line 1109, referer: mywebsite/wp-cron.php?doing_wp_cron=1641874944.0903298854827880859375

[Tue Jan 11 12:22:32.683107 2022] [php7:warn] [pid 13356:tid 988] [client my.ip:40162] PHP Warning: unlink(/opt/bitnami/apps/wordpress/tmp/facebook-for-woocommerce.2.6.8-0k0CkD.tmp): No such file or directory in J:\Bitnami\wordpress-5.8.2-0\apps\wordpress\htdocs\wp-admin\includes\file.php on line 1109, referer: mywebsite/wp-cron.php?doing_wp_cron=1641874944.0903298854827880859375

[Tue Jan 11 12:22:32.689068 2022] [php7:warn] [pid 13356:tid 988] [client my.ip:40162] PHP Warning: unlink(/opt/bitnami/apps/wordpress/tmp/real-media-library-lite-1mZtiP.tmp): No such file or directory in J:\Bitnami\wordpress-5.8.2-0\apps\wordpress\htdocs\wp-admin\includes\file.php on line 1109, referer: mywebsite/wp-cron.php?doing_wp_cron=1641874944.0903298854827880859375

[Tue Jan 11 12:22:32.692083 2022] [php7:warn] [pid 13356:tid 988] [client my.ip:40162] PHP Warning: unlink(/opt/bitnami/apps/wordpress/tmp/simple-tags.3.4.4-uaoGsU.tmp): No such file or directory in J:\Bitnami\wordpress-5.8.2-0\apps\wordpress\htdocs\wp-admin\includes\file.php on line 1109, referer: mywebsite/wp-cron.php?doing_wp_cron=1641874944.0903298854827880859375

[Tue Jan 11 12:22:32.696072 2022] [php7:warn] [pid 13356:tid 988] [client my.ip:40162] PHP Warning: unlink(/opt/bitnami/apps/wordpress/tmp/templates-patterns-collection-nfNl92.tmp): No such file or directory in J:\Bitnami\wordpress-5.8.2-0\apps\wordpress\htdocs\wp-admin\includes\file.php on line 1109, referer: mywebsite/wp-cron.php?doing_wp_cron=1641874944.0903298854827880859375

[Tue Jan 11 12:22:32.699064 2022] [php7:warn] [pid 13356:tid 988] [client my.ip:40162] PHP Warning: unlink(/opt/bitnami/apps/wordpress/tmp/woocommerce.6.0.0-1aCGqX.tmp): No such file or directory in J:\Bitnami\wordpress-5.8.2-0\apps\wordpress\htdocs\wp-admin\includes\file.php on line 1109, referer: mywebsite/wp-cron.php?doing_wp_cron=1641874944.0903298854827880859375

[Tue Jan 11 12:22:32.702072 2022] [php7:warn] [pid 13356:tid 988] [client my.ip:40162] PHP Warning: unlink(/opt/bitnami/apps/wordpress/tmp/wordpress-seo.17.8-NxPrrq.tmp): No such file or directory in J:\Bitnami\wordpress-5.8.2-0\apps\wordpress\htdocs\wp-admin\includes\file.php on line 1109, referer: mywebsite/wp-cron.php?doing_wp_cron=1641874944.0903298854827880859375

[Tue Jan 11 12:22:33.437088 2022] [php7:warn] [pid 13356:tid 988] [client my.ip:40162] PHP Warning: unlink(/opt/bitnami/apps/wordpress/tmp/neve.3.1.3-MfPUmt.tmp): No such file or directory in J:\Bitnami\wordpress-5.8.2-0\apps\wordpress\htdocs\wp-admin\includes\file.php on line 1109, referer: mywebsite/wp-cron.php?doing_wp_cron=1641874944.0903298854827880859375

[Tue Jan 11 12:22:33.493403 2022] [php7:warn] [pid 13356:tid 988] [client my.ip:40162] PHP Warning: unlink(/opt/bitnami/apps/wordpress/tmp/wordpress-5.8.3-partial-2-Myd57N.tmp): No such file or directory in J:\Bitnami\wordpress-5.8.2-0\apps\wordpress\htdocs\wp-admin\includes\file.php on line 1109, referer: mywebsite/wp-cron.php?doing_wp_cron=1641874944.0903298854827880859375

Yes, that happen with all the plugins. I also get the same error when updating WordPress core.

Hi @kui,

That’s weird. I suggest you do the following:

  • Export the data of your current installation

https://docs.bitnami.com/installer/how-to/migrate-wordpress/#how-to-export-wordpress-content

  • Stop the services inside that installation
  • Install the latest Bitnami WordPress version in your computer
  • Import the data to that new installation

https://docs.bitnami.com/installer/how-to/migrate-wordpress/#how-to-import-wordpress-content

Let us know if the problems are solved now.