I am running a very test version of D8 on an Ubuntu 14.04 Server (with a Lubuntu GUI) with PHP 5.5.9-1ubuntu4.11. There are no extra modules other than Core installed (though I have enabled the REST Services and Serialization modules).
I want to install the REST UI module. Because I am running behind a company proxy, I download the (dev version) module and in the install screen I choose the downloaded tar.gz file. I get asked for the FTP password (bit weird, I can't quite work out the permissions that would allow me to avoid this step, but I'm used to using it on a test installation of D7 on the same machine), and I immediately get the WSOD with this message:
The website encountered an unexpected error. Please try again later.
Drupal\Core\Form\EnforcedResponseException: in Drupal\Core\Form\FormBuilder->buildForm() (line 309 of core/lib/Drupal/Core/Form/FormBuilder.php).In beta12 I got the same message but with a different line number and a prettier display (cf screenshot).
I have marked this as critical because I can't see Drupal being a hit with module install not working (and I am a massive Drupal fan so I want it to be a hit), and have put this in the "extension system" because that seemed the most logical place for it. I hope that is the right thing to do.
| Comment | File | Size | Author |
|---|---|---|---|
| Drupal8InstallBug.jpg | 22.59 KB | martin.knapp |
Comments
Comment #2
dawehnerTo be clear, problems with the module download UI is not critical, see #2352637: Remove the UI for installing/updating modules from update module if it is not fixed in time for release. I would recommend to download you the file manually and then install the module on
/admin/extendManually installing the restUI module works fine.
Comment #3
bill richardson commentedSee #2042447 -- patch is waiting to be committed which fixes this error.
Comment #4
klabautermann86 commentedIn the Drupal 8 RC3 this bug still shows up when installing any module or theme.
Comment #5
solidwebcode commentedThis issue still exists, although line number changed.
This on a clean install, after filling in FTP credentials... which means I am unable to use the FTP to upload themes or modules..
Comment #6
cilefen commentedComment #7
cilefen commented@solidwebcode Did that error come with a stack trace?
Comment #8
catchComment #9
gktirol commentedI had to change /sites/default/ chown to "www-data" and the problem is fixed
Comment #10
cilefen commented@gktirol If that is the general issue we simply need better error handling in the situation with unwritable directories.
Comment #11
klabautermann86 commentedI can confirm @gktirol. After changing /sites/default/ chown to "www-data" the problem is fixed.
Comment #12
cilefen commentedComment #13
cilefen commentedThis is a duplicate of #842620: Update manager can't install modules using FTP due broken FileTransferAuthorizeForm