[DRE-maint] Bug#893450: gitlab: fresh install have no root account, default root password does not work

Dmitry Smirnov onlyjob at debian.org
Sun Mar 25 10:54:08 UTC 2018


On Monday, 19 March 2018 9:19:32 PM AEDT Pirate Praveen wrote:
> We need to update debian/rake-tasks.sh as given here,
> 
> https://gitlab.com/gitlab-org/gitlab-ce/blob/v10.5.5/doc/install/installati
> on.md#initialize-database-and-activate-advanced-features

Unfortunately that does not create an account and freshly installed GitLab 
ends up without any accounts at all.

To fix the problem I had to register new user (without logging in) then run 
the following from GitLab console:

~~~~
	u = User.where(id: 1).first
	u.admin = true
	u.save
	exit
~~~~

Took me a while to find out that... ;)

Regards,
 Dmitry Smirnov.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20180325/dbad86c4/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list