Help XSYNC can't sync

105 views
Skip to first unread message

Isabel Restrepo

unread,
Jun 3, 2021, 9:57:29 AM6/3/21
to xnat_discussion
Hi All, 

We have a new production setup that relays on xsync and so far I've had several issues where syncing fails after partial sync. I have been able to get past it by trigger manual synchronization from the participant interface but the last two participant data are not working. Any help would be greatly appreciated, as this is stopping us from getting the data to researchers. The most recent two error, which are preventing syncing of latest 2 participant data are:

Problem 1:

I am syncing a participant on project SHENHAV_201226 - and the error complaints about another project BNC_DEMODAT. The BNC_DEMODAT (on the relay box project) synched, but mysteriously stopped showing the participant data on web interface - data was still present on the archive folder. I deleted the project to see if that would get past the error, no change in behavior

Subject Label Remote ID Status Message 
TCB2051 
XNAT_S00013 
FAILED 
java.io.IOException: Source '/home/xnat/archive/BNC_DEMODAT/arc001/111/SCANS/1/DICOM' and destination '/home/xnat/archive/BNC_DEMODAT/arc001/111/SCANS/1/DICOM' are the same at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1351) at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1246) at org.apache.commons.io.FileUtils.copyDirectory(FileUtils.java:1215) at org.nrg.xsync.local.ExperimentFilter.copyFiles(ExperimentFilter.java:629) at org.nrg.xsync.local.ExperimentFilter.modifyExptResource(ExperimentFilter.java:575) at org.nrg.xsync.local.ExperimentFilter.prepareImagingSessionToSync(ExperimentFilter.java:671) at org.nrg.xsync.local.XsyncExperimentTransfer.syncExperiment(XsyncExperimentTransfer.java:173) at org.nrg.xsync.local.RemoteSubject.pushExperiment(RemoteSubject.java:523) at org.nrg.xsync.local.RemoteSubject.syncExperiment(RemoteSubject.java:105) at org.nrg.xsync.local.SingleExperimentTransfer.syncExperiment(SingleExperimentTransfer.java:178) at org.nrg.xsync.local.SingleExperimentTransfer.sync(SingleExperimentTransfer.java:128) at org.nrg.xsync.local.SingleExperimentTransfer.call(SingleExperimentTransfer.java:87) at org.nrg.xsync.local.SingleExperimentTransfer.call(SingleExperimentTransfer.java:42) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

Problem 2:
The next participant is not synching either. I'm not sure if the errors are now relevant or just a consequence of the first error, but here is what I'm getting

Subject Label Remote ID Status Message 
TCB2053 
XNAT_S00010 
CONFLICT 
org.nrg.xsync.exception.XsyncIdConflictException: Subject XNAT_S00010 exists at destination with a different label or in a different project. at org.nrg.xsync.utils.ConflictCheckUtil.checkForConflict(ConflictCheckUtil.java:43) at org.nrg.xsync.local.IdMapper.correctIDandLabel(IdMapper.java:107) at org.nrg.xsync.local.RemoteSubject.syncSubject(RemoteSubject.java:134) at org.nrg.xsync.local.RemoteSubject.syncExperiment(RemoteSubject.java:101) at org.nrg.xsync.local.SingleExperimentTransfer.syncExperiment(SingleExperimentTransfer.java:178) at org.nrg.xsync.local.SingleExperimentTransfer.sync(SingleExperimentTransfer.java:128) at org.nrg.xsync.local.SingleExperimentTransfer.call(SingleExperimentTransfer.java:87) at org.nrg.xsync.local.SingleExperimentTransfer.call(SingleExperimentTransfer.java:42) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)

Again, any help, hints would be greatly appreciated.

Thank you,
Isabel

Version of XNAT is 1.8.1
Version of XSYNC is 1.4.0


Isabel Restrepo

unread,
Jun 3, 2021, 4:04:05 PM6/3/21
to xnat_discussion
Okay I think I found something that may be causing these errors. When I look at the XML file for the subjects  (SHENHAV_201226/TCB2051) - one of the ones Whythrowing errors when syncing. I see lines such as

---------------------------------------------------------------------------------------------------------------------
<xnat:image_session_ID>XNATRELAY_E00005</xnat:image_session_ID>
<xnat:quality>usable</xnat:quality>
<xnat:series_description>anat-scout_acq-localizer</xnat:series_description>
<xnat:scanner manufacturer="SIEMENS" model="Prisma_fit">AWP67050</xnat:scanner>
<xnat:modality>MR</xnat:modality>
<xnat:frames>3</xnat:frames>
<xnat:file label="DICOM" file_count="3" file_size="2060712" URI="/home/xnat/archive/BNC_DEMODAT/arc001/111/SCANS/1/DICOM/scan_1_catalog.xml" format="DICOM" content="RAW" xsi:type="xnat:resourceCatalog"/>
<xnat:file label="DICOM" file_count="3" file_size="2061102" URI="/home/xnat/archive/SHENHAV_201226/arc001/TCB2051/SCANS/1/DICOM/scan_1_catalog.xml" format="DICOM" content="RAW" xsi:type="xnat:resourceCatalog"/>
---------------------------------------------------------------------------------------------------------------------


Why could the wrong URI line be getting in there? The other subject that is not syncing has the same issue...

What could be going on? Any hints on how to fix this?

Thank you!

Isabel Restrepo

unread,
Jun 3, 2021, 4:10:52 PM6/3/21
to xnat_discussion

And I've also realized that the subjects that are getting inserted with the wrong URI e.g BNC_DEMODAT/arc001/111/SCANS/1/DICOM/ are the ones disappearing from my web console....
Reply all
Reply to author
Forward
0 new messages