woocommerce-pdf-invoices-packing-slip hidden files breaking upgrade
-
In,
/woocommerce-pdf-invoices-packing-slips/vendor/phenx/php-font-lib/
.htaccess
.gitignore
.git
.travis.ymlthe hidden files break the upgrade in secure environments (Debian WordPress with FTP ACLS) and/or are not handled properly in the manifest in the upgrade process.
Users with FTP and ACLs can capture the error in staging in their FTP logs similar to below
Sat May 1 13:06:41 2021 [pid 20133] [ftpsecure] FAIL CHMOD: Client “127.0.0.1”, “/usr/share/wordpress/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/phenx/php-font-lib/.htaccess 644”
Which is fixed by removing the hidden files in this path from the .zip, moving the plugin manually out of the plugins dir, and re-uploading locally, and re-activating.
I thought we had posted previously on this error introduced in previous versions, but there is a lot going on in the forum and I did not find previous post using search
For GUI only users, without this fix, you basically get the “Failed to Copy” error in the automatic plugin upgrade, and the plugin is just removed from the plugins list. Trying to install overtop manually via GUI even with a working old version results in a directory conflict.
- The topic ‘woocommerce-pdf-invoices-packing-slip hidden files breaking upgrade’ is closed to new replies.