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

Comments

Category:bug» support

I have tried 7 different installations now all with the same issue.

Issue summary:View changes

Added More information

Title:CiviCRM 4.2.8 & Octopus loose config file upon enabling modulesScreenshot after clicking 'Install' on the warning message
StatusFileSize
new24.24 KB

Could you try the same with standard (non-civi) D7 platform and your own copy of CiviCRM uploaded to sites/all/modules ?

That is initially what I was doing under a new platform, but I will try again right now.

Ok, 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.

Project:Octopus» Provision CiviCRM
Version:» 6.x-1.x-dev
Component:Drupal Platforms» Code
Category:support» bug

OK, this sounds like not BOA specific then, so I'm moving this to the correct queue.

Status:Active» Closed (fixed)

Downloaded lastest version from GIT and seems to be working ok now.

Priority:Critical» Normal
Status:Closed (fixed)» Active

Wait, 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') {

Project:Provision CiviCRM» Octopus
Version:6.x-1.x-dev»
Component:Code» Aegir Provision
Priority:Normal» Major
Status:Active» Fixed

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

Title:Screenshot after clicking 'Install' on the warning messageThank you!

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

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Issue summary:View changes

Added Barracuda / Octopus Information

Title:Thank you!CiviCRM 4.2.8 & Octopus loose config file upon enabling modules
Version:» 6.x-2.x-dev
Issue summary:View changes

Reset more descriptive title.