Skip to content

Conversation

@hpk42
Copy link
Contributor

@hpk42 hpk42 commented Dec 18, 2025

This started from #780 but grew into a larger refactoring. It tries to be very short, and provide titles
to the various steps, so it's clearer what happens. Also, operators might be executing the steps while being in an emergency (discs failing).

closes #780

@hpk42 hpk42 temporarily deployed to staging.chatmail.at/doc/relay/ December 18, 2025 23:52 — with GitHub Actions Inactive
@hpk42 hpk42 had a problem deploying to staging-ipv4.testrun.org December 18, 2025 23:52 — with GitHub Actions Error
@hpk42 hpk42 had a problem deploying to staging2.testrun.org December 18, 2025 23:52 — with GitHub Actions Error
@hpk42 hpk42 force-pushed the hpk/migration-docs2 branch from 91817ee to fe5baf0 Compare December 18, 2025 23:52
@hpk42 hpk42 temporarily deployed to staging.chatmail.at/doc/relay/ December 18, 2025 23:52 — with GitHub Actions Inactive
@hpk42 hpk42 had a problem deploying to staging-ipv4.testrun.org December 18, 2025 23:52 — with GitHub Actions Error
@hpk42 hpk42 had a problem deploying to staging2.testrun.org December 18, 2025 23:52 — with GitHub Actions Error
Copy link
Contributor

@missytake missytake left a comment

Choose a reason for hiding this comment

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

Looks good :) being short is not a priority here I think, rather that it is also understandable by inexperienced sysadmins. But the bold headlines help a lot already, and https://staging.chatmail.at/doc/relay/789/migrate.html looks great.

I wonder whether it should be more clear, which commands are run on the laptop (all that don't start with an ssh) Maybe it's fine.

2. **Pre-configure the new site but keep it inactive until step 6**
::

CMDEPLOY_STAGES=install,configure cmdeploy run --ssh-host $NEW_IP4
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
CMDEPLOY_STAGES=install,configure cmdeploy run --ssh-host $NEW_IP4
CMDEPLOY_STAGES=install,configure scripts/cmdeploy run --ssh-host $NEW_IP4

This would give a slightly less confusing error essage I think :)


::

CMDEPLOY_STAGES=activate cmdeploy run --ssh-host $NEW_IP4
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
CMDEPLOY_STAGES=activate cmdeploy run --ssh-host $NEW_IP4
CMDEPLOY_STAGES=activate scripts/cmdeploy run --ssh-host $NEW_IP4

same here

::

cmdeploy run --disable-mail --ssh-host 13.12.23.42
cmdeploy run --disable-mail --ssh-host $OLD_IP4
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
cmdeploy run --disable-mail --ssh-host $OLD_IP4
scripts/cmdeploy run --disable-mail --ssh-host $OLD_IP4

and here.

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.

4 participants