Pushing or pulling to and from WPEngine fails. When pulling, LocalWP reports success but the site folder only contains one or two empty folders. Downloading a zip backup and dropping it into LocalWP creates a working site but encounters an error when pushing to remote. The error when pushing is “Uh-oh! We ran into an issue when updating the table prefix from WP Engine. You might need to set the $table_prefix variable in the wp-config.php on Wp Engine to wp_”
Steps to reproduce
Pulling:
Login and authenticate with an API
Pull the environment (development)
LocalWp reports success but app/public folder only contained empty “_wpeprivate” folder.
Pushing
Download a recent backup of live site
Make a few adjustments (removed a plugin and theme in this case)
Push changes to dev environment
Gets the error
Environment Info
Ubuntu 22.04
Nginx, PHP 7.4.1, MySQL 8.0.16
LocalWP 6.4.3+6116
Supporting info
Include any screenshots or video recordings of the issue to help others reproduce.
Folder when pulling:
Hi @linuxbastard! Generally, when we see this error We ran into an issue when updating the table prefix from WP Engine it can be resolved by resetting your WPE connection and generating new credentails. More details here: Local Connect - Local
Your suggestion was actually one of the first things I did, after googling and finding that answer to somewhat similar situations. But even with a new API key and a newly established connection, I am still unable to pull or push successfully.
I tested this on a windows machine and was able to successfully pull and push, so I went ahead and included a re-install of local just in case it was a faulty install, but still no joy.
Localwp is still useful since I am still able to create local environments for developing, but I really wish this feature works.
This is after a new API and connection and I can see the new public keys created by local on my wpengine account though. Where does local keep its ssh keys?
Hi @linuxbastard - thank you for all of the details you’ve provided here and in our direct conversation. We have seen a couple of other WPE users run into this issue with Ubuntu specifically and we have raised it to the Dev team for further investigation. We’ll keep you posted as soon as we have any updates or if we need additional insight! Thank you for your patience and communication in dealing with this.