Skip to main content

Questions tagged [ddev]

For questions regarding local development setup specifically using DDEV

Filter by
Sorted by
Tagged with
1 vote
1 answer
46 views

Setup Craft CMS 5 webroot to htdocs

For a Craft CMS 5 project installed with ddev, how can we make the webroot folder become /htdocs instead of /web? Is this something to be reconfigured after installation, or does it need to be done ...
Romain P.'s user avatar
  • 1,852
1 vote
1 answer
254 views

Craft 3 DDEV Migration: "No database has been selected yet"

I've hit a snag while trying to move my Craft 3 project from MAMP to DDEV. First I installed a new DDEV project using the php project type and MySQL 8.0 for the database. Then I imported the database ...
kmgdev's user avatar
  • 1,199
2 votes
1 answer
84 views

Can't upgrade to v4.x after migrating from nitro to ddev – db connection weirdness

I've been through the following steps on a local instance of a Craft 3.x project: Followed Migrating from Craft Nitro to DDEV and got the instance running on DDEV Updated to latest version of Craft 3:...
Jonathan Schofield's user avatar
2 votes
2 answers
184 views

Access some sort of db in docker

I've been absent to webdev for a while and trying to get up to speed with this new ddev thingy. So I installed craft 4 via ddev and docker and such. And now I want to import an older db. Is there some ...
KSPR's user avatar
  • 3,786
1 vote
1 answer
278 views

PHP version problem when upgrading to Craft CMS 4

I am upgrading a site from Craft CMS 3 to 4. I develop the site on ddev with docker desktop on Windows. When running composer update on PHP 7.4 and docker 2 on ddev the following happens: $ ddev ...
nitech's user avatar
  • 679
1 vote
1 answer
628 views

New to CraftCMS and linking to an existing project using DDEV

The business I work for has just acquired another business whose CMS is CraftCMS. So am totally new to CraftCMS and how it operates. At the moment am finding it a steep / challenging learning curve. ...
daolwede's user avatar
2 votes
2 answers
452 views

Nginx Config to serve .json without CORS restriction with ddev

I have Craft 4 installed and use it locally with ddev. Ddev uses nginx in my case and I want to enable serving .json files from a subdirectory within /web. What do I have to add to the nginx.conf file?...
Merc's user avatar
  • 211
2 votes
1 answer
257 views

Mutagen in DDEV Making Craft CMS Slow to Propagate

This is related to a previous question. When I have mutagen enabled in DDEV, it takes around 20 seconds for any changes to propagate. Even things as simple as updating a few lines of text in a twig ...
darkbasic's user avatar
1 vote
1 answer
245 views

Changes to twig template take over 20s to propagate

If I make changes to one of my twig templates, it takes over twenty seconds for Craft to reflect the updates on the local site. I'm running Craft locally in DDEV. I tried the debug toolbar but am ...
darkbasic's user avatar
1 vote
2 answers
432 views

Craft 4 slow on DDEV OSX Monterey

Set up my first Craft 4 install locally on DDEV on OSX Monterey, followed the install guide here https://craftcms.com/docs/4.x/installation.html#quick-start Seems to be working fine except its slow, ...
Graham Bennett's user avatar