post-installation fails when already configured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
drupal (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Binary package hint: drupal
When installing drupal-5.1 on feisty I get this:
-----8<-----
dpkg: error processing drupal-5.1 (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
drupal-5.1
-----8<-----
Poking a -x in drupal-5.1.postinst I see that it's the following that fails:
-----8<-----
curl http://
-----8<-----
This can fail because:
- That page says "Drupal already installed" when already configured and installed
- If you don't want help from the dbconfig-thingie, you won't have a complete install until you have configured the DB.
- There's no guarantee thats the location of the VHost using drupal.
I suggest that this test is refined, and that the only effect of failing it is popping up a warning saying that manual configuration is needed. Failing hard without an explanation like now is definately wrong in any case.
Changed in drupal: | |
status: | New → Confirmed |
Another reason why this might fail (as just happened to me...) - the web server might not be on port 80.
For instance, we only listen on port 443. So yeah, I'd like to see this be a warning.