When I enable modules on the CiviCRM codebase either loaded by Octopus or by a new platform, Aegir Barracuda looses the configuration file for CiviCRM.
CiviCRM: 4.2.8
Drupal 7.22.1
Octopus 2.0.8 & 2.0.9 (tried both) with Barracuda 2.0.8 & 2.0.9
Install CiviCRM platform, login, go to modules and enable several modules (really does not matter which ones). After Drupal processes modules and enables them, it can not find the civicrm.settings.php file and says that CiviCRM is not installed and to install it. Sometimes if you click on the link to install it it will say that CiviCRM is already installed, sometimes it will install it again but it will not function correctly. When a reinstall occurs, the civicrm.settings.php file is put into the 'default' folder instead of the website's folder under sites/mywebsite.com
I have setup 3 platforms separately and used the Octopus build as well. None of them work correctly and all have the same error.
One more thing, I was having problems on one server at Amazon so I setup a fresh Linode and I am still having the same issue
Comment | File | Size | Author |
---|---|---|---|
#2 | Screen Shot 2013-04-24 at 10.03.45 AM.png | 24.24 KB | stovpow |
Screen Shot 2013-04-23 at 4.46.59 PM.png | 17.54 KB | stovpow |
Comments
Comment #1
stovpow CreditAttribution: stovpow commentedI have tried 7 different installations now all with the same issue.
Comment #1.0
stovpow CreditAttribution: stovpow commentedAdded More information
Comment #2
stovpow CreditAttribution: stovpow commentedComment #3
omega8cc CreditAttribution: omega8cc commentedCould you try the same with standard (non-civi) D7 platform and your own copy of CiviCRM uploaded to sites/all/modules ?
Comment #4
stovpow CreditAttribution: stovpow commentedThat is initially what I was doing under a new platform, but I will try again right now.
Comment #5
stovpow CreditAttribution: stovpow commentedOk, downloaded CiviCRM 4.2.8 to sites/all/modules, installed new website, CiviCRM installed along with the website. Went to 'Modules' and enabled 'No Current Password', clicked 'Save Configuration', website refreshed and received message "CiviCRM settings file does not exist. It should be created by CiviCRM install'. As a point of interest, the install link does not go to sites/all/modules/civicrm/install/index.php on the Octopus Platform CiviCRM install, but it does on the Vanilla Drupal installation with CiviCRM which gives me the 'Opps! CiviCRM is Already Installed' message.
Comment #6
omega8cc CreditAttribution: omega8cc commentedOK, this sounds like not BOA specific then, so I'm moving this to the correct queue.
Comment #7
stovpow CreditAttribution: stovpow commentedDownloaded lastest version from GIT and seems to be working ok now.
Comment #8
omega8cc CreditAttribution: omega8cc commentedWait, this is weird, because we are using basically the same version in BOA, with just one little fix to help always enable civicrm module.
But I also noticed in the diff that we have fixed the typo still present in the vanilla version, so not sure if this could make such a difference?
Vanilla:
function _provision_civicrm_is_site_context($op = 'unkown') {
Our version:
function _provision_civicrm_is_site_context($op = 'unknown') {
Comment #9
omega8cc CreditAttribution: omega8cc commentedThe typo fix didn't play any role. In fact it was our BOA specific workaround for some previous CiviCRM versions what caused this problem.
Fix committed: https://github.com/omega8cc/provision_civicrm/commit/8825ac1da51af87f322...
The weird part is that previously it was required to have civicrm module enabled on install, and it never caused such issues. I'm happy that we could get rid of it.
Thanks for the heads up!
Comment #10
stovpow CreditAttribution: stovpow commentedThank you for looking into it. Glad I found it in the beginning before I committed too many CiviCRM installations on the server! Thank you for the great platform.
Comment #11.0
(not verified) CreditAttribution: commentedAdded Barracuda / Octopus Information
Comment #12
ar-jan CreditAttribution: ar-jan commentedReset more descriptive title.