Title: Internal Server Error while exporting
Last modified: April 12, 2024

---

# Internal Server Error while exporting

 *  [laaffi](https://wordpress.org/support/users/laaffi/)
 * (@laaffi)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/internal-server-error-while-exporting/)
 * 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: savefileStages: tables
   | theme_files | plugin_filesAction: cancelError: MySQL export file not found.
 * Can you help me to fix it?
 * Thank you,
   Laura
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finternal-server-error-while-exporting%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Delicious Brains Support](https://wordpress.org/support/users/dbisupport/)
 * (@dbisupport)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/internal-server-error-while-exporting/#post-17687748)
 * Hi there,
   WP Migrate Support Team here, Thanks for reaching out with your query
   we would be happy to assistCan you try editing your `wp-config.php` file on your
   server to replace this line –`define( 'WP_DEBUG', false );`With these lines –`
   define('WP_DEBUG', true);define('WP_DEBUG_LOG', true);define('WP_DEBUG_DISPLAY',
   false);This will cause all runtime errors, warnings, and notices to be written
   to /wp-content/debug.log, which will hopefully yield some better information 
   about what’s going on.Can you try the process again and then send on the debug.
   log file if created please.More details about that at [https://wordpress.org/support/article/editing-wp-config-php/#wp_debug](https://wordpress.org/support/article/editing-wp-config-php/#wp_debug)
   Once we have finished troubleshooting you should revert that config change and
   delete the debug.log file.More information about server errors, why they occur,
   and where you can find your logs can be found in this doc: [https://deliciousbrains.com/wp-migrate-db-pro/doc/500-internal-server-errors/](https://deliciousbrains.com/wp-migrate-db-pro/doc/500-internal-server-errors/)

Viewing 1 replies (of 1 total)

The topic ‘Internal Server Error while exporting’ is closed to new replies.

 * ![](https://ps.w.org/wp-migrate-db/assets/icon.svg?rev=2851356)
 * [WP Migrate Lite - Migration Made Easy](https://wordpress.org/plugins/wp-migrate-db/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-migrate-db/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-migrate-db/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-migrate-db/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-migrate-db/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-migrate-db/reviews/)

## Tags

 * [file not found](https://wordpress.org/support/topic-tag/file-not-found/)
 * [internal-error](https://wordpress.org/support/topic-tag/internal-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Delicious Brains Support](https://wordpress.org/support/users/dbisupport/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/internal-server-error-while-exporting/#post-17687748)
 * Status: not resolved