Gameboy + Keyboard, chmod +x toggle_saas.sh, so, why simply export GITLAB_SIMULATE_SAAS=0 didn’t work ?
IMG_0906

Gameboy + Keyboard, chmod +x toggle_saas.sh, so, why simply export GITLAB_SIMULATE_SAAS=0 didn’t work ?

Quelle matière préfériez-vous à l’école ?


J’aimais surtout la littérature, et plus tard en apprenant Python, le concept de None m’a marqué, très bien expliqué dans Fluent Python de Luciano Ramalho… Honnêtement, j’aimais surtout jouer à Pokémon sur ma gameboy

If you hack on GitLab locally a lot, a modern keyboard is honestly the cheapest quality-of-life upgrade I’ve found. Mine was like €30-€70 linking the one I use here.

GitLab treats GITLAB_SIMULATE_SAAS as boolean presence, not a numeric toggle.

When GITLAB_SIMULATE_SAAS is present at all, GitLab assumes SaaS mode and begins checking namespace plans, which can disable or alter local features; to return to normal self-managed behavior you must remove the variable, not set it to 0, and then fully restart Rails.

If it exists at all → SaaS mode is ON.

So the fix is always to unset, not set to 0.

gdk rails console
unset GITLAB_SIMULATE_SAAS.

to kill SaaS mode everywhere

unset GITLAB_SIMULATE_SAAS && gdk kill && gdk reconfigure && gdk restart

This one-liner clears the env var and reloads your processes, and the toggle script lets you switch between SaaS and self-managed modes with one command.

whenever you need to test both behaviors.

Discover more from Kvnbbg $SHOP

Subscribe to get the latest posts sent to your email.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *

Blue Captcha Image
Refresh

*

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)