barrcodes Posted June 15, 2018 Report Share Posted June 15, 2018 I've spent a good 4 hours on this, and I'm at my wit's end. I got far enough that git *tries* to start, but fails. For a while, this was catching me up: 2018-06-15 22:52:39,797 GitServerRequest-8 ERROR Git - GitTcpServer caught an error Access to the path "/myUserName/.plastic4/gitserver" is denied. So I foolishly created a gitserver folder in my user's .plastic4 directory, and gave it rwx access to all users (because I think the issue is that plastic server uses a user called plasticscm, who didn't have access to a folder in my user's home). This did not solve the issue though, as gitserver now starts. However, when I try to clone, I get the following in my log: 2018-06-15 23:05:34,073 GitServerRequest-22 ERROR Git - GitTcpServer caught an error Sequence contains no elements Link to comment Share on other sites More sharing options...
calbzam Posted June 18, 2018 Report Share Posted June 18, 2018 Hi, I'm sorry you are facing problems when configuring GitServer. - Let's set a custom path with write permissions in your server to generate the GitServer mappings. https://www.plasticscm.com/documentation/gitserver/plastic-scm-version-control-gitserver-guide.shtml # mapping storage - the mappings between git and plastic objects # the default path is automatically generated by the server storage.baseDirectory=e:\gitserver\mappings - Once we have configured the custom path, we need to restart the Plastic server service and check if the mappings are being generated there. - In any issue still persists, please attach the full "plastic.debug.log.txt" so we can review it and debug the problem. Regards, Carlos. Link to comment Share on other sites More sharing options...
Xenthal Posted September 27, 2018 Report Share Posted September 27, 2018 I'm having a similar issue, when i try to start the server with gitserver.conf available, for some reason the whole thing cant start anymore and gives a: 2018-09-27 22:15:27,151 Main-1 FATAL Daemon - Access to the path "/root/.plastic4" is denied. 2018-09-27 22:15:27,154 Main-1 DEBUG Daemon - Stack trace: at System.IO.Directory.CreateDirectoriesInternal (System.String path) [0x00070] in <8f2c484307284b51944a1a13a14c0266>:0 at System.IO.Directory.CreateDirectory (System.String path) [0x000a4] in <8f2c484307284b51944a1a13a14c0266>:0 at Codice.Utils.UserConfigFolder.GetFolder () [0x00016] in <f1e6dab848f74cc0bd1d41698fc4d444>:0 at Codice.Utils.ConfigFileLocation.GetConfigFilePath (System.String configfileName) [0x0001e] in <f1e6dab848f74cc0bd1d41698fc4d444>:0 at aft..ctor () [0x0003f] in <926c674da5134e8ab57dffa0d256acba>:0 at aft.c () [0x00032] in <926c674da5134e8ab57dffa0d256acba>:0 at a.a (Codice.CM.Interfaces.IRepositoryHandler A_0, Codice.CM.Interfaces.IBranchHandler A_1, Codice.CM.Interfaces.IMarkerHandler A_2, Codice.CM.Interfaces.IItemHandler A_3, Codice.CM.Interfaces.ISecurityHandler A_4, Codice.CM.Interfaces.IInfoHandler A_5) [0x00012] in <9768a5026374440c869fb5602c0ce58a>:0 at Codice.CM.Server.SystemRunner.b () [0x00075] in <728d6ba304504b8e9765d14d86631161>:0 at Codice.CM.Server.SystemRunner.Init (System.Boolean bInitInSeparateThread) [0x003f9] in <728d6ba304504b8e9765d14d86631161>:0 at Codice.CM.Daemon.Daemon.LaunchUnixDaemon (Codice.CM.Server.ISystemRunner runner, System.String lockFile) [0x00000] in <a93afe2ef5f94babb75280d52e2ff241>:0 I have no idea why it is doing this, checked every single conf file and there is nothing anywhere referring it to use that folder. Changed the name on the gitserver.conf file and now the server starts fine. my gitserver.conf looks like this: # port configuration tcp.port=9418 http.port=8080 # mapping storage - the mappings between git and plastic objects # the default path is automatically generated by the server storage.baseDirectory=/var/lib/plasticscm/git/ # mapping interval - how often GitServer looks for new changes # on the Plastic side to make them available to git # By default, it is 5 minutes (300 seconds) mapping.interval=300 # repositories to be exported. By default, all repositories # will be available on GitServer unless a list is specified here Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.