-
AuthorPosts
-
November 19, 2021 at 11:25 pm #1329749
We have over 150 Enfold licenses so we need to be able to automate updates using WP CLI (https://developer.wordpress.org/cli/commands/). However whenever we run the command
/usr/local/bin/wp theme update enfold –path=/var/www/clients/client0/web767/web –allow-root
the response from WP CLI is
Enabling Maintenance mode…
Warning: Update package not available.
Disabling Maintenance mode…
Error: No themes updated.
+——–+————-+————-+——–+
| name | old_version | new_version | status |
+——–+————-+————-+——–+
| enfold | 4.8.6.5 | 4.8.7.1 | Error |
+——–+————-+————-+——–+
Every other theme we use is able to be updated this way but we have never been able to update Enfold. I have checked that we have a valid private token installed for the site.
Similarly getting the current Enfold version using WP CLI does not work
/usr/local/bin/wp theme search enfold –fields=name,version –allow-root
Success: Showing 0 of 0 themes.
+——+———+
| name | version |
+——+———+
+——+———+November 23, 2021 at 4:43 pm #1330155Hey Caorda,
Sorry for the late reply.
Thank you for using Enfold and pointing to this.
I found a plugin:
https://www.envato.com/lp/market-plugin/
At a first glance it should be possible to integrate it in our theme. I added it to our developer repo and I will have an eye on it for one of the future release.
Please keep an eye on https://kriesi.at/support/topic/enfold-upcoming-fixes/ or the changelog.
Best regards,
GünterOctober 23, 2024 at 2:37 pm #1469694@günter – no news on this after such a long time? Digging up this thread from the past :-)
The current Update Documentation simply refers to the Envato plugin. So yes, there IS the envato plugin, but they explicitly say:
“Authors are encouraged to implement this plugin in their items so that customers have a reliable and consistent experience across products.”The Envato plugin is not in the WP repository and so can also not be managed via wpcli. So for our aim to manage plugins completely via WPCLI, this doesn’t help. From all 50+ plugins or themes I manage for different sites, there are just two (yours and one more I won’t name) that can not be managed this way. WPCLI does not appear on the roadmap/upcoming-fixes page, but command line updates are crucial for automated workflows,
Regards
Ulrich -
AuthorPosts
- You must be logged in to reply to this topic.