What's the deal with Deno? We talk with a major contributor to find out. Listen now.

Questions tagged [installation-profile]

Installation profiles combine core Drupal, contributed modules, themes, and pre-defined configuration into one download.

Filter by
Sorted by
Tagged with
1
vote
1answer
346 views

Enable field inside Manage Display from a .yml file

When I create a field field.field.node.custom.body.yml in my custom module with the following code: langcode: en status: true dependencies: config: - field.storage.node.body - node.type....
1
vote
1answer
216 views

Drupal 8 installation (bash) script. I want the latest stable v8 version each time. But how?

My Drupal 7 script utilised a make file which specified '7.x' as the Drupal version to install, drush make would fetch the correct core files. My current Drupal 8 script uses git to clone and then ...
1
vote
1answer
69 views

Drush make SVN repository

I want to add a checkout of an SVN project in the .make file. However, the checkout only concerns a specific folder (new profile added). Has anyone made this before ? edit : Folder and not file. My ...
1
vote
1answer
330 views

Why would taxonomy_term_save be slow when called from hook_install_tasks?

As part of making a site more easily deployable from scratch, I have generated two PHP scripts to pre-populate taxonomy vocabularies with a list of terms. The scripts are straightforward, creating ...
1
vote
1answer
509 views

Create Taxonomy vocabularies and terms in installation profile

I'm creating a Drupal installation profile(drupal 6) and want to create taxonomy vocabularies and terms. How to create taxonomy vocabularies and terms in installation profile?
1
vote
2answers
353 views

Creating node in installation profile but body field stays empty

I am trying to generate nodes in my installation profile. The weird thing is that everything works except the body. First here is the code I use: $date = new DateTime(); $node = new stdClass(); $node-...
1
vote
0answers
57 views

Error, unmet dependencies at installation

i have an error at drupal installation with my custom profil - version 2. i have successfully created a custom profile - version 1 - and installation is ok, thus i know how to do it and it works. ...
1
vote
0answers
520 views

Installation profile missing after upgrade to 8.6.1

I did an upgrade from Drupal 8.5.6 to 8.6.1 and the installation (minimal) profile broke. I noticed that the minimal.install file was removed from the installation profile. I assume this is related to ...
1
vote
0answers
125 views

Drupal install with composer (drupal-project)

I have used option A to install Drupal 8 on server: https://www.drupal.org/docs/develop/using-composer/using-composer-to-manage-drupal-site-dependencies https://github.com/drupal-composer/drupal-...
1
vote
0answers
203 views

Include a CKEditor Plugin in an Install Profile / Distribution

I am working on an install profile that needs some CKEditor plugins. For example. the template plugin. You can add the module no problem: composer require drupal/wysiwyg_templates Getting the JS ...
1
vote
0answers
430 views

Installation profiles: Something is missing

I've been working on trying to write an installation profile for Dtupal 8 for almost a week now. I've followed the docs on Drupal.org: https://www.drupal.org/docs/8/creating-distributions/how-to-write-...
1
vote
0answers
797 views

How should I solve a module load order problem in a custom install profile?

I'm building a custom install profile for Drupal 8.4. It uses the new core Media module, and includes custom config files for the entity forms for media's image and file entities. One of those changes ...
1
vote
0answers
140 views

How can I define a custom Contact Form in an Installation profile / distribution?

Question : How can I define a custom Contact Form in an Installation profile / distribution ? Goal : Research : : It's for an installation profile we want to put an contact form in all our Drupal ...
1
vote
0answers
20 views

The site can't display images [closed]

My site can't display any images (logo, article's image) all type of images.
1
vote
0answers
93 views

Libraries not found when installing from custom profile

I've created a custom Drupal installation profile which has the epsacrop project included in the makefile and as a requirement in the .info file. Also, the epsascrop project requires two libraries: ...
1
vote
0answers
45 views

Change profile makefile download location?

This is similar to Changing Drush make default subdir for install profiles, but with a twist. I'm using a set of nested profiles to inherit default modules, each with a makefile. Unfortunately, this ...
1
vote
1answer
36 views

best practice: what directory should the theme be located for a site install profile

I am building a site install profile. Trying to wrap my head around the file structure. I am creating a Drupal 7 install profile with a sub theme off of omega. Is it better practice to put the theme ...
1
vote
1answer
49 views

How do I update a site after its installation profile is updated?

Say I decide to add a new module to an installation profile I've created and used to build a bunch of sites with. Can I easily use Drush to update all of those sites to the latest version of the ...
1
vote
0answers
1k views

Update install profile- with or without drush

I'm fairly new to drupal and I'm getting used to drush. I'm trying to update my site with drush up and it seems to update core, contrib modules and the database okay. However, I have several modules ...
1
vote
1answer
62 views

Assign tinymce to text formats

Just to start with I am trying to do this in code (installation profile), not in Drupal itself. In my installation profile I create three text formats. Thanks to the drush make file tinymce is also ...
0
votes
1answer
41 views

How do I enable User 1 rights in minimal installation?

I have Drupal 8 minimal installation profile and it does not seem to have provided super user status to the first admin account created during the installation process. How do I enable it?
0
votes
2answers
519 views

how do i programmatically set the ANONYMOUS USER permissions on a site install profile?

I am having trouble figuring out how to set permissions for users I personally did not programmatically create in my site installation profile. Can someone please help? I would like to set 'View ...
0
votes
1answer
348 views

Unable to choose an installation profile on a multi-site installation

I installed drupal 8 with the open social installation profile using composer. Now I want to turn this drupal install into a multi-site installation where some of the other sites don't use this ...
0
votes
1answer
83 views

How to get correct language code during installation?

I am programmatically creating some content during installation of my profile and I need to set the language for this content, otherwise it will be in English(which my site is not) and there will be ...
0
votes
1answer
594 views

Create a user via the Installation profile

I am using Installation Profiles to automate the process of installing Drupal 7 websites I would like to create a user via the installation profile and assign it a username, password and email ...
0
votes
1answer
189 views

How to install and enable a default and admin theme in a Drupal 8 install profile with just YML (without using hook_install() or a .profile file)?

I want to avoid using hook_install() so I can install from configuration. I'd like my install profile to use seven for the admin theme, and my custom theme rutherford for the default/main frontend ...
0
votes
1answer
39 views

How to add GitHub repositories in Profile Installation

How to add Git repositories to install module while installing Drupal 8 Profile. Is any way to add repositories path in .yml or .profile to module installation? Is this possible?
0
votes
1answer
324 views

How to create a Drupal 8 distribution

So I have this Drupal 8 site with its custom theme, some blocks, menus, content types, views and other more stuff. What I am required to do is create a site distribution of this site for drupal.org, ...
0
votes
1answer
173 views

Setting site name in installation profile

I'm creating an installation profile. Currently, hook_install() contains only this: /** * Implements hook_install(). */ function myprofile_install() { \Drupal::service('config.factory')->...
0
votes
1answer
35 views

Install new site from existing config plus data migration

I need to install a new site on drupal 8 from existing config plus data like content, users. I used config installer to install a new site from existing config. How to make it import content after ...
0
votes
2answers
79 views

Aegir hostmaster custom profile

I created a custom profile with a custom theme for Aegir. I would like to enable that theme by default when a user install hostmaster during the Aegir installation. In the Aegir installation ...
0
votes
2answers
203 views

Reverting blocks and other pseudo-exportables in an install hook

We have a medium-sized Drupal 7 site whose configuration is almost entirely stored in code, in a single Features module. In order to permit automated testing and a cleaner development workflow, I'd ...
0
votes
2answers
271 views

Drupal installation profile: menu_link_save() doesn't work for “import” path

In my installation profile, I am trying to add a menu link for the /import path (from feed_import module). menu_link_save() works for all my menu paths with the exception of /import. Anyone have ideas ...
0
votes
1answer
178 views

Module not found during installation

I am creating an install profile that requires, among other things, a slew of Features. Because of the intricacies of the project, which is a multi-site, I have in sites/mysite.com/modules/...
0
votes
1answer
51 views

Troubles with external configuration

I'm working in the creation of a custom profile. When the installation is already finished, on the configuration module /admin/config/development/configuration appears the following warning The ...
0
votes
0answers
28 views

How can I migrate a site to another site with a different installation profile?

How can be D8 sites migrated in Aegir between different installation profiles, and not only between platforms using the same installation profile? There is a solution in Aegir for D6->D7 and D7->D7 ...
0
votes
0answers
1k views

PDOException: SQLSTATE[HY000] [2002] Connection refused Upon Drupal 7 Installation

I have already installed LAMP in my Ubuntu 18.10 server. I have also downloaded Drupal 7 files. But after I navigate to http://10.0.34.74/drupal-7.65/ in my browser. The error below occurs: Error The ...
0
votes
1answer
18 views

Installation fails with missing “file” -plugin error

We are creating our own D8 installation profile from previously built site. We exported config and split it to modules, so that our custom modules are defining their own configs. We've had a lot of ...
0
votes
0answers
57 views

Custom installation profile with standard content

For a school project I'm trying to use a custom installation profile to pre-install a couple of modules such as Drupal Commerce. The problem I'm running into is the fact that although my installation ...
0
votes
0answers
31 views

Drupal subsite status report not showing correct profile

I have installed a Drupal site with lightning profile and exported all the configuration in to /config/default folder using drush config-export command. After that I have created a subsite and the ...
0
votes
0answers
129 views

system.site.yml not installing correct site settings

performing D8 install through a custom profile, added a system.site.yml like: name: 'Portal Manager' mail: cms-admin@example.com slogan: '' page: 403: '' 404: '' front: /user admin_compact_mode: ...
0
votes
1answer
146 views

How to rename installation profile name in existing website in D8

I have installed Drupal 8 with a custom subprofile. 'my_custom_profile'. Development of site is almost completed and we have added all the contents in the site. In this stage how can I rename my ...
0
votes
2answers
445 views

Recommended way to clone functionality to create a site in Drupal 8

I have a Drupal 8 installation with different content types, paragraphs defined, views and taxonomy vocabularies. Ideally I wanted to be able to export some of these features and import them in ...
0
votes
1answer
55 views

Custom install profile fails at creating folders

I have a relatively simple custom installation profile for Drupal 8. All it does is: Ask for the sites domain name and the name of the theme it should scaffold. Use the domain name to create the ...
0
votes
1answer
93 views

Create folders in custom installation profile fails when usind drush site-install

I am working on a custom installation profile, and am using $_SERVER['DOCUMENT_ROOT'] as part of creating custom folders inside <drupal-root>/sites/sitename.tld/. It works as expected when using ...
0
votes
0answers
65 views

Automating site install from profile - settings.php

I'm trying to automate a site deployment/environment generation using profile installation, but I need to change the trusted_host_patterns key in the $settings variable of settings.php. From what I'...
0
votes
1answer
47 views

How to set Blocks settings in a Drupal Installation Profile?

Is there a way to have my blocks pre-assigned a region and also enabled / disabled in a profile installation? I don't want to go to the structure / block page and assign these blocks individually each ...
0
votes
1answer
14 views

Create defaults for panels to be deployed on install only

We have a mini panel that we use to create a footer area. This is deployed on install of a new multi-site through our custom installation profile. I would like to set default content items in the ...
0
votes
1answer
33 views

Accessing values entered in custom fields added to install_configure_form

In my installation profile, I have added a text field to the install_configure_form by including: if (!function_exists("system_form_install_configure_form_alter")) { function ...
0
votes
1answer
207 views

Install profile installation fails with “Base table or [error] view not found: 1146 Table 'xxx.system' doesn't exist'” on aegir

I tried to install a custom installation profile on aegir today, the installation failed with this message: Exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 ...