DEV Community

Pradeep Kumar
Pradeep Kumar

Posted on

[Solved] Gitlab: Maximum number of ci instance level variables (25) exceeded

  1. Start Gitlab Rails Console
sudo gitlab-rails console
Enter fullscreen mode Exit fullscreen mode

Ref: https://docs.gitlab.com/ee/administration/operations/rails_console.html#starting-a-rails-console-session

  1. Run following command to increase instance level variables
Plan.default.actual_limits.update!(ci_instance_level_variables: 300)
Enter fullscreen mode Exit fullscreen mode

Wait for sometime for the command to run.

Ref: https://docs.gitlab.com/ee/administration/instance_limits.html

  1. Exist from Rails Console
exit
Enter fullscreen mode Exit fullscreen mode

Type exit command and press enter

Top comments (0)