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

User interface changes

API changes

Data model changes

Release notes snippet

Comments

Andy_Read created an issue. See original summary.

andy_read’s picture

Issue summary: View changes
Chris Charlton’s picture

+1 (same here but for 8.6)

niknak’s picture

I have the same issue (Drupal 8.7.0).

Why the export doen't use the batch process ?

Version: 8.5.5 » 8.5.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Version: 8.5.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Branches prior to 8.8.x are not supported, and Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

thomaswalther’s picture

I 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

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

jrwest_webguy’s picture

Just 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 cex

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)
Issue tags: +Bug Smash Initiative

I 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.

quietone’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

There 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!