jtigner Posted October 16, 2019 Report Share Posted October 16, 2019 I am attempting to setup a GitServer in order to connect our Crucible/Fisheye tools to a PlasticSCM Repository. I have attempted to follow the steps outlined in Git Server Configuration and Sample Git Server Session. I do not have an existing Git repository that I am attempting to sync on both sides. I only want to provide the export capability from PlasticSCM so that Fisheye/Crucible think they are dealing with a Git repository. I am currently running PlasticSCM on CentOS 7, git version 2.16.5, Fisheye/Crucible 4.6.0 Here is what I have so far: /opt/plasticscm5/server/gitserver.conf #port configuration tcp.port=9418 http.port=80 #mapping storage - the mappings between git and plastic objects storage.baseDirectory=/git/mappings #mapping interval - how often GitServer looks for new changes # on the PlasticSCM side to make them available to git mapping.interval=30 I have restarted the PlasticSCM Server [root@gittest /] cd /opt/plasticscm5/server [root@gittest server]# plasticsd stop Stopping the Plastic SCM server: OK [root@gittest server]# plasticsd start Starting the Plastic SCM server: OK I have a valid PlasticSCM Sandbox Repository [root@gittest git]# cd /git [root@gittest git]# cm repository default@localhost:8087 Sandbox@localhost:8087 However executing the command to clone the Sandbox repository fails [root@gittest git]# cd /git [root@gittest git]# git clone git://localhost/Sandbox Cloning into 'Sandbox'... fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. What are the next steps for troubleshooting this issue? Link to comment Share on other sites More sharing options...
calbzam Posted October 17, 2019 Report Share Posted October 17, 2019 Hi, Could you attach the "plastic.debug.log.txt" file? We should be able to debug why the GitServer mappings are not generated. Generating the mappings will take a while and it depends on the repo size. Regards, Carlos. Link to comment Share on other sites More sharing options...
jtigner Posted October 17, 2019 Author Report Share Posted October 17, 2019 Looking at the debug logs indicated that the folder permissions, which were created by root, where not allowing the plasticscm user to access them. I've changed the ownership of the /git/mappings folder and the process appears to be working as expected. I will update this thread if I run into another issue during the Fisheye integration process. Link to comment Share on other sites More sharing options...
calbzam Posted October 18, 2019 Report Share Posted October 18, 2019 Ok, thanks for the update. Carlos. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now