SCM command-line checkin failing "Error during upload" on files of greater than 128 kB in size when run on server host
I have an RTC 4.0.6 server running on a Linux host.
I am using the scm.sh command line tool to checkin a file (having first successfully run the login, load, and status commands). I'm running these commands locally on the server host. Whenever I try to run the scm.sh checkin command for a file that is larger (even by 1 byte) than 128 kB it fails with the following message... Failed to upload File /somepath/somefileHowever...
So this problem is specific to running checkin of >128kB file when using scm.sh running locally on the server host. Anyone have suggestions on what could be causing this failure?
I've taken a look in the log files and haven't found any errors in the server log, and no more useful details in the scm log.
|
One answer
I've managed to resolve this. Here's how...
I switched on logging for the scm client (more details here: https://jazz.net/help-dev/clm/topic/com.ibm.team.scm.doc/topics/r_scm_cli_logging.html). Then I trawled through the log files and found an additional error... <message><< " "errorMessage": "CRRTC5038W: The versioned content service temp directory has been deleted. This often can happen if the property 'vcs.tmpdir' is a directory within \/tmp. Please contact your server administrator.",[\n]"</message>I checked the value for Versionable Content Temporary DIrectory (CCM, Advanced Properties) and it was set to the default of /tmp/versionedcontentservice. I looked on the host and this did not exist. Once I created this folder (and set the permissions correctly) the problem I was experiencing went away. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.