Questions tagged [installation]
Use it for questions about the installation of Drupal, modules, or themes.
669
questions
-2
votes
0
answers
30
views
Configure composer install path
Trying to install drupal via composer on a shared server.
The complete path to my website looks like this :
/srv/data/web/vhosts/mysite.tld/htdocs/
i have (limited) terminal access and write ...
0
votes
1
answer
36
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
49
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
95
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
24
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
20
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
34
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
48
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
39
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
85
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
57
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
186
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
29
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
74
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
51
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
123
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
72
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
358
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
133
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
227
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
227
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
439
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
317
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
412
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
119
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
163
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 ...
1
vote
1
answer
310
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
231
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
71
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
747
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
282
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 '...
0
votes
0
answers
392
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 ...
1
vote
1
answer
148
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
128
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 ...
0
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
723
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 ...
1
vote
1
answer
105
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.
...
0
votes
1
answer
288
views
How to update MariaDB?
I was following Set up Demo Site for Theming Practice; then, I realized that, since Drupal 9 is out, by default Drupal 9 is installed instead of Drupa 8.x is installed when running composer create-...
0
votes
1
answer
751
views
Project directory in Ubuntu
I am trying to get Drupal 8 installed on Ubuntu 18.04. I have installed LAMP and composer. I will install Drupal 8 with this (I think this is the latest recommended way) ...
composer create-project ...
1
vote
2
answers
55
views
How to install another module when a module is being installed
I have created a module (travel_list) that uses the Field Group module. I want the Field group module to be automatically downloaded and installed whenever the travel_list module is installed.
How ...
1
vote
0
answers
61
views
How do you call an install function that did not run during install?
I am using the Currency Taxonomy module to get all valid currencies around the globe as taxonomy terms. On installing the module, I got the taxonomy vocabulary but not the terms.
The code to add the ...
1
vote
1
answer
150
views
How do I create content during site installation?
As part of Drupal 8 site install/deploy, I want to create content so that the site is functional and ready to use.
For example, whenever I install the site, there should be a home page node created.
...
2
votes
1
answer
361
views
Cannot install Composer because it doesn't contain any .info.yml files
Newbie using clean Drupal 8 install on a server. Installed module "International Telephone," but got error. Then I read that I needed to also install Composer. When I tried to install Composer, I ...
0
votes
0
answers
19
views
Unexpected error while installing
I have downloaded the Drupal and was installing it first time, initially it was giving me an error message in the database base configuration step and then after that started giving the
The website ...
0
votes
1
answer
35
views
Creating a drupal-composer/drupal-project gave me an outdated version of core
When I ran
composer create-project drupal-composer/drupal-project:8.x-dev mysite --no-interaction
it installed drupal/core:8.8.0-alpha1. Then to see what was wrong, I ran
composer prohibits ...
0
votes
1
answer
45
views
Installed Module crash my site. How do I bring my site back up by uninstalling a module [closed]
I installed a module but it crashed my site and I can't get to the administrator backend anymore. How do I disable this module to bring the site back up?
0
votes
2
answers
2k
views
"Drupal already installed" Message on Restored site
We had an issue on a Drupal 8.8.2 site, had to restore DB, Core and Vendor, now anyone visiting the site gets the site as normal, but if admin logs in I receive:
Drupal 8.8.2
Drupal already installed
...