• 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?

Viewing 8 replies - 16 through 23 (of 23 total)
  • Plugin Support Delicious Brains Support

    (@dbisupport)

    Hi @leswoolsey ,

    Thanks for the additional information. When you got the 3000% complete, where you exporting only the Media Uploads, or were you also exporting database tables?

    We have received a couple of tickets before where if a database table has a size of 0 B this sometimes result with a percentage over 100. You can see their sizes when you select “Export only selected tables below”. See screenshot below for an example:

    https://share.zight.com/QwuJeZvr

    If you see a table with 0 B in size, please try deselecting that table from the list to see if that helps with the issue.

    Let us know if you have any other questions.

    Thread Starter leswoolsey

    (@leswoolsey)

    No. I was just exporting the Media Uploads.

    Plugin Support Delicious Brains Support

    (@dbisupport)

    Hi @leswoolsey,

    Thanks for the response. Our apologies for the inconvenience this have caused!

    Would you mind checking your Media Uploads directory “wp-content/uploads” and then see if you have any large files or folders there, please? An example of this is backup files.

    If you have found any of those, please try and exclude those from the export and see how that goes.

    https://deliciousbrains.com/wp-migrate-db-pro/doc/ignored-files/

    Since the issue seems to come only from the Media Uploads, an alternative here is you can try exporting your whole site but exclude/deselect the Media Uploads.

    If that’s successful, we suggest importing that file to Local so that your local site is created and then just manually migrate the Media Uploads separately by copying/downloading the “wp-content/uploads” directory using your hosts built-in file manager or using SFTP if your host doesn’t have a built-in file manager.

    https://wpengine.com/support/downloading-wp-content-folder-previous-host/

    Once that has been copied/downloaded, please paste that on your Local site folder. After those are done, you should have a complete working version of your site?on your local machine.

    Please let us know if you have any questions.

    Thread Starter leswoolsey

    (@leswoolsey)

    I Found one very big file (700+MB) and elimated that. But it didn’t help. It still goes semi-infinately. I killed it at 635% (2.53 GB out of 398.75 MB).

    I had already migrated the site (without media files) and pickup up the media files i needed so I’m not stuck. I’m just trying to figure out why this won’t work.

    Thanks

    Les

    Thread Starter leswoolsey

    (@leswoolsey)

    Did some more testing and it still fails. Here is my ignore list. Is it right? I suspect not since it shoukd eliminate all files in the upload directory and yet the backup says the expected size is 327MB and it goes past 200% and never stops.

    .DS_Store
    *.log
    *backup*/
    *cache*/
    /dt_cache//
    /essential-grid//
    /js_composer//
    /revslider//
    /wc-logs//
    /wp-migrate-db//
    /wp-staging//
    /wpcf7_uploads//
    /2103//
    /2014//
    /2015//
    /2016//
    /2017//
    /2018//
    /2019//
    /2020//
    /2021//
    /2022//
    /2023//
    /2024//
    *.png
    manifest/

    Plugin Support Delicious Brains Support

    (@dbisupport)

    Hi @leswoolsey ,

    Thanks for your patience on this. On the exclude list, could you try using /** at the end of directories? According to the gitignore docs, that WP Migrate uses, that should exclude all files and directories under the named directory.

    https://git-scm.com/docs/gitignore?_ga=2.251850251.386738942.1725281944-158298018.1725281944

    Another possible source of the issue is if you have symbolic links (symlinks)? That could cause issues with WP Migrate as well.

    https://deliciousbrains.com/wp-migrate-db-pro/doc/theme-plugin-files-errors/#symlinks

    Thread Starter leswoolsey

    (@leswoolsey)

    OK. That at least worked. After a lot of testing, I excluded any directory that had a file of 1 MB or larger and it worked. There were PDF anf PNG files of that size in a number of directories. So it seems that you were right, any files larger than about 1 MB break the export of media files.

    Plugin Support Delicious Brains Support

    (@dbisupport)

    Hi @leswoolsey ,

    Thanks for that information. Unfortunately we’re not sure why WP Migrate would fail if a file is larger than 1 MB. I don’t think we have encountered that before.

    I checked your diagnostics in the previous page, and I can see that your max upload size and max post size is 128 MB. I am not sure where the 1 MB limit might be coming from. You may have to contact your hosting provider to see if they maybe have a 1 MB filesize limit.

    Let us know if you have any other questions.

Viewing 8 replies - 16 through 23 (of 23 total)
  • You must be logged in to reply to this topic.