Cleanse issue with 5.2.7
Posted: Mon Jun 19, 2017 2:03 pm
Hi,
when calling cleanse in omero 5.2.7 on debian 8 up to date, I get the error reproduced below. It is normally called after backup using the line
cedre-agent is the user running the server and owning omero files. OMERO_HOME is the path (contains a symlink).
I don't see any additional useful indication. Please ask me !
Thank you very much for your help
Best
Jacques
when calling cleanse in omero 5.2.7 on debian 8 up to date, I get the error reproduced below. It is normally called after backup using the line
- Code: Select all
sudo -u cedre-agent $OMERO_HOME/bin/omero -s localhost -u $USERNAME -w "$PASSWORD" -g CeDRE admin cleanse $BINARY_REPOSITORY
cedre-agent is the user running the server and owning omero files. OMERO_HOME is the path (contains a symlink).
I don't see any additional useful indication. Please ask me !
Thank you very much for your help
Best
Jacques
- Code: Select all
Created session d6e3cd4c-7c1c-4fc9-aaed-6a6d18e40be5 (root@localhost:4064). Idle timeout: 60 min. Current group: CeDRE
Traceback (most recent call last):
File "/usr2/local/OMERO/OMERO.server-Current//bin/omero", line 125, in <module>
rv = omero.cli.argv()
File "/usr2/local/OMERO/OMERO.server-Current/lib/python/omero/cli.py", line 1438, in argv
cli.invoke(args[1:])
File "/usr2/local/OMERO/OMERO.server-Current/lib/python/omero/cli.py", line 952, in invoke
stop = self.onecmd(line, previous_args)
File "/usr2/local/OMERO/OMERO.server-Current/lib/python/omero/cli.py", line 1029, in onecmd
self.execute(line, previous_args)
File "/usr2/local/OMERO/OMERO.server-Current/lib/python/omero/cli.py", line 1111, in execute
args.func(args)
File "/usr2/local/OMERO/OMERO.server-Current/lib/python/omero/cli.py", line 595, in _check_admin
return func(*args, **kwargs)
File "/usr2/local/OMERO/OMERO.server-Current/lib/python/omero/plugins/admin.py", line 1796, in cleanse
dry_run=args.dry_run)
File "/usr2/local/OMERO/OMERO.server-Current/lib/python/omero/util/cleanse.py", line 250, in cleanse
delete_empty_dirs(proxy, root, client, dry_run)
File "/usr2/local/OMERO/OMERO.server-Current/lib/python/omero/util/cleanse.py", line 258, in delete_empty_dirs
is_empty_dir(repo, '/', False, to_delete)
File "/usr2/local/OMERO/OMERO.server-Current/lib/python/omero/util/cleanse.py", line 285, in is_empty_dir
for entry in repo.listFiles(directory):
AttributeError: 'NoneType' object has no attribute 'listFiles'