diff --git a/docs/upgrading.rst b/docs/upgrading.rst
index 6d9f8a0c485f3f282d566ba7c3f4a202798cbf74..f7c0054112ff39125da131715257ac3788873eee 100644
--- a/docs/upgrading.rst
+++ b/docs/upgrading.rst
@@ -40,8 +40,8 @@ like:
    Error from server (NotFound): secrets "oas-wekan-variables" not found
 
 This is not a problem, but it *does* mean you need to add an oauth secret for
-Wekan to the file ``secrets-backup/oas-oauth-variables.yaml``. Copy the
-wordpress line, rename the field to ``wordpress_oauth_client_secret`` and enter
+Wekan to the file ``secrets-backup/oas-oauth-variables.yaml``. Copy one of the
+lines under "data:", rename the field to ``wekan_oauth_client_secret`` and enter
 a different random password. Make sure to base64 encode it (``echo "<your random
 password>" | base64``).