gitlab:backup:create error message: fatal: Not a git repository
Created by: rjhornsby
Have started getting this message after upgrading Gitlab to 8.4.0
$ sudo gitlab-rake gitlab:backup:create
fatal: Not a git repository (or any parent up to mount point /opt)
Stopping at filesystem boundary (...)
For reference, this appears to be similar to #1155 (closed).
The backup appears to otherwise complete successfully. Like the comments in #1155 (closed), we are using a different directory for the backups (/var/opt/gitlab/backups), but haven't changed any of the configuration -- just ran the rpm -Uvh to upgrade to 8.4 over the weekend.
I admittedly don't know or understand enough about rake to know where to look to see what is happening behind the scenes of the gitlab-rake command.