Site logo

Archived topic

GP Premium Plugin is not automatically updatet

7 replies · Started by Alfons on March 18, 2022

Viewing posts 1–8 of 8

Hello,

I am the owner of a lifetime-licence. Till now I made 3 projects with GP. But the Plugin in no project never goes automatically updatet like all the other plugins. Everything ist done right. The licence is inside and the plugin is set to automatically updates but it does not work. Can anyone imagine what could be the problem.

greetings

Hi Alfons,

GP Premium isn't compatible with automatic updates at this time.

You can always do the update manually though. (Some may even argue it's preferable as automatic updates, while this rarely occurs, can breaking things)

Here's a brief guide on how to update GP Premium -
https://docs.generatepress.com/article/updating-gp-premium/

Hi, could you expand on what do you mean by GP Premium isn't compatible with automatic updates? I have currently two websites running GP Premium. On the oldest (started with version 1.12.3), I was able to activate the "auto-updates" in the Wordpress plugin page, along with enabling updates by confirming the license as in your attached article. That GP Premium has updated from 1.12.3 to 2.1.2 automatically (the website is fairly simple so I've had no problems so far with auto updates). Recently I created a new website, and when I installed the plugin (version 2.1.2), and I activated it as the docs instruct, I don't get the option of "enabling" auto-updates in the Wordpress plugin page; moreover, Wordpress indicates that GP Premium has Auto-updates disabled. Why is there a difference between my two installations on the auto-updating option in the Wordpress Plugin page? And what do you mean that auto-update is not supported if my old installation has been auto-updating without issues?

I've noticed that as well. I assume that the auto-update feature in WordPress itself isn't perfect and has some quirks.

Technically, it shouldn't be possible to auto-update GP Premium until we make the updater code available outside of the admin area.

Thanks for the reply, Tom. After my post, the option to enable "auto-updates" for the plugin popped up for the newer installation. Not sure why or how (the only change I did to the website was changing PhP from 7.4 to 8.1, not sure if related)--and I "enabled" it.

But.. what does this mean now? Are the auto-updates that have been done from 1.12.3 to 2.1.2 somehow "wrong" and I should disable the auto updates? Also, I'm confusing what it means when I enter the license and says "Receiving premium updates", does that mean the version updates (e.g., 2.1.1->2.1.2), or something else? Sorry, I'm not familiar with wordpress' inner workings so I'm just confused between these two "updates" procedures (the wordpress' auto-update that is working when it shouldn't, and the activating the license to show a "Receiving premium updates" notification).

No, I wouldn't worry about it at all. Perhaps WP improved auto-updates and we don't have to enable them within the plugin anymore - I'll look into it.

"Receiving premium updates" means that your license key is activated and you'll be able to see future updates in the Dashboard and install them.

Let us know if you have any other questions :)

If automatic updates to GP Premium won't work as part of the standard WordPress plugin auto-update cycle... how about adding a WP CLI interface, so we can trigger a GP Premium update (or update all GP components) from a cron job? That would be helpful.

You should be able to do this in WP CLI just like any other plugin as long as your license key is activated.

This archived topic is closed to new replies.