Skip to content

docs(migration): note shell reload and browser restart after v1 upgrade#207

Merged
xarem merged 3 commits into
v2from
docs/migration-v1-shell-and-browser
Jul 17, 2026
Merged

docs(migration): note shell reload and browser restart after v1 upgrade#207
xarem merged 3 commits into
v2from
docs/migration-v1-shell-and-browser

Conversation

@mawiswiss

Copy link
Copy Markdown
Member

Two gaps in the v1 → v2 migration guide that I hit while migrating my own setup. Both make a step look broken even though the migration worked.

1. Reload the shell after removing the v1 integration

dde v1 is loaded as a shell function, so after removing it from ~/.zshrc / ~/.bashrc the current session still resolves dde to v1. The very next step, dde system:install, then runs against v1 instead of the freshly installed v2 binary. Added a note in step 2 with the reload command for zsh and bash (exec zsh / exec bash).

2. Fully restart the browser so the new root CA is trusted

dde system:install installs a fresh mkcert root CA, but browsers only read the system trust store at startup. A browser that was already open keeps showing .test sites as insecure, which reads as "the certs are broken". Added a note at the verify step to fully quit and reopen the browser (not just the tab/window).

Docs-only change, no code touched.

@mawiswiss
mawiswiss force-pushed the docs/migration-v1-shell-and-browser branch from 7428b53 to 9ed3b1f Compare June 11, 2026 12:00
@mawiswiss
mawiswiss requested a review from xarem June 11, 2026 12:01
Comment thread docs/guides/migration-from-v1.md Outdated
Comment thread docs/guides/migration-from-v1.md Outdated
@mawiswiss
mawiswiss force-pushed the docs/migration-v1-shell-and-browser branch from 9ed3b1f to 2d443ed Compare June 18, 2026 12:38
Two steps that are easy to miss when moving from dde v1 and that make
system:install or the TLS setup look broken:

- After removing the v1 shell integration, the current session still has the
  v1 dde function loaded, so dde system:install keeps running against v1.
  Document restarting the shell (exec $SHELL -l works for zsh and bash).
- mkcert's new root CA is only read by Firefox at startup, so a Firefox that
  was already open keeps showing .test sites as insecure until it is restarted.

Signed-off-by: Marc Wieland <marc@whatwedo.ch>
@mawiswiss
mawiswiss force-pushed the docs/migration-v1-shell-and-browser branch from 2d443ed to d91b45f Compare June 18, 2026 12:41
@mawiswiss
mawiswiss requested a review from xarem June 18, 2026 12:44
@xarem
xarem enabled auto-merge (rebase) July 17, 2026 18:22
@xarem
xarem merged commit f3ed4b8 into v2 Jul 17, 2026
14 checks passed
@xarem
xarem deleted the docs/migration-v1-shell-and-browser branch July 17, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants