OK, I figured it out more quickly than expected: sudo -u git -H psql -d gitlabhq_production
update application_settings set home_page_url = '' where home_page_url = 'http://www.wrong.invalid/'; This is probably baby SQL but it works for me. Good luck! Chris Am Mittwoch, 29. April 2015 19:12:16 UTC+2 schrieb Chris P: > > Hi all, > > I must have misunderstood the meaning of the Homepage field which I just > discovered in the Admin section of the GitLab web interface. > So instead of entering my GitLab server URL there (or leaving this setting > alone), I entered the URL of my company's main website. This means that > everybody who is not currently signed in (including myself) has no chance > to sign in now. > > I can still ssh into the server of course. How can I change/remove this > Homepage setting on the command line? I switched from MySQL to PostgreSQL a > while ago although I am not familiar with the latter, so please provide > detailed instructions if I need to go there. > > Thanks a lot for any advice! (And please mark this setting as dangerous!) > Chris > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/eaac0f97-f5c3-4686-8e96-0ac6e5a089b1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.