Skip to main content
5 votes
Accepted

How do I upgrade CiviCRM on a local site that I installed with buildkit civibuild?

tldr cd buildkit/build/dmaster/sites/all/modules/civicrm ## Ensure that all your stuff is clean/committed. git scan status ## Update git repos. Choose ONE of: git scan up ./bin/givi checkout X.Y.Z ...
Tim Otten's user avatar
  • 5,684
5 votes
Accepted

Do I need to know Linux to administer CiviCRM?

The question is tricky because it's a bit imprecise -- different people may interpret "know Linux" and "administer CiviCRM" a bit differently. It might be clearer to rephrase the issue this way: To ...
Tim Otten's user avatar
  • 5,684
5 votes
Accepted

Using buildkit on MAMP but hitting "Fatal error: Call to a member function getDriver() on null"

This may indicate that either: The PHP runtime is missing the PDO or MySQL extensions. This may help: https://wiki.civicrm.org/confluence/display/CRMDOC/Setup+Command-Line+PHP (At time of writing, I'...
Tim Otten's user avatar
  • 5,684
4 votes

Do I need to know Linux to administer CiviCRM?

I would tend to say "No", it is not required. We have a bunch of customers that administer CiviCRM without Linux knowledge (or GNU, as Tomislav pointed out). However, they do pay for service providers ...
ErikH - CiviCooP's user avatar
4 votes
Accepted

Problems with first test site using Civicrm buildkit

Accessing URL http://localhost:7979 requires at least these things: Your client is able to resolve host localhost to the local IP address You have a server which is listening to port 7979 Your server ...
Chris Burgess's user avatar
3 votes

Do I need to know Linux to administer CiviCRM?

No, you don't need to 'know linux'. CiviCRM has been intentionally built so that all day to day use and administration of the system can be carried out via the user interface (i.e. the screens that ...
michaelmcandrew's user avatar
3 votes
Accepted

Re-install Buildkit on Ubuntu for Windows

If you've run amp, you should also delete the hidden folder $HOME/.amp. Leaving --full out of the install command will skip installing apps. Hoewver, There is no side effect to reinstalling the apps,...
Jon G - Megaphone Tech's user avatar
3 votes
Accepted

Is there a copy of phpunit 4 documentation somewhere?

https://phpunit.de/manual/4.8/en/index.html still exists even though it's not shown as an option in the menu anymore.
Tommy Bravo's user avatar
3 votes

Buildkit Site fails to load due to PHP ugrade from 5 to 7

It seems to me you need to install the php-xml package. sudo apt-get install php-xml should get you there on Ubuntu.
ak5's user avatar
  • 31
3 votes
Accepted

Buildkit Site fails to load due to PHP ugrade from 5 to 7

It's on your php.ini config file. where it it depends on your OS, in ubuntu/debian it's under /etc/php5 and you have cli and fpm, check that the cli version enables the extension simplexml FYI, ...
Xavier's user avatar
  • 10.2k
3 votes

Do I need to know Linux to administer CiviCRM?

@Joe To kick off, you probably mean GNU more than Linux (it's the tools that you learn, not the kernel). That said, being a MySQL/PHP-based system, it's naturally geared towards GNU/Linux as the most ...
Tomislav Nakic-Alfirevic's user avatar
3 votes

How to install civix and build an extension in drupal

Have a look at the Developer Guide here: https://docs.civicrm.org/dev/en/latest/ as a start. If at all possible I would recommend trying to find an expert near you who would be able to give you a ...
ErikH - CiviCooP's user avatar
3 votes
Accepted

Is it 'better' to use mysql_dsn rather than mysql_ram_disk with buildkit and amp config?

It's a little bit hard to answer without more info but generally the ram disk isn't going to save your data unless you do something extra, so it's more useful for one-off tests or something where you ...
Demerit's user avatar
  • 23.3k
2 votes

Is civicrm-buildkit safe to use in production?

Buildkit is not designed for production use but I can't think of any reason it can't be used that way. As your second question suggests, the upgrade procedure will indeed be different. Steps for ...
Coleman's user avatar
  • 18.8k
2 votes
Accepted

What's the optimal way to install and track CiviCRM with Drupal and git?

Drush can support VCS deployments and you can tell drush make to keep the .git directory with "drush make --working-copy your-platform.make". However, unless it's changed recently, drush doesn't have ...
bgm's user avatar
  • 3,431
2 votes

class Civi not found

Ok, so it turns out I was kinda doing something wrong... What I needed was a simple \ prefix: \Civi::log()->info('Hello, log!');
ErichBSchulz's user avatar
  • 1,571
2 votes

Error when trying to install buildkit

Solved by updating my npm install using install npm -g
ErikH - CiviCooP's user avatar
2 votes
Accepted

Buildkit and php binary is called php56

I just took a look and the reference to php in the bash scripts seems to be hardcoded. I'm assuming there's already a php app with a different version, or else you could just put a symlink from php56 ...
Jon G - Megaphone Tech's user avatar
2 votes

Where do I find Apache error logs for sites that I installed with buildkit?

Buildkit uses amp to install sites which means you have to look in ~/.amp. Log files are in ~/.amp/log and separated by site.
Sean's user avatar
  • 3,168
2 votes

Buildkit won't install on Ubuntu

Issue was resolved by installing nodejs from nodejs.org. The Ubuntu version doesn't working with the buildkit.
Norm Dressler's user avatar
2 votes

Install CiviCRM Buildkit on windows xampp

You can't, I'm afraid. It doesn't work on Windows. From https://docs.civicrm.org/dev/en/latest/tools/buildkit/ :
naomi's user avatar
  • 1,247
2 votes
Accepted

Redirect to dashboard instead of redirect to add form

Drp, Welcome to stackexchange! I guess userdata link is the one you have created through extension/plugin and is also registered using xml and have menu rebuild. When menu link is not registered in ...
Pradeep Nayak's user avatar
2 votes
Accepted

civix civicrm:ping error [Exception] Failed to locate civicrm.settings.php

Cool - in the drupal site root of the site you should see a folder "sites" and be able to see a file at sites/default/civicrm.settings.php can you try running the command from the same directory as ...
Luke Stewart's user avatar
  • 1,890
2 votes

civix civicrm:ping error [Exception] Failed to locate civicrm.settings.php

The /build/dmaster/web/sites/default folder has the civicrm.settings.php file, you can execute the commands from anywhere in/or below the web directory. This will allow civix to correctly locate the ...
Asha's user avatar
  • 121
2 votes

mysql_dsn error on amp config - why am I getting "access denied"?

Just in case anybody else has this issue when they try to use amp config with CiviBuild. It is probably not entirely clear that you first need to create the user that you are inputting into the Enter ...
ChumKui's user avatar
  • 786
2 votes

Can I use localhost:7979 for amp test and one or more different builds created with buildkit?

So I figured out the real problem is that I created a build using mysql_ram_disk instead of mysql_dsn in amp config- meaning the mysql database is in RAM, and of course disappears when I turn off my ...
Joe McLaughlin's user avatar
2 votes

How to resolve 'Failed to locate valid civi root' error?

I had the same problem, and I think it's simply likely to mean that civicrm is not installed in your new site. I solved the problem by re-running civibuild destroy mysitename civibuild create ...
fred2's user avatar
  • 403
1 vote
Accepted

Why do I have GenCodeChecksum uncommitted changes after a fresh civibuild create?

tldr: It's safe but mildly annoying. Please feel free to send a pull-request to update these files. Longer: DAO files are auto-generated when civibuild calls the script xml/GenCode.php with the data ...
Tim Otten's user avatar
  • 5,684
1 vote

How can I make civibuild use "Seven" as the default Drupal theme instead of "Bartik"?

Two options: 1) edit your own buildkit script or 2) prepare a PR for buildkit and convonce Tim seven is a lot more useful than Bartik; I'll second that! A third could be a config option; 3) PR a ...
KarinG - Semper IT's user avatar
1 vote

hey guys, i need some help to add some features to civicrm locally using phpstorm?

start here to start learning about how use to phpstorm and xdebug: https://docs.civicrm.org/dev/en/latest/tools/phpstorm/
KarinG - Semper IT's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible