jboxberger / synology-gitlab

Updated an improved Original Synology Package
MIT License
129 stars 20 forks source link

Need Help root password #37

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hello,

I use your gitlab package since a year, really nice to have an updated software, thanks for that.

I am sorry for that question, it is not a problem with your package.

I lost my root password, I don't find a way to reset it. Could you help me ?

tobidemski commented 5 years ago

Maybe the offical documentation helps you out. https://docs.gitlab.com/ee/security/reset_root_password.html

ghost commented 5 years ago

Yes I find this page but It is more complicated with Docker.

I have try this command :

sudo /usr/local/bin/docker exec -it synology_gitlab bash -c "sudo gitlab-rails console production"

It return

sudo: gitlab-rails: command not found

tobidemski commented 5 years ago

maybe this post helps you out: https://github.com/sameersbn/docker-gitlab/issues/929#issuecomment-395087914

ghost commented 5 years ago

Yes, thanks. This is the complete command to launch the console :

sudo /usr/local/bin/docker exec -it synology_gitlab bash -c "sudo -u git -H bundle exec rails console production"

jboxberger commented 5 years ago

I have tot thank too! Didn't knew the "trick", have done it laways with a native database update. I was about to write an small tutorial how to database update but you figured it out faster than me writing the tutorial. Nice! 👍