You may see "Information about the most recent deployment is unavailable." in the "Pull or Deploy" tab in cPanel > Files > Git Version Control. This article aims to guide you towards determining the cause of this message.
The Git Version Control interface stores information about the last deployment in the file, "/home/username/.cpanel/datastore/vc_list_store". The cPanel environment writes a log of each deployment located at
You can find the log's location for the last deployment with the VersionControlDeployment::retrieve uapi call. Run the following command as the cPanel user:
uapi VersionControlDeployment retrieve
Or as root:
uapi --user=username VersionControlDeployment retrieve
After running this command, use the "less" or the "cat" command to view the log_path in the output which should show any errors that may have occurred during the deployment, usually as a result of an error caused by something in the .cpanel.yml file.
For more information about deployment, read About Git Version Control and Remote Repositories deployment.