Questions tagged [installation]
Use it for questions about the installation of Drupal, modules, or themes.
692
questions
0
votes
1
answer
25
views
How to remove a region from a content type? [closed]
Drupal 10.1.3
How to remove a region from a content type?
In Drupal 7 or Drupal 8 I did that with a condition-reaction in the module Context but I am having trouble installing the module Context in ...
-1
votes
0
answers
24
views
Default installation permissions differ from security review [closed]
When a default installation has been setup (using Softaculous), security review reports writable folders.
Why does the installation not comply with these suggestions?
-4
votes
0
answers
46
views
My shared hosting doesn't have up to date libmysqlclient for Drupal 10, what latest core version can work? [duplicate]
My shared hosting provider doesn't have up-to-date libmysqlclient so I can't finish the Drupal 10 installation.
The libmysqlclient driver version 3.1.21 is less than the minimum required version. ...
0
votes
2
answers
87
views
Is a php filter available for Drupal 10.1.2?
Its been a few years since I've used Drupal (pretty much missing version 9), but I'm coming back to it with 10.1.2. I'm hoping to get a PHP filter installed for content, as I historically like to use ...
0
votes
0
answers
42
views
GET /sites/default/files/js/js_xxxxxx.js - No such file or directory
This is my first post, I just started to learn and use Drupal, and I wish to install a fresh new site on my local Windows machine using composer. The issue is that it has a file not found error from ...
0
votes
1
answer
60
views
Why is the cURL extension needed?
PHP requirements contains the following text.
The PHP cURL extension is required for automated testing in Drupal 9 and higher, as well as Aggregator and some contributed modules.
Many Linux ...
1
vote
1
answer
132
views
How do I edit settings.php when it is read-only?
I have a Drupal 10 site that I just installed for the first time. I am very new to Drupal, and I haven't done anything to this site except install it and set up basic details like the site name, ...
0
votes
1
answer
103
views
How to know what installed modules are contrib modules from the GUI?
I wish to remove all contrib modules so I could upgrade my core from version 9 to version 10.
I have installed several contrib modules, some time has passed and my problem is that for some modules, I ...
3
votes
0
answers
57
views
Enable a module with sample config that depends on a theme
I have a submodule that provides some prepared configuration via config/install. The goal is to have devs enable that module to get a preconfigured set of content types complete with preconfigured ...
-1
votes
1
answer
85
views
Why does Drupal\\Core\\Config\\UnmetDependenciesException occur on install?
I tried to Install drupal on a Ubuntu 22.04.2 VM.
I route the guest via NAT to my host. Then I created a folder in my webroot and let Apache point to it. After that, I downloaded the installation file ...
0
votes
0
answers
69
views
Composer modified installation with changed /web reference in composer.json fails
Based on this question.
I am running a modified composer installation.
composer create-project --no-install drupal/recommended-project ./
I am changing "web" in the composer.json like so:
{
...
-1
votes
1
answer
935
views
Unable to connect to database when launching a new Drupal site with Lando [closed]
I tried to set up a new local drupal9 site using Lando, but it is unable to connect to the database and I am getting the following error.
Failed to connect to your database server. The server reports ...
0
votes
1
answer
59
views
Why can’t I install the module after uploading it?
I uploaded the Commerce Core module (8.x-2.32) from the /admin/modules/install tab. After uploading it, the modules list shows the module as disabled. I cannot select the checkbox shown for this ...
0
votes
1
answer
364
views
How can I check if a module is enabled in settings.php?
I've read How can I check if a module is enabled? and How can we use \Drupal class inside Settings.php and came to the conclusion that I cannot use the module_handler service in settings.php.
How can ...
1
vote
0
answers
836
views
Lando runtime exception during installation
I keep getting the same error when trying to install Drupal locally on my Windows 10 Pro machine with Lando.
Steps to reproduce:
Install lando.exe on Windows 10 Pro, including bundled Docker
Download ...
-1
votes
1
answer
183
views
How to install a theme with the command line?
I am trying to install the theme Adaptivetheme.
I have tried this
composer require drupal/adaptivetheme
and then:
vendor/bin/drush theme:enable adaptivetheme
But I got:
Unknown themes: ...
0
votes
0
answers
202
views
Import config on Drush install with config in non-standard directory
I've got a site set up with its config sync in a directory outside of web root; specifically ../config/sync (relative to the Drupal root). I have that path set for $settings['config_sync_directory'] ...
-2
votes
1
answer
99
views
drush puts my website in a subdirectory named 'web' [closed]
I use shared web hosting with Cpanel, LAMP and Composer.
I have installed Drupal with Drush on a registered web domain (example.com).
My website is accessible via example.com/web/ but I would expect ...
-4
votes
1
answer
125
views
Access denied in Drush but granted in GUI [closed]
I am trying to install Drupal on a CentOS based shared server environment (namecheap.com) with mysql, ssh and Composer.
I have created a database username and a database with the same name and a ...
-4
votes
1
answer
94
views
How to create settings.php?
I have installed Drupal with Drush this way
cd WEB_APPLICATION_ROOT
composer create-project drupal/recommended-project WEB_APPLICATION_DIR_NAME
cd WEB_APPLICATION_DIR_NAME
composer require drush/drush
...
1
vote
3
answers
178
views
Does Drupal have its own CLI?
It is unclear to me from the this document if Drupal has its own CLI, different from Drush and Drupal Console and including some very basic commands such as cache flush and installing a module.
Does ...
0
votes
0
answers
40
views
How can I debug during installation?
I tried to install Drupal 9.4.2 in a MySQL-compatible database, but I got these errors.
How can I debug during installation or just print out the incompatible SQL statements?
-1
votes
1
answer
114
views
Cannot Install Theme
my problem is that I cannot install this specific theme and also I cannot install the required module for that. As you can see in the picture, I cannot check the checkbox to install it.
By the way I ...
1
vote
3
answers
574
views
How do I install on Windows 11?
I wish to install Drupal 9 on Windows 11 using Drush.
Drupal on the cloud solutions (which should be easily accessible from Windows) cost money and not quite what I seek for a local install.
I can ...
0
votes
1
answer
101
views
How to Install new module, add code to existing module that requires the new module, and import config for the new module in the same build
I seem to be running into a circular dependency issue in the scenario where my new build has a new module (B), new code in an existing module (A) that depends on the new module (B) and new config ...
-1
votes
1
answer
121
views
Installer can't create sqlite database
I have a drupal page, hosted with azure webapps, on nginx. However, when i start the site, the installer wants to have a database. I am aware that it's bad, but sqlite is an intentional choice because ...
0
votes
0
answers
325
views
How to deal with "Recursive router rebuild detected." exception error
I am frequently seeing module installation and uninstallation fail with the error
Uncaught PHP Exception RuntimeException: "Recursive router rebuild detected." at /path/to/drupal/web/core/...
0
votes
0
answers
52
views
unapplied patch reinstall the drupal core
I've upgraded a site from d8 to d9. And I'm rewarded with this error :
- Applying patches for drupal/core
https://www.drupal.org/files/issues/2021-03-15/...
0
votes
0
answers
36
views
I cannot load some pages after configuring CiviCRM Webform
I installed Drupal 9.3.5 and configured Webform 6.2. When I try to load the setting and other pages, I get this error.
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "webform....
1
vote
0
answers
145
views
Why might a batch initiated in hook_install() sometimes not process?
I have two modules, module_alpha and module_beta.
Both modules install a database table with hook_schema() which they use to track information about published nodes. Data is logged in the table with ...
-1
votes
1
answer
58
views
Should installing local Drush and Drupal via Composer on my personal computer be any different than on hosting platform?
Should installing local Drush and corresponding Drupal via Composer on a personal computer with Ubuntu-Apache-MySQL-PHP be any different than on a shared hosting platform?
Should I just do the ...
0
votes
0
answers
79
views
Cant install Provus via Docksal
I have a problem running Provus on local env via Docksal. Provus
> git clone https://github.com/promet/provus.git ppd9
> cd ppd9
> fin init
Errors via installations
[error] Drupal\Core\...
1
vote
0
answers
467
views
Installing to a MySQL database that requires SSL
I am attempting to install Drupal 9 to a fresh host using an AWS MySQL RDS instance for a database. The database is configured to require SSL. When attempting to install via the web GUI, I receive ...
0
votes
1
answer
76
views
Creating a store in the Commerce module fails
Using Drupal 9, latest release of Commerce 8.x-2.28. I followed the Lugwig install instructions for the Commerce module. Everything seemed to install OK.
When I fill out the Create Store form, I get ...
0
votes
0
answers
630
views
Drush Config import not working after Site-install Standard. There were errors validating the config synchronization
I am Upgrading Drupal 8.9 to Drupal 9.2 and it's installed but when am I trying run -y config-import then getting error
[error] Drupal\Core\Config\ConfigImporterException: There were errors ...
0
votes
1
answer
139
views
logging working on local site but not remote site
I recently migrated from Drupal 8 to 9. Works ok on my local (MAMP on Mac), but not on the remote (AWS Lightsail). Local has PHP 7.4.12, Remote has PHP 7.4.2.
I put the entire codebase in git, and ...
-2
votes
1
answer
233
views
What are the causes of the malfunction (The provided host name is not valid for this server) and how to fix it? [duplicate]
My site stopped suddenly, with an error message
The provided host name is not valid for this server.
And even though I removed
$settings['trusted_host_patterns']
Completely from the settings file ...
-2
votes
1
answer
88
views
Unable to install modules: module 'login_security' is incompatible with this version of Drupal core
I'm trying to install the Login Security module. When I run drush en login_security, I get the following error.
In ModuleInstaller.php line 91:
Unable to install modules: module 'login_security' is ...
0
votes
2
answers
690
views
psr/log requires PHP 8
I'm running Drupal 8.9.16 with PHP 7.4.12 While attempting to run composer update today I saw this error for the first time:
Problem 1
- Root composer.json requires psr/log dev-master -> ...
0
votes
0
answers
87
views
Why does installing this module fails?
I used composer create-project drupalcommerce/project-base commerce --stability dev, as suggested from Installation|Drupal Commerce Installation starts normally, but after I am asked for the database ...
3
votes
1
answer
970
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:...
1
vote
1
answer
353
views
I installed Solr for the Search API Solr can someone can give me hints what i could have done wrong?
I'm currently running a CentOS 7 server with cPanel and Drupal 8. I installed Solr 8.8.1 and I can access the administratrion page where I an able to create cores. I installed the Search API module ...
1
vote
1
answer
750
views
How do I avoid overwriting the .htaccess file when I use the Compose command?
On my new Drupal 9 website, I customized the .htaccess file and the robots.txt file
I don't want its files to be overwritten when updating with Composer.
I added the lines below in my composer.json ...
0
votes
0
answers
369
views
How to work around check for `sites/default/files` during Drupal installation, if you're not planning on using it?
I'm working with a server where I don't have shell access and I've dropped the database in an attempt to reinstall Drupal (having run into issues with a failed deployment). When I try to step through ...
0
votes
1
answer
619
views
"Process 'Apache web server' failed to start. Port 8083 didn't open"
I'm trying to install Acquia Deve Desktop 2 for my windows 10 PC. When it's finished installing and I run the program, an error pop up message shows up saying Process 'Apache web server' failed to ...
1
vote
1
answer
2k
views
Install Issues with OS and Composer 2
I am stuck on trying to do an OS install and following the install guide found here.
When attempting to use Composer2 to fetch I get the following errors.
Problem 1
- drupal-composer/drupal-...
0
votes
1
answer
582
views
Why isn't a PDO driver detected on the install page?
I have an old Drupal 7 project and I need to set it up on my localhost.
I have Ubuntu 16.04, Apache 2, php 7.0, and MySQL 5.7 installed.
Everything is working fine for other PHP scripts, But when I ...
3
votes
1
answer
872
views
A deleted module is appearing in getEditable('core.extension')
Using Drupal core 8.9.6, created a custom module called wdocsApi. I wanted to rename it, so I uninstalled it and created wdocs_api. The problem is, when I try to install the new one, I get the error
...
0
votes
1
answer
1k
views
Composer killed when installing a module
I am actually running Drupal on a LAMP (XUbuntu 20-04 with 4 GB RAM in VirtualBox)
At the beginning of the installation I had no problem with installing dependencies using composer
But since yesterday ...
0
votes
1
answer
212
views
How do I install core on Windows 10 with Nginx server?
I Want to install Drupal 8 on Windows 10 with nginx server.
I do know how to install with Apache using XAMPP.
I use PHP 7.2, Microsoft SQL as the db.
I installed nginx 1.18.0 and PHP in C:/
I ...