-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File size of source and destination do not match #125
Comments
Hey @oguilleux, we have a doc for troubleshooting this kind of error available here: https://deliciousbrains.com/wp-migrate-db-pro/doc/theme-plugin-files-errors/
If you go through that doc and still experience the error, please use |
@kevinwhoffman Imagify adds a bunch of webp files alongside the original uploads if you have that setting enabled. Could that also cause issues? Running into the same thing but the only PHP file I can find is the one wp-migrate-db creates in the uploads directory. |
@ethanclevenger91 We've seen a few different reports of this error from customers, but I've not been able to determine a clear cause. Sometimes the file mentioned is an You should be able to find a record of the error at |
Hi @kevinwhoffman Same error here, but its for png image uploaded through Formidable's form plugin.
I'm trying to pull the remote site from my local environnement. I don't know why its happening. Do you have any idea ? Thanks a lot |
Hi @kevinwhoffman I'm seeing this error, too. |
Hey @jefffassnacht and @alexandre-tobia (apologies for the delayed response), we're still trying to get to the bottom of this. Thanks for sharing the error reports. Would you also be able to tell us a bit about the server environments for the source and destination? Is this happening between a local and a production site on a specific host, or two local sites, or two production sites on the same server? We're trying to find some commonality among the reports that might explain the small differences in local and destination sizes. Thanks. |
@kevinwhoffman Thank you for the quick response. The transfer originates on a staging server, pulling from a production server. Both hosted on WPEngine. |
@jefffassnacht Thanks. You're not the first one to report this when both servers are on WP Engine, so we may have found a common thread. I have a few follow-up questions if you don't mind:
|
@kevinwhoffman I'm glad there's a common thread to follow. Here's what I found:
|
@jefffassnacht I wanted to follow up with you here since you seem to be our strongest lead on this issue.
We're still trying to determine if this error is specific to the server environment, so if you get a chance to test a migration to or from an environment other than WP Engine, please let us know.
If you are comfortable sharing the |
I'm also having a similar issue pushing from my local docker environment to a k8's staging environment. WP Version: 5.9.2 I'm also seeing these warnings in my logs right as the error show up in the admin:
|
@mike-kelley-fruition Thank you for passing along those warnings. Can you also let me know what error you are seeing in WP Admin when a migration fails? |
@kevinwhoffman It gets to 1% completed and then says
|
Just chiming in that am seeing the same problem as: File size of source and destination do not match: Which I guess would be because Migrate DB (Pro) is syncing a production website and files like log files are changing, during the sync. This in turn causes the sync to fail. IMHO the migration process should throw a warning, rather than a fatal error for the file size check. Because for some files it does not matter and logging a warning can be dealt with by other means after the sync process is completed. |
I've had the same issues. The solution seems to be simple. Add this to your 'exclude files' settings:
My total file looks like this:
|
Hi Kevin,
OK, I'll send the log file via a new Support Ticket.
Best,
…On Thu, Mar 24, 2022 at 9:03 AM Kevin W. Hoffman ***@***.***> wrote:
@jefffassnacht <https://github.com/jefffassnacht> I wanted to follow up
with you here since you seem to be our strongest lead on this issue.
Unfortunately, I can't migrate to or from local right now b/c of where we
are in the project. I'll try it as soon as its possible and post here.
We're still trying to determine if this error is specific to the server
environment, so if you get a chance to test a migration to or from an
environment other than WP Engine, please let us know.
I removed the file and got an error for a different .log file in the same
directory. Removed that one and pulled successfully - no error.
If you are comfortable sharing the .log files that are triggering the
error, then we can take a closer look to see if there is something
specifically about those files that is the problem. The best way to do that
would be to open a new support ticket within the plugin's Help tab and then
reply to that ticket with the logs.
—
Reply to this email directly, view it on GitHub
<#125 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABOURBKXYSNPYNVDSOMMODVBSG5FANCNFSM5E7IIHHQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Jeff Fassnacht | ***@***.*** | 415.425.1047
*South Bend Design LLC*
726 Guerrero St., San Francisco, CA 94110
www.sobend.com
--
This e-mail, including attachments, is intended for the person(s)
or company named and may contain confidential and/or legally
privileged information. Unauthorized disclosure, copying or use of
this information may be unlawful and is prohibited. If you are not
the intended recipient, please delete this message and notify the
sender.
|
Had to do the same with /formidable/ (folder created by Formidable Form when uploading file through form) |
I have pretty much the same issue with one JPG. Any solutions so far? |
Hi all, I'll try to add a summary of our latest understanding of this issue. How and why we check the file size in the first placeAt the beginning of a migration, files are scanned and the sizes are stored so we know the overall size of that particular stage in the migration (e.g. What causes this error
Steps we're taking to mitigate the error
Existing workaroundWhen the error occurs, excluding the file in question can allow the migration to succeed. For example, if the error mentions |
Hi there,
I know this is the free version but this bug might help other people searching for the same error. I get this error on a simple index.php (in uploads directory) while downloading assets locally :
I've tried deleting the file but it's logically downloaded again and I still get the error. What am I doing wrong ?
Thanks for your help.
WP v5.8.1
WP Migrate DB Pro v2.1.2
WP Migrate DB Pro Media Files v2.0.3
WP Migrate DB Pro Theme & Plugin Files v1.1.2
The text was updated successfully, but these errors were encountered: