Trying to install Drupal-CMS with DDEV locally.

Created on 3 December 2024, 3 months ago

Installation unstable, fatal errors without activity

Install on DDEV

Hi,
I've already installed it three times via DDEV. It looks ok at the first moment, after trying to get an overview, several click here and there or simply doing nothing for a while, a fatal error occures. Always different: like so
Fatal error: Uncaught Error: Class "Drupal\Core\Utility\Error" not found in /var/www/html/web/core/includes/bootstrap.inc:148 Stack trace: #0 /var/www/html/web/core/includes/bootstrap.inc(130): _drupal_exception_handler_additional() #1 [internal function]: _drupal_exception_handler() #2 {main} thrown in /var/www/html/web/core/includes/bootstrap.inc on line 148

or this:
Drupal CMS: AssertionError: The file specified by the given app root, relative path and file name (/var/www/html/web/core/modules/announcements_feed/announcements_feed.info.yml) do not exist. in assert() (line 73 of core/lib/Drupal/Core/Extension/Extension.php).

As I'm unable to solve the issues I have to reinstall the project again (with annoying issues concerning DDEV each time ;)

Any suggestions?

regards

Any suggestion welcome

💬 Support request
Status

Active

Component

General

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @vincent_jo
  • 🇺🇸United States phenaproxima Massachusetts

    Can you please post the steps you took to get set up with this?

    I ask because Dries' blog post (https://dri.es/installing-drupal-cms-or-drupal-starshot-using-ddev) did not, until recently, effectively communicate that using our git clone is not the correct way to get Drupal CMS set up. The zip file tends to work better for most people; the git repo is meant for contributors. If you started from a git clone, I'd suggest maybe removing it entirely and trying again with the zip file.

  • Hi, thanks for the quick response,
    I actually followed Dries´post, but with the zip file downloaded.
    The initial procedure of the installation worked perfect with out issues.
    What to do when the system suddently (!) looks for a file (/var/www/html/web/core/modules/announcements_feed/announcements_feed.info.yml) which is actually not there. Why not there?
    As an example.

  • 🇮🇳India adityarawat_ln

    Hi @vincent_jo,

    I noticed you are facing challenges setting up Drupal CMS. I have created a detailed doc that explains the step-by-step process for setting up Drupal CMS using DDEV. You can follow the steps outlined in the file and let me know if you having issues

    Thank you

  • Thanks @ adityarawat_ln,

    I already got it to work

    regards

  • 🇺🇸United States phenaproxima Massachusetts
Production build 0.71.5 2024