The banner will not display before running *_setup.sh -i.
Linking will not work before registering the site, running *_setup.sh -r, and registering the project. Linking will only work for registered projects.
The correct URLs need to be used when initializing, registering, and installing the hook with the *_setup.sh scripts. The scripts can verify the URL is reachable but they do not verify that the URL points to the correct location.
A common mistake is to enter the wrong URL when using *_setup.sh -r. This should be the URL shown in the Git Adapter admin page after registering the Gitweb/Gerrit site, not after registering the project. The URL is also in the table on the Git Server Connections page.
Similar to above, when using *_setup.sh –hook, the URL to enter is displayed in the Git Adapter admin page after registering the Gitweb/Gerrit project, not the URL after registering the Gitweb/Gerrit site. The URL is also on the Git Server Connection page in the Registered Git Projects table.
The Gitweb and Gerrit pages need to be refreshed after initializing and registering using the *_setup.sh scripts for the changes to take effect (such as: the “Register project” link to appear in the administration menu).
The Register Project link does not go away after registering the project.