Randy Fay
Randy Fay
Of course, you can make your hooks less fragile. In your case @karpa you could check for existence of db before running hooks, as in https://github.com/drud/ddev-contrib/tree/master/hook-examples/import-db-if-empty
Are you asking for DDEV to do more? Or are you asking why `wp config set SCRIPT_DEBUG true` fails? If you're asking why that fails, is that something that should...
Experiment with just using the `wp` command inside the web container. Try each of these. Try it with a plain vanilla WP checkout. You'll be able to sort out what's...
A PR would be very welcome if it solves the situation for you! I assume it's https://github.com/drud/ddev/blob/a9a72be380e1d850251c61aa1897b4641db5eb23/pkg/ddevapp/wordpress/wp-config.php or https://github.com/drud/ddev/blob/a9a72be380e1d850251c61aa1897b4641db5eb23/pkg/ddevapp/wordpress/wp-config-ddev.php that you would change?
@Ebeldev since you seem to completely understand this now, could you please update the original post and the title to reflect what you learned? A PR is welcome, and seems...
I'm fine with a PR to deal with this, it doesn't seem like it's actually something that relates to DDEV at this point, but I'm sure open to contributions. Thanks...
The other thing is that the copy utility we use is really slow. So the right approach is probably to untar right into the target directory, and skip the copy...
This was not fixed in #2948; I note that it's *not* a problem with mkdocs. `mkdocs serve` just shows a 404 when you give it a bad URL. /cc @unn
@mootari, @unn if you have any ideas on how to fix this I'd love to have it work.