odirus
V2EX  ›  问与答

Bitnami-gitlab 安装后的管理员默认账号和密码

  •  
  •   odirus · Oct 13, 2015 · 19078 views
    This topic created in 3947 days ago, the information mentioned may be changed or developed.

    请问通过 bitnami 安装后的 gitlab 默认账号密码时什么?版本是 omnibus ,以前安装过一次,但那次一切都顺利,账号密码也忘记是哪里找到的了。。。
    root 5iveL!fe 试过,谢谢

    4 replies    2015-10-13 13:35:27 +08:00
    odirus
        1
    odirus  
    OP
       Oct 13, 2015
    https://forum.gitlab.com/t/how-to-reset-the-admin-password-via-the-rails-console/223 这是社区的方法,不过每次我保存的时候, user.save 都会返回 false
    odirus
        2
    odirus  
    OP
       Oct 13, 2015
    @odirus 看来不够热情啊,用上面的方式解决了,之所以 false 是因为要这样用 "user.save!",并且密码必须是至少八位
    hging
        3
    hging  
       Oct 13, 2015   ❤️ 1
    a = user.save
    a.errors
    你就能看到为什么不能保存了.
    odirus
        4
    odirus  
    OP
       Oct 13, 2015
    @hging 谢谢,学习了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3128 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 13:42 · PVG 21:42 · LAX 06:42 · JFK 09:42
    ♥ Do have faith in what you're doing.