Mirroring problems

Problem Solution
Error message says
Unknown field name ‘GconnMirrorSecretToken’.”
This sort of error might occur if the version number between GCONN and P4D do not match, such as GCONN 2022.2 and P4D 2020.1. The fix is to make sure both components have the same version number.

Updates are not mirrored.

First, make sure you are using the correct credentials.

Second, if you created a repository by using an IP address instead of a URL,
add the webhook using the URL and token:

  1. Update the .mirror.config
  2. Update the config and set the URL in the remote
  3. Update the repo and set the MirroredFrom to the URL

Review the following:

  • /opt/perforce/git-connector/repos/graphDepot/repoName.git/.mirror.config
  • /opt/perforce/git-connector/repos/graphDepot/repoName.git/push_log
  • /opt/perforce/git-connector/repos/graphDepot/repoName.git/fetch_log
  • /opt/perforce/git-connector/repos/graphDepot/repoName.git/.mirror.log
  • /opt/perforce/git-connector/gconn.conf
  • /var/log/gconn.log
  • /var/log/p4gc.log
  • /opt/perforce/git-connector/repos/<graphDepot>/<repo>.git/config
  • p4 repo -o //<graphDepot>/<repo>

For further assistance, include this information in a request to Perforce Technical Support.