doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
{{< details >}}
{{< /details >}}
This was the GitLab Support Team's collection of information regarding the GitLab Rails console, for use while troubleshooting. It is listed here for posterity, as most content has been moved to feature-specific troubleshooting pages and sections, see epic &8147. You may want to update your bookmarks accordingly.
[!warning] Some of these scripts could be damaging if not run correctly, or under the right conditions. We highly recommend running them under the guidance of a Support Engineer, or running them in a test environment with a backup of the instance ready to be restored, just in case.
If you are currently having an issue with GitLab, it is highly recommended that you first check our guide on the Rails console, and your support options, before attempting the information pointed to from here.
[!warning] As GitLab changes, changes to the code are inevitable, and so some scripts may not work as they once used to. These are not kept up-to-date as these scripts/commands were added as they were found/needed. As mentioned previously, we recommend running these scripts under the supervision of a Support Engineer, who can also verify that they continue to work as they should and, if needed, update the script for the latest version of GitLab.
bad decrypt errorsThis content has been converted to a Rake task, see verify database values can be decrypted using the current secrets.
This content has been moved to Troubleshooting Repository mirroring.
This content has been moved to CI/CD maintenance.
This content has been moved to Activate GitLab EE with a license file or key.
To view storage space by project in the container registry, see Registry Disk Space Usage by Project.
To reduce storage space in the container registry, see Run the cleanup policy.
This content has been moved to Troubleshooting Sidekiq.
Moved to Geo replication troubleshooting.
Moved to Geo replication troubleshooting.
Moved to Geo replication troubleshooting.
Moved to Geo replication troubleshooting - Resync repository types.
Moved to Geo replication troubleshooting - Resync project and project wiki repositories.
Moved to Geo replication troubleshooting.
This content has been moved to Troubleshooting Service Ping in the GitLab development documentation.