Questions tagged [installation-profile]

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

36 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
318 views

How to fix the core.extension.module list when the currently active profile has been added to it by the system?

Following the 8.6 upgrade, several of our sites have developed a strange problem. The currently active profile, let's call it foo_profile, is now also listed as a module in config (core.extension....
2
votes
1answer
2k views

How to use composer for installation profile?

I have a Drupal 8 installation profile with custom modules and themes and I am wondering how should I use composer so that I can run it and drupal core and other dependencies(like contrib modules) ...
2
votes
0answers
108 views

How to include translations in custom install profile

I'm creating a custom install profile and want to be able to use drush make to quickly set up all files. What is the best way to have drush make download the drupal core translation files into my ...
2
votes
1answer
114 views

Installing a profile inherited from an existing distribution

I would like to build a distribution based on the Standard profile coming with Drupal 7, by inheriting all the features of the parent distro and changing some of them with custom code. The title of ...
2
votes
1answer
76 views

Install profile that automatically inserts data / config settings

I am trying to create a custom installation profile for small internal usage and I'd like to hide certain steps and also implement new functions as a quick-and-dirty way to pre-populate some default ...
1
vote
0answers
313 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
108 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
1answer
165 views

How to create options in installation profile/ distribution to enable custom content types?

I have created a custom installation profile/ distribution with exported config files of a site. I have 4 content types in this site from which two will be installed by default but for other two are ...
1
vote
0answers
157 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
554 views

Import content using the “Default Content for D8” module

I am using Default Content for D8 to import content on my site. After Profile installation completed, I enabled my custom default content module with contents sample json for node entity [my_module/...
1
vote
0answers
306 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
604 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
133 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
91 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
365 views

when installing drupal7.31

when installing drupal in the first page , i can't install with error message An AJAX HTTP error occurred,HTTP Result code 2: debugging information follow, Path:htp://localhost/install.php? ...
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 ...
0
votes
0answers
47 views

How to distribute/share a drupal 8 project/product?

I have a site that I've built with Drupal 8, using composer and git to manage the codebase. It's a fairly simple site that includes a handful of contrib modules, a few custom views, and a custom theme....
0
votes
0answers
9 views

list_text not defined in installation profile

I am building a custom installation profile. I am trying to create a field on module installation of type list_text. I have the 'list' dependency inside of my profiles .info file, and it's ahead of ...
0
votes
0answers
380 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
13 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
59 views

How to add module dependencies to composer of custom Installation profile

I am trying to create an Installation profile in D8. I want to add module dependencies to composer file of the profile. (This profile is added to the site through composer) I tried running the ...
0
votes
0answers
43 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
301 views

This import is empty and if applied would delete all of your configurations

Customer bought a theme that has Commerce plugin installed with sample data. Anxious to get running and try out the new configuration system, I did what I do prior to Drupal 8.6. Commit everything but ...
0
votes
0answers
26 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
105 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
94 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
0answers
54 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
196 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 ...
0
votes
1answer
165 views

Rebuild permissions needed after installation from profile

Once solved this issue: How to define settings from an install profile I would like to skip the Error Message I get on first load of the application: Message d'erreur Les permissions d'accès au ...
0
votes
0answers
33 views

Installing site using custom profile gives error “call to undefined function libraries_get_path”

I have to change an already made site. It is using a different custom made Profile and not the standard profile. but when I install it, it gives error "Call to undefined function libraries_get_path on ...
0
votes
1answer
257 views

Undefined property: stdClass::$collapsible

After creating a vertical tab in my installation profile I keep getting these notices: Notice: Undefined property: stdClass::$collapsible in field_group_pre_render_tab() and Notice: Undefined ...
-1
votes
1answer
67 views

hook_block_info_alter() is not working?

I am creating a custom Drupal profile and put down the following code. function erc_360_min_hook_block_info_alter(&$blocks, $theme, $code_blocks) { $theme = 'erc_generic'; $blocks['user']['...
-6
votes
0answers
31 views

I want to install drupal 8 and access it as http://<something.com>/drupal rather than at the root

I want to install drupal 8 and access it as http:///drupal rather than at the root. But it does not honor the prefix "/drupal/" for most of the admin part. Could someone please help