[ome-users] omero cleanse failing

Olivier Miquel olivier.miquel at mri.cnrs.fr
Mon Feb 12 17:01:15 GMT 2018


Hi,

I'm trying to clean our filesystem and our omero database.
After about one hour or two hours of execution, the process doesn't 
seems to suceed.

It may be related to this bug :
http://trac.openmicroscopy.org/ome/ticket/13225

Did you know a way to fix that?

We are working with omero version 5.4.0.

Thanks for your help,


kansas:/home/omero/apps/OMERO/OMERO.server# sudo -u omero bin/omero 
admin cleanse /home/omero/apps/OMERO/OMERO.data
Using session 0e5985ba-69ee-41a5-8077-2b413953ad0a 
(root at localhost:4064). Idle timeout: 300 min. Current group: system
Removing empty directories from...
  /home/omero/apps/OMERO/OMERO.data/ManagedRepository-! 02/12/18 
16:51:10.461 warning: Proxy keep alive failed.
Traceback (most recent call last):
   File "bin/omero", line 125, in <module>
     rv = omero.cli.argv()
   File 
"/home/omero/apps/OMERO/OMERO.server-5.4.0-ice36-b74/lib/python/omero/cli.py", 
line 1613, in argv
     cli.invoke(args[1:])
   File 
"/home/omero/apps/OMERO/OMERO.server-5.4.0-ice36-b74/lib/python/omero/cli.py", 
line 1088, in invoke
     stop = self.onecmd(line, previous_args)
   File 
"/home/omero/apps/OMERO/OMERO.server-5.4.0-ice36-b74/lib/python/omero/cli.py", 
line 1165, in onecmd
     self.execute(line, previous_args)
   File 
"/home/omero/apps/OMERO/OMERO.server-5.4.0-ice36-b74/lib/python/omero/cli.py", 
line 1247, in execute
     args.func(args)
   File 
"/home/omero/apps/OMERO/OMERO.server-5.4.0-ice36-b74/lib/python/omero/cli.py", 
line 637, in _check_admin
     return func(*args, **kwargs)
   File 
"/home/omero/apps/OMERO/OMERO.server-5.4.0-ice36-b74/lib/python/omero/plugins/admin.py", 
line 1700, in cleanse
     dry_run=args.dry_run)
   File 
"/home/omero/apps/OMERO/OMERO.server-5.4.0-ice36-b74/lib/python/omero/util/cleanse.py", 
line 248, in cleanse
     delete_empty_dirs(proxy, root, client, dry_run)
   File 
"/home/omero/apps/OMERO/OMERO.server-5.4.0-ice36-b74/lib/python/omero/util/cleanse.py", 
line 256, in delete_empty_dirs
     is_empty_dir(repo, '/', False, to_delete)
   File 
"/home/omero/apps/OMERO/OMERO.server-5.4.0-ice36-b74/lib/python/omero/util/cleanse.py", 
line 288, in is_empty_dir
     is_empty_dir(repo, subdirectory, may_delete_subdir, empty_subdirs):
   File 
"/home/omero/apps/OMERO/OMERO.server-5.4.0-ice36-b74/lib/python/omero/util/cleanse.py", 
line 288, in is_empty_dir
     is_empty_dir(repo, subdirectory, may_delete_subdir, empty_subdirs):
   File 
"/home/omero/apps/OMERO/OMERO.server-5.4.0-ice36-b74/lib/python/omero/util/cleanse.py", 
line 288, in is_empty_dir
     is_empty_dir(repo, subdirectory, may_delete_subdir, empty_subdirs):
   File 
"/home/omero/apps/OMERO/OMERO.server-5.4.0-ice36-b74/lib/python/omero/util/cleanse.py", 
line 283, in is_empty_dir
     for entry in repo.listFiles(directory):
   File 
"/home/omero/apps/OMERO/OMERO.server-5.4.0-ice36-b74/lib/python/omero_Repositories_ice.py", 
line 428, in listFiles
     return _M_omero.grid.Repository._op_listFiles.invoke(self, ((path, 
), _ctx))
Ice.ConnectionLostException: Ice.ConnectionLostException:
recv() returned zero



More information about the ome-users mailing list