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

Update Redis docs #1031

Merged
merged 2 commits into from
Jan 23, 2025
Merged
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
19 changes: 18 additions & 1 deletion docs/redis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,19 @@ described in Heroku's own documentation.
heroku addons:detach REDIS -a "$app"
done

.. warning::

This step causes the site to enter the degraded state described earlier.
If the need arises, you can roll back to the old instance:

.. code-block:: bash

for app in nextstrain-{dev,canary,server}; do
heroku addons:attach --as REDIS "$old_instance" -a "$app"
heroku addons:detach OLD_REDIS -a "$app"
done


5. Create the new, upgraded Redis instance on `nextstrain-server` as a fork
(snapshot copy) of the old:

Expand Down Expand Up @@ -218,7 +231,11 @@ described in Heroku's own documentation.
heroku addons:attach --as REDIS "$new_instance" -a "$app"
done

10. Test that your login session is now "remembered" again.
10. Test that the new instance works:

1. Load the website and check that your login session is now "remembered" again.
2. Check that you can successfully log out and log back in.
3. Check that you can remove/add a member from a group.
Copy link
Member Author

@victorlin victorlin Sep 26, 2024

Choose a reason for hiding this comment

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

I didn't do this yesterday but it seems like something that should be tested, though setup is complicated – I think it requires a testing group and two accounts (one admin to make the change, one user that's logged in for testing).


11. Remove the old Redis instance:

Expand Down