Skip to content

docs(faq): remove traefik config when changing project's name, for #7638 - #7639

Merged
rfay merged 3 commits into
ddev:mainfrom
ara303:patch-1
Sep 22, 2025
Merged

rfay merged 3 commits into
ddev:mainfrom
ara303:patch-1

Conversation

@ara303

@ara303 ara303 commented Sep 19, 2025

Copy link
Copy Markdown
Contributor

The Issue

How This PR Solves The Issue

Small amendment to docs/content/users/usage/faq.md after talking to @rfay and it emerging that this is caused by a niche circumstance issue that can be fixed by clearing (and backing up!) .ddev/traefik.

Manual Testing Instructions

None needed. Just a faq.md change.

Automated Testing Overview

Release/Deployment Notes

@ara303
ara303 requested a review from a team as a code owner September 19, 2025 03:22
Comment thread docs/content/users/usage/faq.md Outdated
4. Start the new project with `ddev start`.
5. Import the database dump from step one: `ddev import-db --file=/path/to/db.sql.gz`.

In rare cases, projects might fail to start after renaming if legacy add-ons depended on your previous project's name. From the project directory, run `mv .ddev/traefik .ddev/traefik.bak` to clear and backup the Traefik configuration (does not lose any data).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I think rm -r .ddev/traefik/ is almost always in order when renaming, unless there's custom config (rare) in which case it will have to be adapted.

@ara303 ara303 Sep 19, 2025 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you like me to, instead of a footnote suggesting to backup .ddev/traefik, to add a list item recommending that said directory is just wiped out entirely to the list of steps above the paragraph I've added?

@rfay rfay changed the title style(faq): footnote on changing project's name, fixes #7638 docs(faq): footnote on changing project's name, fixes #7638 Sep 19, 2025
@rfay rfay changed the title docs(faq): footnote on changing project's name, fixes #7638 docs(faq): remove traefik config when changing project's name, fixes #7638 Sep 19, 2025
@rfay rfay changed the title docs(faq): remove traefik config when changing project's name, fixes #7638 docs(faq): remove traefik config when changing project's name, for #7638 Sep 19, 2025
@rfay
rfay self-requested a review September 19, 2025 14:02

@rfay rfay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I updated it to just make the deletion of traefik config a standard thing.

@rfay
rfay requested a review from stasadev September 19, 2025 18:08
@rfay

rfay commented Sep 19, 2025

Copy link
Copy Markdown
Member

Let us know if this works for you @ara303

@ara303

ara303 commented Sep 20, 2025

Copy link
Copy Markdown
Contributor Author

Sorry about being a little slow to respond to you here, @rfay. That works with me, I just wanna do my little bit to help improve DDEV and hopefully avoid this recurring in the latest version.

@stasadev stasadev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@rfay
rfay merged commit ec225a1 into ddev:main Sep 22, 2025
@rfay

rfay commented Sep 22, 2025

Copy link
Copy Markdown
Member

Thanks so much for following this up @ara303 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants