Problem/Motivation
Having struggled with more or less the same problem described in issue #2450867, which is both old and closed as duplicate, I've uncovered part of the problem and underlying cause, in my case at least.
My setup was multilingual and configured for language selection from URL. When trying to export full config from /admin/config/development/configuration/full/export, it was redirecting to /en/admin/config/development/configuration/full/export-download (NB starts with /en and ends with export-download) which was gave a 200 OK response code, but no src html or download file, i.e. White Screen Of Emptiness (WSOE, not WSOD!).
I disabled URL language selection and tried again and got the [common and not surprising]: Fatal error: Maximum execution time of 30 seconds exceeded in /core/lib/Drupal/Core/Archiver/ArchiveTar.php on line 2257.
Solution easy: in php.ini set: max_execution_time = 300
Bingo - full export works fine, even when I re-enable URL language selection.
But the thing that needs some attention is why the language redirect is hiding the PHP fatal error and returning 200 OK.
Steps to reproduce
Proposed resolution
Workaround is to alter the max_execution_time setting for PHP. See #7 and #9
Remaining tasks
Determine if this is still happening on supported version OF dRUPAL
Comments
Comment #2
andy_read commentedComment #3
Chris Charlton+1 (same here but for 8.6)
Comment #4
niknakI have the same issue (Drupal 8.7.0).
Why the export doen't use the batch process ?
Comment #7
thomaswalther commentedI installed drupal (8.9.13) with composer create-project drupal-composer/drupal-project:8.x-dev
I installed with drush some modules & enable them
I also enable this: drush pm:enable content_translation
I add a second language: drush language-add en
I enable a module with a custom structure type
I exported the full configuration correct
BUT then on /admin/config/regional/content-language I activate the checkbox for the custom structure type.
I exported the full configuration with the 500 error
solved with: max_execution_time = 300
Comment #9
jrwest_webguy commentedJust wanted to add my two-cents in the hopes it might help another neophyte web admin sometime in the future. Adjusting the max_execution_time setting for PHP IS the solution to this problem -- where configuration export does not work using the admin console. However, if you have access to the server itself (as I do), you can also use Drush to facilitate the export with the command
drush cexComment #13
quietone commentedI tested this on Drupal 10.1.x, standard install, with two additional languages. I was not able to reproduce the problem but that is just on a test site. I think we should confirm that this is still happening on supported versions of Drupal.
If you are experiencing this problem, add a comment which includes, at least the Drupal version. Thanks.
Comment #14
quietone commentedThere have been no reports that this is still a problem. Therefor, closing.
If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue (starting from "Install Drupal core").
Thanks!