-6

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, creating tables fails midway and I get an error that dependencies are not met. The error makes sense because only the following tables are created:

MariaDB [drupal]> show tables;
+------------------+
| Tables_in_drupal |
+------------------+
| batch            |
| config           |
| key_value        |
| queue            |
| sequences        |
| sessions         |
| user__roles      |
| users            |
| users_data       |
| users_field_data |
+------------------+

I tried with AWS RDS options of MySQL and MariaDB; as well as locally installed MariaDB server. I am using AWS Linux 2 and Ubuntu 22.04.

Note, I also tried with composer, as decribed here and here - but these instructions seem to be intended for Drupal developers; not administrators. The explicitly say "Your 'my_site_name_dir' will contain files that should be outside of your web root and not accessible by the web server", with no followup how to install the actual site.

Frankly, very surprising! If I remember correctly, installation instruction for Drupal 6 (my first version) were much more straightforward.

8
  • 1
    It is overwhelming likely that the install platforms do not meet Drupal’s requirements. Also, you cited an error but did not provide the error text. “I’m having all kinds of problems”-type questions are unanswerable.
    – cilefen
    Sep 19 at 0:00
  • @cilefen - I mentioned the error: that dependencies are not met. Please read more carefully, and maybe reconsider downvoting. I also said that the error is legit - because only few tables are created. Therefore, I don't need help with the error itself. The question is, if there is any installation guide for sysadmin, as opposed to developer. If you don't know the answer, that's fine - but it doesn't mean that the question is unanswerable.
    – Felix
    Sep 19 at 0:23
  • 3
    Provide the precise error message, please. It may be well-known. I don’t know what you mean by a sysadmin installation guide.
    – cilefen
    Sep 19 at 1:41
  • 3
    The installation UI didn't change much from back then. You visit /install.php and follow the instructions, meet the requirements, fill all forms, done. drupal.org/node/1585706
    – leymannx
    Sep 19 at 6:33
  • @cilefen asked for the exact message given by the installer. I looked for dependencies are not met (git grep --fixed-strings 'dependencies are not met') in Drupal code, and I could only get code comments or strings used by tests.
    – apaderno
    Sep 21 at 8:23

1 Answer 1

-2

Drupal 8+ essentially requires the usage of Composer. This isn't entirely true, as it's possible to run D8+ without it, but it's by far not the norm for most people managing Drupal sites, and Composer based systems are much more stable.

The pain you are going through in trying to figure this out is normal. Pretty much every developer who went from pre D8, to D8+, has gone through the same problems.

I wrote a tutorial series for folks new to Composer, and how it works with Drupal, a few years a back. It's about 95% still accurate. Here you go: https://www.morpht.com/blog/drupal-and-composer-part-1-understanding-composer

That should give you an overall understanding of how to use Drupal and Composer together, but you'll also want to reference the official documentation, which shows how to download the official Composer Drupal template (the series I wrote was before there was an official template).

Good luck. Composer is actually quite nice to use once you get used to it.

2
  • I remember I was able to install Drupal 8 a year or 2 ago using Composer. My problem with the instructions that I linked to (on official Drupal site) isn't that they go through composer; but because they stop mid-stream! I'll follow your instructions; but I am not new to composer ;)
    – Felix
    Sep 18 at 23:32
  • I went through your 2 parts of Composer. it is very helpful; however, I knew most of that. What I am missing, is the typical workflow of Drupal administrator (not developer). I install Drupal site (standard or minimal); I download or purchase a theme; and I let users create pages, blogs, etc. I create more technical artifacts, like Views. In one installation, I install Civicrm on top of Drupal. I do very little, if any, PHP development (although I can). So, my problem is that I can't get a basic Drupal site to come up. Am I missing a basic installation tutorial?
    – Felix
    Sep 18 at 23:48

Not the answer you're looking for? Browse other questions tagged or ask your own question.