Questions tagged [civicrm-buildkit]
Questions about CiviCRM's BuildKit development toolset.
65 questions
1
vote
1
answer
125
views
Installing CiviCRM on Localhost with Windows and XAMPP for WordPress
Question: How can I successfully install CiviCRM on my localhost running Windows with XAMPP and integrate it seamlessly with WordPress?
Explanation: I am currently working on a local development ...
0
votes
1
answer
43
views
Install Civicrm ESR on Buildkit wp-empty build
I am trying to set up a local development environment to test new extensions with an ESR version of CiviCRM (currently CiviCRM 5.45.6). To this end I use the civicrm-buildkit-docker projekt. So far I ...
1
vote
2
answers
157
views
DDEV, Drupal 9, CiviCRM & Civix Installation
Thanks is advance. I am using DDEV with Drupal 9.5.2 and CiviCRM 5.57.2
I would like to use civix to look at custom reports.
Any advice on how to install it? I've look at the documentation but most of ...
0
votes
1
answer
61
views
amp config test site giving error
I am new to buildkit, I tried running amp config and it looks like the amp test works properly after following the buildkit documentation. It said 'received expected response' in the terminal when I ...
1
vote
0
answers
24
views
How to actually open a civibuild demo site in MAMP Pro?
Okay, I feel like a real dummy, but I cannot for the life of me figure this out.
I'm on MacOS Monterey, MAMP PRO 6.6.2. I finally got BuildKit fully installed and functioning following these ...
0
votes
0
answers
41
views
why dmaster demo site refused to connect in locally?
I have installed CiviCRM buildkit form https://github.com/michaelmcandrew/civicrm-buildkit-docker. I have installed a stable release 0.9.0 and created the dmaster demo site using docker-compose exec -...
0
votes
0
answers
29
views
Attachments missing from an applicant profile while I attached these documents to their profile while filling a form
When I filled a web form for an applicant, I attached some documents files too that can be viewed in an activity but when I opened the applicant contact profile their attachments are missing not ...
0
votes
1
answer
35
views
How to resolve 'Failed to locate valid civi root' error?
I have installed the CiviCRM buildkit using Docker. Then i deleted the docker image and installed the buildkit again using Docker but the installation failed. I have stated the error below
+++ '[' '!' ...
1
vote
2
answers
18
views
Why are cv php:boot calls failing only when running unit tests and not through direct CLI calls?
Starting with a new machine, and a new buildkit instance! Buildkit/bin's contents added to PATH successfully.
When I run cv php:boot --level classloader on the command line, I get:
/*BEGINPHP*/
...
2
votes
1
answer
91
views
Civibuild issues?
Has anyone tried running civibuild recently to create a CiviCRM environment under Drupal 9? I have been running it on a Ubuntu 20.4 virtual machine and hit various issues. To build drupal9-clean I ...
1
vote
1
answer
88
views
Why does phpunit say "DB Error: connect failed" for new 'drupal-clean' site?
I have a new 'drupal-clean' civibuild site which works fine in the browser, yet when I try to run civicrm phpunit tests, I get a mysql connection error, "DB Error: connect failed". How can I ...
0
votes
1
answer
54
views
Can I use localhost:7979 for amp test and one or more different builds created with buildkit?
After running amp config and amp test, I successfully created a drupal-clean build using buildkit and civibuild on localhost:7979, and added a bunch of extensions, etc.
I turned off my Ubuntu 19.04 ...
3
votes
1
answer
34
views
Is it 'better' to use mysql_dsn rather than mysql_ram_disk with buildkit and amp config?
I've successfully set up a drupal-clean test build on my Ubuntu 19.04 machine using buildkit, amp config and amp test and chose mysql_ram_disk rather than mysql_dsn.
My intent was to have a semi-...
3
votes
2
answers
162
views
mysql_dsn error on amp config - why am I getting "access denied"?
I'm trying to install buildkit on my Ubuntu 19.04 laptop, per the instructions at https://docs.civicrm.org/dev/en/latest/tools/buildkit/#config
I've used curl to run the script, successfully - ...
1
vote
2
answers
131
views
civix civicrm:ping error [Exception] Failed to locate civicrm.settings.php
I just installed CiviCRM BuildKit using the instructions here
After accessing the bash shell of the container with:
docker-compose exec -u buildkit civicrm bash
I try running the command
civix ...
2
votes
1
answer
48
views
Redirect to dashboard instead of redirect to add form
I've installed wordpress Version 4.9.8 with civiCRM.
Now i have create one new menu name is "userdata"
But when i click on menu "Userdata" it will redirect to the dashboard. Instead of dashboard it ...
2
votes
2
answers
94
views
How to install civix and build an extension in drupal
Please I don't know how to install civix and build an extension using civicrm. I
already installed drupal and civicrm module. but I have no clue how to write an extension or how to run anything here. ...
1
vote
1
answer
92
views
how to setup civicrm on windows 8
Please could anybody direct me on how to setup civiCRM on my windows OS and also code with it. I am totally new to this type of platform and with no clue on how to go about anything, however, I have a ...
1
vote
0
answers
126
views
How to install civiCRM buidkit in WAMP server localhost with Drupal 7
I am new to civiCRM. I would like to install CiviCRM buildkit on my local environment. I am using WAMP server. I have followed this link: https://docs.civicrm.org/dev/en/latest/tools/buildkit/ but ...
0
votes
1
answer
186
views
CiviCRM BuildKit install fails on Ubuntu 18.04.1 LTS
Running the BuildKit installer script on Ubuntu 18.04.1 LTS doesn't work - it fails trying to resolve the conflict between the openssl libraries used by Ubuntu's NodeJS/NPM packages and the libssl-dev ...
2
votes
1
answer
235
views
Install CiviCRM Buildkit on windows xampp
how to install buildkit cvcrm on windows?
I've set up xampp, drupal 7.x and civicrm 5.2.x
i just have no clue what to do with the buildkit zip file which I've downloaded from here https://github.com/...
1
vote
1
answer
98
views
Buildkit won't install on Ubuntu
I'm trying to install the buildkit tools on a Ubuntu based virtual machine install of a LAMP pre-made vm.
I've tried as root (bad form) and I tried as www-data, which is the same user as apache and ...
3
votes
1
answer
27
views
Add language files in civibuild
Checking the civibuild create parameters I do not see an option to include the translation/language files? That would be really helpfull, I now add them manually after a civibuild.
3
votes
0
answers
22
views
Automating civilint before a commit
Is there a smart way to automate calling civilint before committing on a repository specific basis? i.e. just call it on civicrm (core and extension) repos and not on other repos?
Just tweaking and ...
3
votes
1
answer
135
views
Re-install Buildkit on Ubuntu for Windows
I have just installed BuildKit on Ubuntu for Windows as root by mistake. Is there a way I can uninstall and start again? Can I just delete the buildkit folder?
Also, I don't need to install Apache, ...
1
vote
2
answers
39
views
Buildkit and php binary is called php56
I have buildkit installed on my computer however the php command is called php56.
The civibuildkit command fails because it is looking for a command called php.
Is there an easy way I could change ...
1
vote
0
answers
66
views
How far is the CiviSocial integration under implementation?
I am able to see some talks on CiviSocial.
https://wiki.civicrm.org/confluence/display/CRM/Social+Media+Integration
How far is it implemented? How can I integrate my organization's Social Media ...
1
vote
1
answer
24
views
How can I make civibuild use "Seven" as the default Drupal theme instead of "Bartik"?
Every time I run civibuild create or civibuild reinstall to create a local Drupal/CiviCRM development site, I find myself running drush vset theme_default seven afterwards so that I get the "Seven" ...
0
votes
1
answer
27
views
hey guys, i need some help to add some features to civicrm locally using phpstorm?
the question is how to edit something in contact page and how to debug my code.
is there anyway to debug it without install it again to DRUPAL and test my code if its work or not.
1
vote
0
answers
44
views
Having issues downloading development tools using civi-download-tools
I am new to CiviCRM and about to start extension development for CiviCRM ... I was following the instructions on the site to setup a development environment for CiviCRM extensions ... while attempting ...
1
vote
1
answer
370
views
NodeJS error on latest CiviBuild
Encountering the following npm related issue on using the latest buildkit. Any suggestions? NPM is already at latest.
If someone has a working buildkit they could tell me which version of npm they're ...
2
votes
1
answer
31
views
Where do I find Apache error logs for sites that I installed with buildkit?
I installed a site with buildkit. Now I'm doing some dev work which is producing WSOD / 500 / "Internal Server Error" errors, but I can't find any logs about these errors.
I've looked in /var/log/...
1
vote
1
answer
21
views
Why do I have GenCodeChecksum uncommitted changes after a fresh civibuild create?
I just created a new site with buildkit:
$ civibuild create foo --url http://foo --type drupal-demo
Then I went into CiviCRM and looked at the git repo
$ cd ~/buildkit/build/foo/sites/all/modules/...
3
votes
3
answers
252
views
How do I upgrade CiviCRM on a local site that I installed with buildkit civibuild?
A while back I did
$ civibuild create demo.local --type drupal-demo --url http://demo.local
and got a working local site running CiviCRM 4.7.9. Great.
Now I'd like to upgrade this site to 4.7.17.
...
1
vote
1
answer
27
views
Is there a copy of phpunit 4 documentation somewhere?
The phpunit no longer even lists the 4.8 documentation on its website although that seems to be the version buildkit is on.
:-(
are there docs for 4.8 somewhere?
1
vote
1
answer
176
views
class Civi not found
I'm trying to use the Civi class to debug an extension with build kit,
but after I add this line:
`Civi::log()->info('Hello, log!');`
to my class I get:
ampuser@58e3a823b9ee:/opt/buildkit/...
0
votes
1
answer
69
views
Error when trying to install buildkit
I am trying to install buildkit and re-educate myself with some of the more up to date CiviCRM development practises :-) However, I get an error when I run civicrm_download_tools. I am running Ubuntu ...
1
vote
0
answers
89
views
Does CiviCRM have a recommended setting for zend.multibyte?
When running CiviCRM test suites, I see
PHP Warning: declare(encoding=...) ignored because Zend multibyte feature is turned off by settings in /path/to/sites/all/modules/civicrm/vendor/...
2
votes
2
answers
161
views
Problems with first test site using Civicrm buildkit
hope there is someone who can help? It's taken me a couple of days, but I've finally got the buildkit successfully installed, however when I try to create my first instance I'm getting permissions ...
2
votes
2
answers
98
views
Buildkit Site fails to load due to PHP ugrade from 5 to 7
After Upgrading from php 5.6 to php 7, when i try to access the sites created using buildkit, I am unable to access it.
After typing
Civibuild show dmaster
I get the following
ERROR: Failed to find ...
4
votes
2
answers
122
views
civix generate:module org.civicrm.angularex error
lteI have installed a civicrm buildkit with vagrantbox and vagrant up correctly on windows, ubuntu server run and at d7-master.dev I am listening drupal civicrm all done ok.
as I try to generate ...
1
vote
0
answers
41
views
civibuild failed to create symbolic link 'bower'
i'm trying to configure a dev environment with civicrm buildkit. i have already follow the steps described here: https://github.com/civicrm/civicrm-buildkit
but afert use of amp config and amp test (...
7
votes
1
answer
171
views
What's the optimal way to install and track CiviCRM with Drupal and git?
First, I know compatibility with Drupal 8 is not full yet. There are still open bugs, a bunch of open PRs and an apparent lack of code review.
But let's ignore that for a moment and consider civi d8-...
2
votes
7
answers
141
views
Do I need to know Linux to administer CiviCRM?
Do I need to know Linux to administer CiviCRM? This is not a rhetorical question :) . And it's a question I wish I had asked three and a half years ago.
My answer now, to my self of three and half a ...
1
vote
1
answer
50
views
Unable to download buildkit on ubuntu
On a fresh Ubuntu system when running the command
curl -Ls https://civicrm.org/get-buildkit.sh | bash -s -- --full --dir ~/buildkit
as requested on the document on the repository, i get the ...
1
vote
2
answers
107
views
Civibuild Install - Unable to connect to github.com
I got the following error while running civibuild install after few stuff got installed.
.
.
.
bower resolved https://github.com/jquery/jquery-dist.git#2.2.3
bower resolved https://github....
1
vote
1
answer
104
views
Buildkit - amp test failed - /root/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/root/' is executable'
I am trying to setup buildkit in my new Debian machine. I installed all the required packaged, ran civi-download-tools and amp config with correct credentials and included Include /root/.amp/apache.d/*...
4
votes
1
answer
324
views
Using buildkit on MAMP but hitting "Fatal error: Call to a member function getDriver() on null"
I am trying to install buildkit on a Mac with MAMP, but am hitting this wall:
Fatal error: Call to a member function getDriver() on null in phar:///Users/user/buildkit/bin/amp/src/Amp/Database/...
6
votes
1
answer
169
views
Is civicrm-buildkit safe to use in production?
Background: I am recreating our CiviCRM installation on top of Drupal inside a Docker container. After a significant amount of research, I have decided to incorporate the best parts of civicrm-docker ...
1
vote
3
answers
160
views
Buildkit - amp test recieved incorrect response while connecting to a test application
I had successfully ran the buildkit till got this error while running amp test. It created the test application, created data directory, set up few ports
Create data directory:/home/***/.amp/canary/...