Questions tagged [installation-profiles]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

How to change the default database driver to the SQLite option in profile installation?

I have two database driver options in the "database setup" step while installing a Drupal project from a custom profile. By default, the MySQL database is selected. But I want it to choose ...
Tasneem's user avatar
  • 95
0 votes
1 answer
16 views

Where is the "Install Profile" value in the Status report set?

I am using Drupal 7. If I go to Reports --> Status Report, the "Install Profile" value is incorrect (it has an extra dash at the end). Where is this value stored? I wish to correct it.
MrSnrub's user avatar
  • 291
0 votes
0 answers
42 views

Can an installation profile have service.yml files?

I have a dxp_installer installation profile. I want to use the container injection for a service which I use in hook_install_tasks_alter() to verify the installation requirements. Note that I inject ...
ilechcod's user avatar
  • 113
3 votes
2 answers
648 views

Moved an old installation profile now site is broken

I have a d9 site with an old installation profile originally written for d8. I was having some issues with the profile preventing the uninstallation of some modules so I tried moving the entire folder ...
tanbog's user avatar
  • 1,253
0 votes
0 answers
62 views

How to import config to a site installed with a profile?

Good day. I’ve installed a profile, made my settings, entered my content, exported config and pushed everything to the repo. Now, when I clone it somewhere else and attempt to install using the config,...
Kartagis's user avatar
  • 612
1 vote
2 answers
92 views

Can't load form from my Install Profile

I have a WelcomeForm inside my src folder in my install profile. My install profile is located inside web/profiles folder and is correctly selected by default during install. However, I added an ...
ilechcod's user avatar
  • 113
1 vote
0 answers
932 views

Error after upgrade - The profile xyz does not exist

I have the following error message after updating from Drupal 8 to Drupal 9 and the page no longer react: [Mon Aug 15 21:11:12.605618 2022] [php:notice] [pid 22144:tid 139845594764864] [client 127.0.0....
Bavramor's user avatar
0 votes
1 answer
306 views

How do I interpret unmet dependencies error messages?

We recently discovered that our clients are running into issues when installing Drupal using our custom default profile. I managed to fix some initial errors like missing libraries, but this other ...
kcsting's user avatar
  • 73
0 votes
1 answer
711 views

Is it possible to programmatically change the config_sync_directory path after profile installation?

Installing Drupal 9 using a custom profile installation, I have defined "config_sync_directory" in settings.php file in $settings array to pick up the profile config during installation. ...
Prashant Chauhan's user avatar
2 votes
1 answer
66 views

Can't preselect time zone in hook_form_alter

I'm writing a custom installation profile/distribution and I want to pre-populate some fields in the 'Configure Site' form (/core/install.php). I have managed to prefill/preselect other fields like (...
consuela's user avatar
  • 239
1 vote
1 answer
395 views

How do I install a working demo?

I have been struggling with this for quite some time. I am trying to install a demo of the Commerce module as provided by Centarro, but every time the install finishes, I only get an empty site with ...
crzpiot's user avatar
  • 434
3 votes
1 answer
1k views

Why does installing from an existing configuration fail?

I am struggling to install a drupal site from an existing configuration. Here the two approaches I tried: OPTION 1: Import the config by changing the UID: drush cex on existing site drush site:...
Extect's user avatar
  • 109
0 votes
0 answers
26 views

How do I upgrade a Drupal site that depends on multiple, complex installation profiles?

I'm no stranger to Drupal, but I have no experience with custom installation profiles. First, are custom installation profiles supposed to be overwritten when core is updated? I've inherited a Drupal ...
blue928's user avatar
  • 3,804
1 vote
0 answers
26 views

Installation Profile with Restrict by IP module

I have an installation profile I use for automating the setup of Drupal 8 websites. Almost everything works perfectly, including configuration items such as date formats and file system, and default ...
Geat's user avatar
  • 463
3 votes
2 answers
74 views

Where does the profile name on the Status Report come from?

When I click on Reports > Status report, the Install profile field says Snrub (snrub-"1.1) (with exactly one double quote). Where is this value defined?
MrSnrub's user avatar
  • 291
2 votes
0 answers
2k 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. ...
octogone.dev's user avatar
0 votes
1 answer
102 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 ...
Andres Guerrero's user avatar
0 votes
0 answers
46 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 ...
Doka's user avatar
  • 233
2 votes
1 answer
197 views

Umami content not created

I'm creating a new Drupal 8 site using Lando/Pantheon - and then installing the Umami profile. I've done this before with no problems. This morning when I try, the site is created and it looks like ...
gmercer's user avatar
  • 843
0 votes
1 answer
591 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 ...
Phil Wolstenholme's user avatar
-3 votes
2 answers
975 views

Create an install profile with a config export [closed]

I want to create a Drupal 8 profile installer with a config export, to export regulary my config to push data modifications in git. I tried this tutorial: https://www.valuebound.com/resources/blog/...
Antoine Aïello's user avatar
1 vote
0 answers
4k 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 ...
alyssaeliyah's user avatar
0 votes
1 answer
41 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 ...
JanneS's user avatar
  • 31
0 votes
0 answers
100 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 ...
ThommyDude's user avatar
4 votes
1 answer
4k views

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

Customer bought a theme that has a Commerce plugin installed with sample data. Anxious to get it running and try out the new configuration system, I did what I do prior to Drupal 8.6: I committed ...
sam452's user avatar
  • 451
2 votes
0 answers
858 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....
Clive's user avatar
  • 167k
1 vote
1 answer
815 views

Optional configuration and order of enable modules on profile

I have a bug or a misconfiguration I don't understand. I'm creating a profile to create new web sites with an advance configuration quickly. But I meet a bug during installation with dependencies of ...
Claire D's user avatar
  • 656
1 vote
0 answers
855 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 ...
Shane Birley's user avatar
0 votes
0 answers
46 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 ...
Cool's user avatar
  • 1,832
0 votes
0 answers
169 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: [email protected] slogan: '' page: 403: '' 404: '' front: /user admin_compact_mode: ...
Pan Chrono's user avatar
  • 1,943
2 votes
2 answers
347 views

Installation profile - Can I create nodes via yml files? What's the best practice for it?

I've created an installation profile for Drupal 8, which creates content types, taxonomies, blocks and stuff I need for new projects via yml files. Now I also want to create some default nodes. I ...
Markus's user avatar
  • 43
1 vote
0 answers
149 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-...
user3086053's user avatar
1 vote
0 answers
261 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 ...
dieuwe's user avatar
  • 163
3 votes
1 answer
1k 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/...
latikas's user avatar
  • 460
1 vote
1 answer
204 views

How to programmatically disable Global Theme Settings?

I am trying to programmatically disable logo and site name. I have seen some variables for these set in modules/system/system.admin.inc but haven't been able to disable them through my profile ...
Shawn's user avatar
  • 417
-2 votes
1 answer
868 views

How do I add default content?

I am looking for a standardized way to add content such as content types into an installation profile. Suppose we exported the JSON for REST Content and want to import them during installation. I ...
latikas's user avatar
  • 460
0 votes
1 answer
43 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?
latikas's user avatar
  • 460
1 vote
0 answers
630 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-...
Jason Glisson's user avatar
0 votes
1 answer
427 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, ...
Gabo Núñez's user avatar
1 vote
0 answers
1k 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 ...
WRD's user avatar
  • 197
6 votes
2 answers
540 views

Configuration management with different database and websites

We have a central code base (Git repo). From this code base we deployed several websites already. Till now we used features. The websites which are already in production they have a filled database ...
meez's user avatar
  • 1,333
0 votes
2 answers
573 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 ...
jmzea's user avatar
  • 962
7 votes
2 answers
4k views

How to enable modules through configuration?

I am trying to enable modules by adding them to core.extension.yml file without getting involved with Features, Configuration Installer or similar modules or profiles. The modules are enabled but ...
duru's user avatar
  • 599
-1 votes
2 answers
228 views

How to disable anonymous user permissions on site build

Using the configuration below I am trying to have my site install without giving anonymous users permission to "View content". I have no other code that would set this permission, and I have this ...
CR47's user avatar
  • 1,111
0 votes
1 answer
79 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 ...
Dion S. Jensen's user avatar
0 votes
1 answer
118 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 ...
Dion S. Jensen's user avatar
0 votes
0 answers
93 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'...
Joum's user avatar
  • 336
0 votes
1 answer
244 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')->...
CamilB's user avatar
  • 258
-1 votes
1 answer
161 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']['...
Shawn's user avatar
  • 417
0 votes
1 answer
56 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 ...
Shawn's user avatar
  • 417