Hi.
I’m trying to move a website from my Laragon local environment to Local. First I tried to use Wp Migrate Lite but it always failed with the message “File dump info empty”.
Then I tried to export the website using Duplicator, Undraft and manually but, even if the website was created “successfully”, WP Admin url was wrong, duplicating the domain name (mydomain.local/mydomain.local/wp-login.php); on the other side, the frontend was visually broken, missing a lot of elements. And this is the better result I’ve got.
So I came back to Wp Migrate Lite, trying to export only the database: this plugin is the only one I have found that gives the option to change domain name and website path (all in One Migration Tool gives this option too, but in the provided sql dump file nothing is replaced).
I keep getting the same error. Exporting only the database, all plugins deactivated except WP Migrate, fails instantly with the message: “The Export migration failed during the Table Migration stage.” In a box as it were some code the message “File dump info empty”.
debug.log is empty (except some error due to the deactivation of all plugins), Site Health reports as only one critical issue the fact that the debug.log file is publicly accessible.
Here I give you Diagnostic Info & Error Log:
site_url(): https://codingfix.test
home_url(): https://codingfix.test
site_path(): C:\laragon\www\codingfix
Database Name: codingfix
Table Prefix: lpLdWsmq
WordPress Version: 6.6.2
WP Migrate DB: 2.6.11
Web Server: ………………… Apache/2.4.47 (Win64) OpenSSL/1.1.1k PHP/7.4.19
PHP: ………………………. 7.4.19
WP Memory Limit: ……………. 40M
PHP Time Limit: …………….. 36000
Blocked External HTTP Requests: None
fsockopen: …………………. Enabled
OpenSSL: …………………… OpenSSL 1.1.1k 25 Mar 2021
cURL: ……………………… Enabled
Enable SSL verification setting: No
Opcache Enabled: ……………. Disabled
MySQL: ………………. 8.0.16
ext/mysqli: ………….. yes
WP Locale: …………… en_US
DB Charset: ………….. utf8
WPMDB_STRIP_INVALID_TEXT: No
Debug Mode: … Yes
Debug Log: …. Yes
Debug Display: No
Script Debug: No
PHP Error Log: C:\laragon\www\codingfix/wp-content/debug.log
WP Max Upload Size: 2 GB
PHP Post Max Size: 2 GB
WPMDB Bottleneck: …… 1 MB
Compatibility Mode: …. Yes
Delay Between Requests: 0
WP_HOME: ……. https://codingfix.test
WP_SITEURL: …. https://codingfix.test
WP_CONTENT_URL: https://codingfix.test/wp-content
WP_CONTENT_DIR: C:\laragon\www\codingfix/wp-content
WP_PLUGIN_DIR: C:\laragon\www\codingfix/wp-content/plugins
WP_PLUGIN_URL: https://codingfix.test/wp-content/plugins
Media Uploads
Transfer Bottleneck: …… 2 GB
Upload Folder Permissions: 777
Themes & Plugins
Transfer Bottleneck: ……… 2 GB
Themes Permissions: ………. 777
Plugins Permissions: ……… 777
Must-Use Plugins Permissions: 777
WP-Content Permissions: …… 777
WP-Core Permissions: ……… 777
Active Theme Name: Greenshift Child
Active Theme Folder: C:\laragon\www\codingfix/wp-content/themes/greenshift-child
Parent Theme Folder: greenshift
Active Plugins
Must-Use Plugins
Hope you can help, because I’d like to get everything in Local and stay with Laragon only for Laravel projects.
Thank you!
]]>I’ve tried WP Migrate with both exporting/importing zip files and doing push/pull since I bought Pro. Still having trouble (no plugins are transferred). Is there Pro support?
]]>I don’t know whether this is a WP Migrate Lite problem or a Local problem but I could use some debugging ideas.
I tried to migrate from the above site to a Local installation by using WP Migrate Lite. I selected all plugins and media to migrate. I downloaded the zip then installed it to Local. My site came up but no plugins or media had been migrated. I tried it again verifying that I had selected every possible option to migrate, and still no plugins or media.
]]>For the foreseeable future, WP Engine teams cannot log in to www.ads-software.com.
Where plugin updates are made available by WP Engine directly, plugins owned by WP Engine may be updated using guidance shared on their related web pages.
]]>I’m a bit confused what WP Migrate Lite can do. I used it to export an existing site as a zip, then import into Local. But when I’m ready to migrate that local development back to the hosted domain, how do I do that easily and automatically? Gemini gave me a lot of steps like uploading the database and files separately. Is it a pain with Migrate Lite? Does this absolutely require the Pro version?
]]>Hello, back in 2021, a while ago I actually emailed the PRO support about adding this feature back, use to be available in the old version. tech mentioned they had existing feature request for this but it was never implemented. Now the PROD media library is just getting bloated with outdated media like PDF files and google is indexing these old files unnecessarily. Options use to be:
Removes any remote files that are not found in your local Media Library. Any files in the uploads folder that are not part of the Media Library will remain untouched.
And/or
Removes all files in the remote uploads folder and uploads all files in the local uploads folder that are in the Media Library.
Is this still on the table, if not, what is a good alternative for removing old media in remote(prod)?
]]>I have this scenario:
Is WP Migrate DB able to sync from non-WP MySQL to WP MySQL in remote to remote scenario? If yes, which version is able to perform this?
]]>I used to be able to create an export of my WordPress website with WP Migrate Lite without problems. Now I encounter the issue that whenever I do an export that contains the database plus anything else (e.g., any of the theme or the WordPress config file), the SQL dump file is only 136KB big and only contains one table (xrq_yoast_seo_links). When I do an export that contains only the database, the sql dump is correct.
This is annoying as it means I need to do 2 exports, one of the db alone and one of the rest and then replace the sql dump in the second export with the correct sql dump of the first.
Error while attempting backup: “The?Backup?failed during the migration initialization stage. An unknown error occurred. Please check your PHP error log or contact support. “
You won’t be able to link to the page. It is a secure internal development site. I have used WP-Migrate on this before without problems but – just need any suggestions what may be the cause of these debug.log errors:
[06-Sep-2024 19:57:32 UTC] PHP Warning: Undefined array key “form_data” in /var/www/html/wp-content/plugins/wp-migrate-db/class/Common/Migration/MigrationManager.php on line 457
[06-Sep-2024 19:57:32 UTC] PHP Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /var/www/html/wp-content/plugins/wp-migrate-db/class/Common/FormData/FormData.php on line 171
[06-Sep-2024 19:57:32 UTC] PHP Fatal error: Uncaught TypeError: array_intersect_key(): Argument #1 ($array) must be of type array, null given in /var/www/html/wp-content/plugins/wp-migrate-db/class/Common/FormData/FormData.php:175
Stack trace: 0 /var/www/html/wp-content/plugins/wp-migrate-db/class/Common/FormData/FormData.php(175): array_intersect_key(NULL, Array) 1 /var/www/html/wp-content/plugins/wp-migrate-db/class/Common/Migration/MigrationManager.php(457): DeliciousBrains\WPMDB\Common\FormData\FormData->parse_and_save_migration_form_data(NULL) 2 /var/www/html/wp-content/plugins/wp-migrate-db/class/Common/Migration/MigrationManager.php(437): DeliciousBrains\WPMDB\Common\Migration\MigrationManager->ajax_cancel_migration() 3 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(1230): DeliciousBrains\WPMDB\Common\Migration\MigrationManager->error_migration(Object(WP_REST_Request)) 4 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request(Object(WP_REST_Request), ‘/mdb-api/v1/err…’, Array, NULL) 5 /var/www/html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch(Object(WP_REST_Request)) 6 /var/www/html/wp-includes/rest-api.php(420): WP_REST_Server->serve_request(‘/mdb-api/v1/err…’) 7 /var/www/html/wp-includes/class-wp-hook.php(324): rest_api_loaded(Object(WP)) 8 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 9 /var/www/html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) 10 /var/www/html/wp-includes/class-wp.php(418): do_action_ref_array(‘parse_request’, Array) 11 /var/www/html/wp-includes/class-wp.php(813): WP->parse_request(”) 12 /var/www/html/wp-includes/functions.php(1336): WP->main(”) 13 /var/www/html/wp-blog-header.php(16): wp() 14 /var/www/html/index.php(17): require(‘/var/www/html/w…’) 15 {main}
thrown in /var/www/html/wp-content/plugins/wp-migrate-db/class/Common/FormData/FormData.php on line 175
]]>I would like to know if there is a way for users with developer roles to use the plugin. i see that only users with admin permissions can use the plugin.
]]>Started a basic export so I could load the site into “Local”. But at 5% in the media stage I get a failure that says “Unexpected Token ‘”. Any suggestions?
]]>About a week ago I started using WP Migrate Lite to move my site into Local for offline editing.
Our Static IP was immediately blocked (not that we knew it then). This started a long saga and pitched battle with the admins at our hosting provider to get them to recognise that their claims that our IP was on a global block list at the behest (of all things!) our own ISP. The battle could well have proved fruitless as they were completely intransigent as the tried in vain to remove us from the list, eventually using up all their firewall provider requests.
They would remove us and then we’d immediately be re-added whenever we tried to use WP Lite Migrate.
They were so dumb that couldn’t figure out how to whitelist our address on their own servers to fix problem permanently and they couldn’t recognise that we were continually triggering their firewall causing our IP to be blocked from all our services – email hosting, WP, Cpanel… the lot.
Eventually, they let slip the firewall provider they use and I was able to setup trial account to get access to their console to see what was going on. We were on 1 user’s challenge list. I later spoke to one of their tech support guys who gave me more details of the incident report and confirmed exactly what I suspected; it was their challenge list; theire servers had thrown us on it. Now our IP is blocked by anyone that uses that distributed firewall including seemingly the entire Ubuntu repository ecosystem.
I thought it was important that folk were aware that this is a possibility. HMU offline if you need more details of the WAF rule and other parties involved.
]]>This was triggered by WP Migrate Lite. The cloud firewall service is bitninja:
<i>Your IP address is continously getting greylisted after triggering a WAF rule on a server protected by BitNinja (cp-wc65.per01.ds.network
). The domain and URL you are triggering the rule is: www.XXXXXXXXX.com.au/wp-json/mdb-api/v1/initiate-migration
The WAF rule id is 930120 it is responsible to protect the domain from:
-=[ OS File Access ]=- Ref: https://github.com/lightos/Panoptic/blob/master/cases.xml
To avoid this from happening to your IP address you can do the following steps:
Request your IP address to be whitelisted on the server.
Request the related BitNinja WAF rule to be turned off on the domain+URL of the server.</i>
]]>I used LocalWP on a development project earlier this year and would like to move some simpler WordPress sites I maintain to that platform. Two are hosted on GoDaddy and when I start the migration, the first step goes quickly and the percentage and byte count behave as expected. The second step, “Migrating media files” hangs after calculating the total size, i.e., after half an hour it’s still at 0% (0.00 B / 626.39 MB).
Anyone here have suggestions on how to debug this, or have success migrating a fairly straightforward GoDaddy site? Thanks in advance.
]]>Hi, i’m trying to use WP Migrate Lite to get a large site into local. I’ve tried the other migration tool and while it seems to work the import is an issue so while i troubleshoot that i’m trying this again.
The last time i tried this my host didn’t have the correct zip tools deployed, now it does and as i type this it’s running through the process to export the site however i’m getting deja vu.
When exporting the tables it jumps from 99% to hundreds of percent while still running through the tables. It did eventually move on and is exporting the olugin files (all 11.5k files of them :o! ) While i know i need to trim this doen for now i need an offline copy to test some things.
Any tips on how to use this better? I will update when, or if i manage to get Local to import it but i suspect i’ll be back sooner than i think..
]]>When I initiate a migration I get this error.
Uploads directory not writable?— the following directory is not writable:?/home/a5qls5gso4h7/public_html/
[redacted]/wp-content/uploads. Update the file permissions for this folder to enable backups and export migrations.
But a5qls5gso4h7
is not the directory of the site. The Diagnostic Info & Error Log knows this, it shows the correct one in site_path
and elsewhere. The actual uploads
directory has the correct permissions.
Any suggestions? Thanks in advance.
]]>I’m trying to move a site from GoDaddy Managed WordPress to Local. I’ve tried a number of different ways to create the zip file, with limited success.
If I copy the DB, media, plugins, when I start the site I get the correct first page. But if I click on any of the links (to posts, pages, etc) I get not found errors. ie https://delmarvarobotics.local/2024/03/full-volume-elementary-extravaganza/
I’ve tried changing the routing, when I do the local routing I get connection refused.
If I try bringing everything over (DB, Plugins, Media, WP core) I get 500 errors on the links.
If I bring over everything plus the GoDaddy php files, I also get 500 errors.
Is there a preferred selection list to create the zip file for GoDaddy Managed Hosting moves?
Thanks!
]]>We’re attempting to run a find/replace on a live site’s database. When we do, the preview completes but when we click to replace we get this:
JSON.parse: unexpected character at line 1 column 1 of the JSON data
Interestingly the progress report says that the find/replace is 947% complete, with 1.12 GB / 118.18 MB completed.
Our site is running on PHP 7.4. Not sure if that’s a factor. We are planning to upgrade once we get everything sorted on it (like this db find/replace).
Any thoughts?
]]>Hello,
I’v tried multilple times to migrate a local website but it fails. If I check only the database it works but when I check one or the other parameters it starts to export and a few seconds later the message “Internal Server Error” appears.
In the error log file there is this error:
Migration ID: 8cc6e158-4b3e-4708-aaf4-0a64cbb3e3d2
Intent: savefile
Stages: tables | theme_files | plugin_files
Action: cancel
Error: MySQL export file not found.
Can you help me to fix it?
Thank you,
Laura
I’m wondering if this plugin might be able to solve a problem for me that seems slightly outside of its wheelhouse.
I want to schedule exports a specific db every night and send it to FTP or cloud storage where we can grab it.
Is that possible with this plugin? I’m not seeing anything about automating the process.
Thanks!
]]>Hi I have experienced the same problem I saw from https://www.ads-software.com/support/topic/export-is-producing-a-tiny-zip-which-is-missing-most-of-the-content/
I am using WP Migrate Lite and trying to export full site including my themes and plugins (currently hosted on wordpress.com) so that I can import to Local.
The export action seems to work fine and it says it should be around 2 Gb but after a few attempts each time the downloaded file is just around 200 Mb. Can someone help?
Thanks.
]]>I was attempting to run Migrate DB from the Tool menu and received the following error:
The?Export?migration?failed during the migration initialization stage.
Failed to fetch
]]>Custom Find & Replace does not change URLs contained in WPBakery Page Builder elements
(example: in Single Image, the link contained within is NOT modified.
Is this normal or am I doing something wrong?
]]>I exported a DB from live but when I try to unzip it I get an “Unable to expand” error when just double clicking the .zip
file on a mac.
I went ahead and ran unzip -tq file.zip
in terminal and I get this response..End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of filename.zip or filename.zip.zip, and cannot find filename.zip.ZIP, period.
Can you help?
]]>I have uninstalled the plugin, and I would like to know if there is data left in the database, and how to delete it.
]]>I ran the export. Everything looked fine but there is no link to the export package that I can find. Where is it?
]]>Hello. When I try to run an export an export or save a profile I get a 403 Forbidden error in the network tab for the request and the message “Having trouble connecting to the REST API, please ensure that it has not been disabled or altered.” appears. The REST API is functioning properly (if I visit site.com/wp-json there is data). I have disabled all plugins, including renaming the mu-plugins directory, and switched to the Twenty Twenty-Four theme. I have enabled debug logging and do not see any errors in that file. I have checked my server logs and do not see anything there either. WordPress is version 6.4.3 and WP Migrate Lite is 2.6.9. I have other sites on the same server using WP Migrate Lite without problem. Thanks for any help.
]]>WP Migrate was an activated plugin in on our website. It was deleted from the linux terminal, not deactivated.
This caused an error message to appear on the Administration>Plugins page.
The plugin “plugin name” has been deactivated due to an error: Plugin file does not exist.
The plugin was reinstalled in order to deactivate it and delete it. Now, the system believes it is a mu-plugin and will not allow deletion.
How do we delete this plugin and it’s tables from our system?
]]>Getting similar issues as:
https://www.ads-software.com/support/topic/export-seems-to-fail/[21-Nov-2023 11:01:03 UTC] PHP Notice: Trying to access array offset on value of type null in /class/Common/Queue/QueueHelper.php on line 107
I got the wp migrate db pro because i wanted a fully functional “better search and replace”. When running a search & replace feature of wp migrate DB, it errors out with “Nginx 504 Gateway Time-Out”.
I tried on both production and local environments with the same result. I also tried to limit it to only the database tables I wanted searched, but it still errors out. My database is pretty large, about 575.28MB as the plugin sees it, and it gets stuck before hitting 10%. Need some help here, I have no issues with other plugins, server resource utilization is well below its limits, so I have no idea why it would time out.