Site logo

Archived topic

Availability of Updates not shown, scripted update not possible.

3 replies · Started by Content-Produktion on March 23, 2023

Viewing posts 1–4 of 4

GP (premium) is still one of the few plugins/themes that can not be managed on the command line, which is quite a hassle in an automated and/or dockerized environment.

See the screen shot https://ibb.co/5KTDWND from the latest update - while GP was updated without problems, there is not even a notificatioin available for GP-Premium Updates when doing checks with wp-cli. At the same time in the same installation the updates DO show up in the GUI. And since there is no fixed authenticated URL to download the latest updates , there is no way to perform a scripted update like we do for other plugins as a workaround. So everytime there is an Update for the paid versions of GP or GB, we have to fiddle around manually.

Within the scope of this support request I would at least ask for getting the status/update notification fixed in wp-cli so that we are at least notified about updates during the automated upgrade process. Also, having a FIXED URL for the latest version would then allow a scripted download/install of the updates. As a sample, this is how we do a workaround with another "stubborn" plugin:

The vendor offers the latest update with an (authenticated !) access unter a fixed URL:
"https://example.com/download/plugin-xxx/latest/?username=USERNAME&api_key=APIKEY"
So if we detect ( with wp plugin list ) the availablity of an update, we can install it easily with
wp plugin install "https://example.com/download/plugin-xxx/latest/?username=USERNAME&api_key=APIKEY" --force

I really hope that it will be possible to do automated / scripted updates some time soon ... and, of course, for GenerateBlocks too ;)
Regards,
Ulrich

Hi Ulrich,

Our hands are kind of tied here, as our update system is managed by Easy Digital Downloads: https://easydigitaldownloads.com/downloads/software-licensing/

If enough people request this (we have, already), they may consider implementing a fix. As of right now, I don't believe there's a way to supply a fixed URL.

Ideally, it needs to be updated to at least work with WP-CLI. We'll try to carve out some time to dig through the system to see if it's something we can fix on our end and provide a patch for.

Sorry for the inconvenience!

I second this request. I use GeneratePress on a number of sites managed via wp-cli and it is annoying when I have to open the web administration one by one just because of gp-premium. If a solution could be found, it would be a huge time saver for me.

Tom,
thanks for your reply! Seems like you are locked in at this vendor?

So basically what you say is that even you (i.e. the authors/owners of the plugin ) can not fix it in a way that at least the updates are SHOWING UP in wpcli? That is hard to imagine. I appreciate that you are going to check a workaround.

While the way how authentication, licensing and downloads are handled might be disputable, I think that not showing updates in wpcli is a bug - be it on your end or at the end of the digital-something company.

I can only say that for every feature request I get for my wordpress sites, I put in a lot of effort into finding a free plugin or writing custom code to avoid paid solutions, not because we can not afford the licenses but just because of the management hassles.

If I can support your feature requests at easy(?)digitaldownloads, let me know how. I feel like I could supply an angry rant about paying customers being treated worse than the ones using only free versions ;)

Thanks and best regards
Ulrich

This archived topic is closed to new replies.