There are two approaches, use the CiviCRM Starterkit which currently is available as an upstream for Pantheon, or use a fresh CiviCRM install with some patches.
The starterkit is a Drupal distribution will get you most of the way since it includes a few patches so CiviCRM will work more smoothly on Pantheon's architecture. In order to ...
Pantheon does not support .htaccess files nor custom location directives, which are the common approaches to protecting those files from access on Apache / Nginx.
However, moving your CiviCRM file directories from sites/default/files/civicrm to sites/default/private/civicrm should resolve this, because Pantheon protects that location out of the box.
Just to summarize all the places to look. If you've chosen to try to run CiviCRM cron from Drupal, you need the civicrm_cron module. Then in the Elysia Cron settings: admin/config/system/cron/settings take a look at the settings for the civicrm_cron job and make sure it's enabled. It's probably called: civicrm_cron_cron. Though if you're seeing civicrm_cron ...
There are a few gotchas (and probably some I haven't run into). I moved one of my clients with about 40,000 contacts to Pantheon (business level plan) in October, and we've had pretty good success with it after ironing out a few major details.
The biggest problem is Smarty. Since it compiles its templates into the file system (Valhalla), they tend to run ...
That's a lot of contacts to import at once. Honestly, I try to keep it below 2,000 an import, especially if there is a lot of information. If you're only allowed a max of 60 seconds, it's likely there are other places where you will also run into errors regarding it timing out. Not only that, I've found that often times even when you think it did import ...
Patheon also does not provide an ability to tune your database. Its database configuration is more tuned for CMS's like Drupal and Wordpress, and not for CRM's like CiviCRM which can have huge data storage requirements.
Another aspect which I have difficulty with (though ultimately it doesn't matter too much) is the need to maintain the entire Drupal/...
We have a few sites on pantheon running civicrm.
We started with the civicrm_starterkit. There were a few issues to iron out but Pantheon does save you the headache of worrying about hosting, and multi-dev environment goes a long way.
Also with the kalabox from kalamuna, local development for pantheon sites is life changing.
We updated the starterkit's ...
A bottle of aspirin
A lot of patience
A budget to migrate the site to another host
I actually can't remember all the issues, but I know that Tommy and Sanjay have had continual trouble with folks on Pantheon. There have been problems running upgrades on their dev sites because they're underpowered. Pantheon doesn't provide any cron except a drush cron ...
Pantheon allows you to protect (a limited number of) webpaths, using a pantheon.yml file.
It is, in effect, a nginx deny.
Thanks @Chris Burgess!
I went with your recommendation and pushed the edited civi settings file up to pantheon but still got the same warnings. I then went into administer>system settings>directory and noticed that the settings where still pointing to the public files. I then sftp'd into sites/default/private and manually created the same directory names ...
I'm currently testing a CiviCRM extension which regenerates cache (updates the file paths) when they change on Pantheon.
What is the best way to override changes to CRM_Core_Config?
It's a CiviCRM extension, which I'm happy to share if it works as expected.
CiviCRM Starterkit is installed as a Drupal installation profile, so it's got the civicrm module directory inside /profiles/civicrm_starterkit/modules rather than /sites/all/modules. CiviCRM is assuming that you can go up two levels from the folder where it's currently running and then over to the default folder to find civicrm.settings.php. That's not the ...
that's just a notice - it's annoying - but may not be critical. You can check civicrm JIRA https://issues.civicrm.org/jira/projects/CRM/issues to see if there is an issue for it/report it (if not already).
If this is a live site then it's recommended not to display any errors. On Drupal go here:
and set to None.
Made this module for Drupal, which flushes the CiviCRM cache when the disk path changes:
The path is cached, so there is only the initial database call. If you're site switches servers a lot, it may cause some slowness whilst the cache is regenerated, but ...