Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add upgrade guide for 2.11.0 #617

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/admin/installation/set_up_admin_tails.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ signed with the release signing key:

cd ~/Persistent/securedrop/
git fetch --tags
git tag -v 2.10.1
git tag -v 2.11.0

The output should include the following two lines:

Expand All @@ -160,9 +160,9 @@ screen of your workstation. If it does, you can check out the new release:

.. code:: sh

git checkout 2.10.1
git checkout 2.11.0

.. important:: If you see the warning ``refname '2.10.1' is ambiguous`` in the
.. important:: If you see the warning ``refname '2.11.0' is ambiguous`` in the
output, we recommend that you contact us immediately at
[email protected] (`GPG encrypted <https://securedrop.org/sites/default/files/fpf-email.asc>`__).

Expand Down
12 changes: 6 additions & 6 deletions docs/admin/maintenance/backup_and_restore.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ Migrating Using a V2+V3 or V3-Only Backup

cd ~/Persistent/securedrop/
git fetch --tags
git tag -v 2.10.1
git tag -v 2.11.0

The output should include the following two lines:

Expand All @@ -250,10 +250,10 @@ Migrating Using a V2+V3 or V3-Only Backup

.. code:: sh

git checkout 2.10.1
git checkout 2.11.0

.. important::
If you see the warning ``refname '2.10.1' is ambiguous`` in the
If you see the warning ``refname '2.11.0' is ambiguous`` in the
output, we recommend that you contact us immediately at
[email protected]
(`GPG encrypted <https://securedrop.org/sites/default/files/fpf-email.asc>`__).
Expand Down Expand Up @@ -472,7 +472,7 @@ source accounts, and journalist accounts. To do so, follow the steps below:

cd ~/Persistent/securedrop/
git fetch --tags
git tag -v 2.10.1
git tag -v 2.11.0

The output should include the following two lines:

Expand All @@ -491,11 +491,11 @@ source accounts, and journalist accounts. To do so, follow the steps below:

.. code:: sh

git checkout 2.10.1
git checkout 2.11.0


.. important::
If you see the warning ``refname '2.10.1' is ambiguous`` in the
If you see the warning ``refname '2.11.0' is ambiguous`` in the
output, we recommend that you contact us immediately at
[email protected] (`GPG encrypted <https://securedrop.org/sites/default/files/fpf-email.asc>`__).

Expand Down
6 changes: 3 additions & 3 deletions docs/admin/maintenance/update_workstations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ update by running the following commands: ::
git fetch --tags
gpg --keyserver hkps://keys.openpgp.org --recv-key \
"2359 E653 8C06 13E6 5295 5E6C 188E DD3B 7B22 E6A3"
git tag -v 2.10.1
git tag -v 2.11.0

The output should include the following two lines: ::

Expand All @@ -37,9 +37,9 @@ on the screen of your workstation. A warning that the key is not certified
is normal and expected. If the output includes the lines above, you can check
out the new release: ::

git checkout 2.10.1
git checkout 2.11.0

.. important:: If you do see the warning "refname '2.10.1' is ambiguous" in the
.. important:: If you do see the warning "refname '2.11.0' is ambiguous" in the
output, we recommend that you contact us immediately at [email protected]
(`GPG encrypted <https://securedrop.org/sites/default/files/fpf-email.asc>`__).

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# built documents.
#
# The short X.Y version.
version = "2.10.1"
version = "2.11.0"
# The full version, including alpha/beta/rc tags.
# On the live site, this will be overridden to "stable" or "latest".
release = os.environ.get("SECUREDROP_DOCS_RELEASE", version)
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ Get Started
:maxdepth: 2
:hidden:

upgrade/2.10.1_to_2.11.0.rst
upgrade/2.10.0_to_2.10.1.rst
upgrade/2.9.0_to_2.10.0.rst
upgrade/2.8.0_to_2.9.0.rst
Expand Down
2 changes: 0 additions & 2 deletions docs/upgrade/2.10.0_to_2.10.1.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.. _latest_upgrade_guide:

Upgrade from 2.10.0 to 2.10.1
=============================

Expand Down
104 changes: 104 additions & 0 deletions docs/upgrade/2.10.1_to_2.11.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
.. _latest_upgrade_guide:

Upgrade from 2.10.1 to 2.11.0
=============================

Preparing for the Ubuntu 24.04 (Noble) migration
------------------------------------------------

The 2.11.0 release includes a number of features that will help ensure
your SecureDrop server is prepared for the automated migration to Ubuntu 24.04
(Noble) in early 2025.

After updating to SecureDrop 2.11.0 using the steps below, it's important
nathandyer marked this conversation as resolved.
Show resolved Hide resolved
that you review our :doc:`Ubuntu 24.04 (Noble) migration guide <../admin/maintenance/noble_migration_prep>`,
and run the ``securedrop-noble-migration-check`` script prior to January 31st, 2025
Copy link
Member

Choose a reason for hiding this comment

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

Sorry for tweaking this again, now that we have the language in the pre-announcement post, can we reuse it here? (slightly tweaked to be post-release)

SecureDrop 2.11.0 will automatically run checks to ensure all servers are ready for migration to Ubuntu 24.04 (Noble). If issues are found, a banner will be displayed in the Journalist Interface to both admins and journalists. Administrators are encouraged to review the guide explaining how to resolve any errors and perform any necessary steps before Jan. 31st, 2025.

to ensure your server is ready for the migration.
nathandyer marked this conversation as resolved.
Show resolved Hide resolved

We will have more details on the migration itself early next year.

.. note::

Admins and Journalists may notice a new banner after logging into the
*Journalist Interface*, which indicates that there are currently issues
that would prevent an automatic migration to Ubuntu 24.04. If you see this
banner, refer to the
:doc:`Ubuntu 24.04 (Noble) migration guide <../admin/maintenance/noble_migration_prep>`.



Update Servers to SecureDrop 2.11.0
------------------------------------

Servers running Ubuntu 20.04 will be updated to the latest version of SecureDrop
automatically within 24 hours of the release.

Update Workstations to SecureDrop 2.11.0
----------------------------------------

.. important:: We always recommend backing up your workstations prior to
Copy link
Member

Choose a reason for hiding this comment

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

Should this be removed now that the Tails 6 stuff was also removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it's generally good advice to recommend backups prior to updates (even relatively low-risk ones), so I'm inclined to leave it in

Copy link
Member

Choose a reason for hiding this comment

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

I agree with that sentiment, but I don't think the language matches, e.g. "but we especially recommend it before a major Tails version bump" even though we aren't telling them to do said bump. I'll defer to you on keeping it, but maybe the language can be further tweaked?

an upgrade, but we *especially* recommend it before a major Tails version
bump. This upgrade is an excellent occasion to make sure you have fresh
backups for each of your Tails drives. See our :ref:`backup instructions <backup_workstations>`
for more information.

Update to SecureDrop 2.11.0 using the graphical updater
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

On the next boot of your SecureDrop *Journalist* and *Admin Workstations*,
the *SecureDrop Workstation Updater* will alert you to workstation updates. You
must have `configured an administrator password <https://tails.net/doc/first_steps/welcome_screen/administration_password/>`_
on the Tails welcome screen in order to use the graphical updater.

Perform the update to 2.11.0 by clicking "Update Now":

.. image:: ../images/securedrop-updater.png

Fallback: Perform a manual update
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
If the graphical updater fails and you want to perform a manual update instead,
first delete the graphical updater's temporary flag file, if it exists (the
``.`` before ``securedrop`` is not a typo): ::

rm ~/Persistent/.securedrop/securedrop_update.flag

This will prevent the graphical updater from attempting to re-apply the failed
update and has no bearing on future updates. You can now perform a manual
update by running the following commands: ::

cd ~/Persistent/securedrop
git fetch --tags
gpg --keyserver hkps://keys.openpgp.org --recv-key \
"2359 E653 8C06 13E6 5295 5E6C 188E DD3B 7B22 E6A3"
git tag -v 2.11.0

The output should include the following two lines: ::

gpg: using RSA key 2359E6538C0613E652955E6C188EDD3B7B22E6A3
gpg: Good signature from "SecureDrop Release Signing Key <[email protected]>" [unknown]


Please verify that each character of the fingerprint above matches what is
on the screen of your workstation. A warning that the key is not certified
is normal and expected. If the output includes the lines above, you can check
out the new release: ::

git checkout 2.11.0

.. important:: If you do see the warning "refname '2.11.0' is ambiguous" in the
output, we recommend that you contact us immediately at [email protected]
(`GPG encrypted <https://securedrop.org/sites/default/files/fpf-email.asc>`__).

Finally, run the following commands: ::

sudo apt update
./securedrop-admin setup
./securedrop-admin tailsconfig

Getting Support
---------------

Should you require further support with your SecureDrop installation, we are
happy to help!

.. include:: ../includes/getting-support.txt
Loading