Skip to main content

Questions tagged [installation]

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

Filter by
Sorted by
Tagged with
-1 votes
1 answer
49 views

Installing Drush 12 globally

We're trying to install a global Drush 12 installation for a Linux Debian server hosting multiple Drupal 10 websites in different folders. We've tried simply doing a composer require drush/drush in a ...
mlatk's user avatar
  • 11
0 votes
2 answers
69 views

Can you set default configuration settings for a contrib on install?

I am looking to set default configuration settings for a contributed module, Nodeaccess, on install. I know that you can do that on site spin-up but this module will not be enabled by default. I tried ...
Chad's user avatar
  • 3
-1 votes
1 answer
58 views

How do I change hostname after installing?

I am a silly goose. I did something stupid and updated apache, php, and mysql before i had a chance to upgrade drupal, when I an much older versions. I had been updating my server and now the newer ...
Jon Weinraub's user avatar
0 votes
0 answers
88 views

Webserver issues, classes not found, failing to unlink cached files

When clearing caches via Drush cr I get Failed to unlink file 'assets://css/css_4PAeT4dMiadmmD9t_xS9tkg36id2j4imvFUmocQZbdM.css' which usually means no rights to delete but my system has all admin ...
100IT's user avatar
  • 36
0 votes
0 answers
37 views

Uninstall and reinstall a newer version of a module using admin UI

I have installed a module (computed field v.3) using the "add from a url" option in the admin UI, then uninstalled it. When trying to install the compute field v.4 I get the error "...
BMM's user avatar
  • 103
-1 votes
1 answer
132 views

After installation, pages do not use any CSS style

I installed Drupal on Ubuntu 22.24. I'm able to get everything done, but after the installation, the next page is all messed up and I have no other permission besides looking at this page. How can I ...
user111693's user avatar
0 votes
0 answers
130 views

Drupal 10 + Apache2 behind nginx reverse proxy setup with subdirectory

I am trying to access my drupal 10 + apache2 installation through a subdirectory. Currently I use nginx as a reverse proxy to access all my services (nextcloud, joplin, grafana) on my server. ...
NIghtshadow1258's user avatar
0 votes
1 answer
284 views

How can I set a custom project directory structure?

For Drupal 10 there's a recommended project structure (httpdocs/web, httpdocs/vendor) and a legacy structure (httpdocs, httpdocs/vendor). These are suitable for sites on shared hosts that provide SSH ...
Anders's user avatar
  • 145
1 vote
1 answer
924 views

How do you install or turn on CKEditor 5 paste from word plugin

According to a conversation with CKEditor this feature is included in the Drupal 10 version. They do not support it and point you to Documentation for paste from Word We cannot find where to turn ...
FolioGuru's user avatar
1 vote
0 answers
498 views

Install of drupal/core failed

my installation: > drupal > lando composer install :ended up as seen below, I have run out of ideas what to do with this. 117/118 [===========================>] 99% Install of drupal/...
Lucky Boy's user avatar
0 votes
1 answer
40 views

Configure new site automatically

Is there a way for me to automate the form-filling steps on a brand new site's /install.php? I'm doing a bunch of experimenting where I set up a site inside a Docker container and try some stuff out, ...
Ken Williams's user avatar
-3 votes
2 answers
145 views

settings.php permission denied on Mac

During a project installation always fails to install correctly. Let me clarify this is how it should work: Drupal changes the chmod of settings.php to 777 and then applies changes for the drupal ...
Tazio's user avatar
  • 1
1 vote
3 answers
766 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 ...
Brian McGovern's user avatar
0 votes
1 answer
358 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 ...
Jeffrey1862's user avatar
0 votes
1 answer
172 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 ...
amos_a's user avatar
  • 13
1 vote
1 answer
500 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, ...
GeorgeCiesinski's user avatar
0 votes
1 answer
234 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 ...
user avatar
3 votes
0 answers
103 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 ...
Joseph's user avatar
  • 1,598
-1 votes
1 answer
269 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 ...
xdobx's user avatar
  • 1
0 votes
0 answers
109 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: { ...
pierostz's user avatar
  • 412
-1 votes
1 answer
2k 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 ...
shibasaki_stack's user avatar
0 votes
1 answer
75 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
2 answers
740 views

How can I check if the redis 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 ...
leducvin's user avatar
1 vote
0 answers
1k 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 ...
raresample's user avatar
-1 votes
1 answer
399 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: ...
user108836's user avatar
0 votes
0 answers
298 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'] ...
Garrett Albright's user avatar
-2 votes
1 answer
126 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 ...
houdy's user avatar
  • 9
-4 votes
1 answer
191 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 ...
houdy's user avatar
  • 9
-4 votes
1 answer
141 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 ...
houdy's user avatar
  • 9
1 vote
3 answers
182 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 ...
jordanalso's user avatar
0 votes
0 answers
50 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?
Vincent's user avatar
-1 votes
1 answer
149 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 ...
ariana bavand's user avatar
1 vote
3 answers
796 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 ...
abdiheba's user avatar
0 votes
1 answer
142 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 ...
anoopjohn's user avatar
  • 938
-1 votes
1 answer
151 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 ...
syter's user avatar
  • 11
1 vote
0 answers
452 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/...
brad.bulger's user avatar
0 votes
0 answers
65 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/...
Frédéric Hébert's user avatar
0 votes
0 answers
42 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....
jayaprakash R's user avatar
1 vote
0 answers
167 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 ...
sonfd's user avatar
  • 7,906
-1 votes
1 answer
59 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 ...
Arcticooling's user avatar
0 votes
0 answers
87 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\...
Dragan Petrovic FSD's user avatar
2 votes
0 answers
720 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 ...
thunderblaster's user avatar
0 votes
1 answer
96 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 ...
EBasye's user avatar
  • 1
0 votes
0 answers
804 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 ...
Anshu Raj's user avatar
0 votes
1 answer
179 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 ...
pglatz's user avatar
  • 469
-2 votes
1 answer
469 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 ...
Dr.attar's user avatar
-2 votes
1 answer
104 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 ...
unixmiah's user avatar
  • 105
0 votes
2 answers
916 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 -> ...
pglatz's user avatar
  • 469
0 votes
0 answers
98 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 ...
Ats Miller's user avatar
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

1
2 3 4 5
15