diff --git a/doc/install/installation.md b/doc/install/installation.md
index b080e8f062bfe48716bcb7d9ddb01f3596fb5100..bfdebaf8466e4d8b062c7136612d81aad9db5018 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -278,7 +278,7 @@ We recommend using a PostgreSQL database. For MySQL check [MySQL setup guide](da
 GitLab Shell is an SSH access and repository management software developed specially for GitLab.
 
     # Run the installation task for gitlab-shell (replace `REDIS_URL` if needed):
-    sudo -u git -H bundle exec rake gitlab:shell:install[v2.4.1] REDIS_URL=unix:/var/run/redis/redis.sock RAILS_ENV=production
+    sudo -u git -H bundle exec rake gitlab:shell:install[v2.4.2] REDIS_URL=unix:/var/run/redis/redis.sock RAILS_ENV=production
 
     # By default, the gitlab-shell config is generated from your main GitLab config.
     # You can review (and modify) the gitlab-shell config as follows:
diff --git a/doc/update/7.6-to-7.7.md b/doc/update/7.6-to-7.7.md
index 51084576f330c18f58618f9ded07bb5f5d671146..831958d0b8bf6f686eab05d8f681f5fe75b788dd 100644
--- a/doc/update/7.6-to-7.7.md
+++ b/doc/update/7.6-to-7.7.md
@@ -37,7 +37,7 @@ sudo -u git -H git checkout 7-7-stable-ee
 ```bash
 cd /home/git/gitlab-shell
 sudo -u git -H git fetch
-sudo -u git -H git checkout v2.4.1
+sudo -u git -H git checkout v2.4.2
 ```
 
 ### 4. Install libs, migrations, etc.