Posts

Showing posts from February, 2025

Resizing partition in AWS

  First lsblk If Using a Standard Partition (No LVM) Resize the partition: sudo growpart /dev/nvme0n1 1 Resize the filesystem: sudo resize2fs /dev/nvme0n1p1 # For ext4 sudo xfs_growfs /dev/nvme0n1p1 # For XFS Step 4: Verify the New Storage df -h You should now see the increased disk space. 🚀

Gitlab docker commands

Image
 sudo docker exec -it <container_id> bash Check for all GitLab services running in gitlab gitlab-ctl status  To stop any GitLab services gitlab-ctl stop prometheus To start any GitLab services gitlab-ctl startprometheus When Sidekiq Is Stopped: Email Notifications Won't Be Sent : Since Sidekiq is responsible for handling background tasks like email delivery, if you stop Sidekiq, the forgot password email won't be sent to the user. The request for a password reset will still be processed, but the system will not be able to send the email due to Sidekiq being down. Other Email-Related Features : Any other features that rely on email notifications (like user invitations, confirmation emails, or CI/CD notifications) will also be affected. To check whether GitLab is enforcing authentication (which could be affecting the ELB health check), run the following inside the GitLab Rails console (command: gitlab-rails console): ApplicationSetting .first.password_authentication...