delete files in binary repository (omero.insight crashed)
Posted: Fri Apr 20, 2018 6:08 pm
Hi OMERO team,
I'm new to OMERO, and I need your advice on how to proceed to delete files from OMERO's binary repository when the OMERO.insight client crashed, probably after the upload was completed(?). When I login into omero.web client, I do not see any data files shown for that user that uploaded. For details, please read below.
I recently installed OMERO.server 5.4.5 (on a RHEL 7.4). I also installed the omero.web client (installed separately from the OMERO.server). I have used OMERO.insight-5.4.5 client to upload some tiff files (<50) to our OMERO.server and everything works great.
Yesterday I started a upload via OMERO.insight: I selected 720 tiff files (less than 2GB) from one of our OperaPhenix HCS data sets (full data set is ~86GB, has 55440 tiff files+1 Index.idx.xml file) after a while I noticed that OMERO.insight is actually trying to upload the entire data set. I suspect it tries to uploads every file listed in the Index.idx.xml file (is that correct?) I didn't interrupt, and let it go overnight.This morning OMERO.insight showed it has uploaded 86GB, see attached screenshot. But also OMERO.insight client seemed to have crashed at some point (was not responding etc). I looked at the OMERO.insight log file and it shows:
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "XToolkt-Shutdown-Thread"
Exception in thread "TimerQueue" java.lang.OutOfMemoryError: Java heap space
When I login into omero.web client, I do not see any data files shown for that user that uploaded, I see only one single "screen" folder that is empty, I looked under OMERO's binary repository, I see this directory:
/data/omero/omerotest/ManagedRepository/operaphenix_102/2018-04/19/10-32-32.996/All_Images/
Doing "du -sh All_Images/" shows: 109G and "ls -l All_Images/| wc -l" shows: 55442
So it seems all the tiff files were uploaded but it never made it into OMERO database?
I read the directions given here: https://docs.openmicroscopy.org/omero/5.4.5/developers/Modules/Delete.html and here: https://www.openmicroscopy.org/community/viewtopic.php?f=4&t=8193&p=17851&hilit=delete+files+in+binary+repository#p17851
Is there anything else I need to watch out for when trying to delete these 86GB of files that do not show up in omero.web ? any tips, suggestions are much appreciated.
Kia
I'm new to OMERO, and I need your advice on how to proceed to delete files from OMERO's binary repository when the OMERO.insight client crashed, probably after the upload was completed(?). When I login into omero.web client, I do not see any data files shown for that user that uploaded. For details, please read below.
I recently installed OMERO.server 5.4.5 (on a RHEL 7.4). I also installed the omero.web client (installed separately from the OMERO.server). I have used OMERO.insight-5.4.5 client to upload some tiff files (<50) to our OMERO.server and everything works great.
Yesterday I started a upload via OMERO.insight: I selected 720 tiff files (less than 2GB) from one of our OperaPhenix HCS data sets (full data set is ~86GB, has 55440 tiff files+1 Index.idx.xml file) after a while I noticed that OMERO.insight is actually trying to upload the entire data set. I suspect it tries to uploads every file listed in the Index.idx.xml file (is that correct?) I didn't interrupt, and let it go overnight.This morning OMERO.insight showed it has uploaded 86GB, see attached screenshot. But also OMERO.insight client seemed to have crashed at some point (was not responding etc). I looked at the OMERO.insight log file and it shows:
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "XToolkt-Shutdown-Thread"
Exception in thread "TimerQueue" java.lang.OutOfMemoryError: Java heap space
When I login into omero.web client, I do not see any data files shown for that user that uploaded, I see only one single "screen" folder that is empty, I looked under OMERO's binary repository, I see this directory:
/data/omero/omerotest/ManagedRepository/operaphenix_102/2018-04/19/10-32-32.996/All_Images/
Doing "du -sh All_Images/" shows: 109G and "ls -l All_Images/| wc -l" shows: 55442
So it seems all the tiff files were uploaded but it never made it into OMERO database?
I read the directions given here: https://docs.openmicroscopy.org/omero/5.4.5/developers/Modules/Delete.html and here: https://www.openmicroscopy.org/community/viewtopic.php?f=4&t=8193&p=17851&hilit=delete+files+in+binary+repository#p17851
Is there anything else I need to watch out for when trying to delete these 86GB of files that do not show up in omero.web ? any tips, suggestions are much appreciated.
Kia