Questions tagged [installation]

Use it for questions about the installation of Drupal, modules, or themes.

Filter by
Sorted by
Tagged with
0 votes
0 answers
47 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
22 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: ...
-6 votes
1 answer
71 views

Drupal 9 install fails [closed]

I've been using Drupal for 10 years or so; never had a problem with basic install. Typically, I download tar file into web root, and install from the browser. However, when I tried to install that way,...
  • 159
0 votes
0 answers
43 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
53 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 ...
  • 11
-3 votes
1 answer
63 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 ...
  • 11
-4 votes
1 answer
40 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 ...
  • 11
1 vote
3 answers
172 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
26 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
48 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
1 answer
170 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
43 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 ...
  • 880
-1 votes
1 answer
59 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 ...
  • 11
0 votes
0 answers
145 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
35 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
23 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
78 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 ...
  • 7,212
-1 votes
1 answer
50 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
52 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
167 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
58 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 ...
  • 1
0 votes
0 answers
312 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
35 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 ...
  • 399
-2 votes
1 answer
89 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 ...
-1 votes
1 answer
63 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 ...
  • 107
0 votes
2 answers
185 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 -> ...
  • 399
0 votes
0 answers
74 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
481 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:...
  • 79
1 vote
1 answer
189 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 ...
  • 11
1 vote
1 answer
331 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 ...
  • 25
0 votes
0 answers
288 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 ...
  • 3,004
0 votes
1 answer
509 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-...
  • 11
0 votes
1 answer
358 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 ...
  • 189
3 votes
1 answer
534 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 ...
  • 399
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
138 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 ...
0 votes
1 answer
230 views

Why am I getting an error message in my dashboard for unprotected private files?

I have a site with Drupal 8.9 Why am I getting an error message in my dashboard for unprotected private files ? When I go to the link it says this is for Drupal 6 and 7. PRIVATE FILES DIRECTORY Not ...
  • 61
1 vote
1 answer
393 views

Installing Drupal module requires ftp access - macOS localhost

I have Drupal 8 running on localhost on macOS Catalina. When I try to install a module, I get prompted to enter ftp credentials (which I don't know). See the following screenshot. I've seen solutions ...
0 votes
0 answers
260 views

Why can't I install even if I have the required PHP version?

I want to install Drupal 9.0.2 on a server with Apache2 and PHP 7.3.2. I am getting this error. Your PHP installation is too old. Drupal requires at least PHP 7.3.0. See the system requirements page ...
0 votes
1 answer
128 views

How do I create a table when a module is installed?

I want to add a custom table when a module I develop is installed. The code I am using doesn't seem to work, as the post table isn't created. What is wrong with the code I am using? /** * Installs ...
0 votes
0 answers
825 views

composer require --dev drupal/devel isn't working

I followed the instructions on prkos.hr/Install-Drupal-8-Ubuntu-1404-LTS for installing Drupal 8 and tried to install 'devel module' but had the error composer require --dev drupal/devel [...
0 votes
1 answer
346 views

Ultimate Cron installation Table 'db_name.ultimate_cron_log' doesn't exist

After installing the ultimate cron module version 8.x-2.0-alpha4, When I navigate to (/admin/config/system/cron/jobs), I get the following error meassage - Base table or view not found: 1146 Table '...
  • 101
0 votes
0 answers
458 views

Install and enable 'Real AES' module: Dependency with Defuse PHP-encryption library

I downloaded the real_aes-8.x-2.2.zip file from the Real AES project page, unzipped and copied it to contrib module folder (/var/www/html/modules/contrib). While trying to enable this module using ...
  • 11
1 vote
1 answer
204 views

"recommended-project" installs drupal into the /web subdirectory, but hosting solution directs traffic to webroot

Per https://www.drupal.org/node/3082474 the preferred document template, drupal/recommended-project, uses a "relocated document root" for security purposes. HOWEVER, many cPanel driven ...
0 votes
0 answers
149 views

Access Denied error when trying to install new modules after upgrading to 8.9

I’m having a problem installing new modules after manually upgrading my site to 8.9. I’m getting Access Denied errors even though I am logged in as admin (and have all permissions). Looking at the ...
-1 votes
1 answer
1k views

Error: "module does not exist" after I removed a module from the file system without disabling and uninstalling it

I removed a module from the file system without disabling and uninstalling it. And now I have error: Drupal\Core\Extension\Exception\UnknownExtensionException: The module drupalweather does not exist. ...
0 votes
3 answers
729 views

How do I install on Ubuntu 20.04 (LAMP)?

I have Ubuntu 20.04. I installed Apache2 and MySQL 8 on it, but I can't install Drupal 8. When I try to add the database information like usual, I get the following error message. I traced the ...
  • 95
0 votes
1 answer
128 views

Why cannot I choose MySQL as database type in the installation page?

I downloaded the Drupal archive and extracted it on the dedicated server. In cPanel, I created a MySQL database, but when I try to install Drupal, in the Database configuration page, I can only choose ...
0 votes
0 answers
24 views

Update the core and move current site in a sub-directory to the top level

My main Drupal site is 8.6 but it is in a sub-directory. I want to update the core (to 8.9) and move the site up to the top level (public_html) overwriting an old site (in 6.1!) I no longer need. ...

1
2 3 4 5
14