Lost the root/admin password? You can reset it using the command-line. Recipe adapted from gitlab issue #308.
# start the console
sudo gitlab-rails console| <?php | |
| namespace App\Abilities; | |
| use Illuminate\Support\Str; | |
| use ReflectionClass; | |
| /** | |
| * Note: This is a preview of an upcoming package from Tighten. | |
| **/ |
| #!/bin/bash | |
| # | |
| # git-find-roots finds every commit with no parent (initial commits) | |
| # and the commit where they were merged. | |
| # | |
| # Usage: | |
| # git-find-roots [commit-ish] | |
| # | |
| # Example: | |
| # git-find-roots master |
Lost the root/admin password? You can reset it using the command-line. Recipe adapted from gitlab issue #308.
# start the console
sudo gitlab-rails console