Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem
- When reloading the (semi-)final "Configure site" page in the installer, the installer outputs a "Drupal already installed" error.
Cause
- Batch API does not redirect (by changing
$install_state
parameters) after completion. - → The GET query parameters are still
?langcode=&profile=
and do not contain the actual current step.
Proposed solution
- Make the installer batch adjust the
$install_state
parameters accordingly. - Remove the exception from
install_verify_completed_task()
— the case should be handled elsewhere already.
Comments
Comment #1
sunComment #10
quietone CreditAttribution: quietone as a volunteer commented@sun, thanks for reporting this and suggesting a fix.
It looks like this has been fixed. I tested this with a minimal install on 8.6.x. Before completing the 'Configure Site' page, I reloaded the page and I get the same page. After filling in the form, I reloaded the page and the data was saved (expect passwords) as expected.
Closing as cannot reproduce.