afragen / git-updater

This WP plugin will update GitHub, Bitbucket, GitLab, and Gitea hosted plugins and themes
https://git-updater.com
MIT License
3.21k stars 462 forks source link

WPEngine hosted websites don't show or update themes using GitUpdater any more. #1075

Open aaronsummers opened 1 week ago

aaronsummers commented 1 week ago

Hi Andy,

On WPEngine, my theme shows a "hosted on WordPress" badge and no longer shows when the theme has a new CSS version as an update in the site's backend.

My theme is hosted on Bitbucket in a private repository and was until recently updating without a problem.

afragen commented 1 week ago

Can you install Query Monitor and let me know if there are any HTTP errors? You can find more troubleshooting instructions here, https://git-updater.com/knowledge-base/troubleshooting/

aaronsummers commented 6 days ago

No HTTP errors. I control the versions using the CSS version in styles.css. I haven't used tags to push updates.

afragen commented 5 days ago

Can you share the URL of the repo?

If it's a private repo can you create a fine-grained token for me to test with?

afragen commented 4 days ago

I’ve now had several users have issues with theme updates on WPE. Working on it.

hybridwebdev commented 3 days ago

I’ve now had several users have issues with theme updates on WPE. Working on it.

Might this be an issue related to the drama between Mullenweg and WPE? Perhaps they're blocking the self-updating hook when on WPE?

afragen commented 3 days ago

It very well might be related, especially as this issue didn't previously exist. It's also curious that it only seems to be themes that are affected.

afragen commented 2 days ago

I think I have a solution. It seems the WPE API is incorrectly returning an HTTP 200 code when checking to see if a theme exists on dot org.

I have made a plugin to override this behavior and completely ignore dot org. Please install the Gist API plugin from the API Plugins tab and then Install/activate the following plugin.

https://gist.github.com/afragen/a007e35ff54e33ae92a2397f089ae8a3

afragen commented 18 hours ago

This should be fixed in v12.7.1

aaronsummers commented 5 hours ago

Thanks, Andy. I believed this was a WPEngine issue related to their dispute with Automatic. I wondered if WPEngine did this to bypass WordPress, blocking them from allowing plugin and theme updates from the WPEngine servers.