gitlabhq/gitlabhq — Issue #74: Project description file hasn't been set  issue
Author: railsfactory-rajeshrs
Created: 2011-11-04 01:18:07+00:00
State: open

When pushing a fresh repository ( first time ) from local system to my gitlabhq server, I faced this error (only the first time ):

git push -u origin master
....
.....
Writing objects: 100% (5/5), 888 bytes, done.
Total 5 (delta 0), reused 0 (delta 0)
*** Project description file hasn't been set
error: hooks/update exited with error code 1
error: hook declined to update refs/heads/master
To git@localhost:testapp1.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git@localhost:testapp1.git'
cache: [POST /keys] invalidate, pass

I had to open the .git/description file, delete the first line and added some description to it. This did not solve the issue, so again went to the gitlabhq server, opened the /home/git/repositories/testapp1.git/description file and done the same steps. Then the issue solved.

Please let me know what should be done to rectify this issue.