Transfer source displays nothing with large directories

Skip to first unread message

Joseph Collard

Sep 12, 2022, 1:27:20 PM9/12/22
to archivematica
Under the transfer tab, I have a directory that shows no items to transfer. If edit the location to one of the subdirectories, it works fine.  My theory is that the root directory is too large (almost 2 terabytes), causing a timeout (logs below)  I don't believe it is a permission error, as the directory, subdirectory, and all files are set to 775, and the archivematica user is part of the group that is owner of the directory. Anyone have an idea how to deal with this? Thanks.

==> /var/log/archivematica/dashboard/dashboard.log <==
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/requests/", line 449, in send
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/urllib3/", line 756, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/urllib3/util/", line 532, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/urllib3/packages/", line 770, in reraise
    raise value
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/urllib3/", line 706, in urlopen
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/urllib3/", line 447, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/urllib3/", line 337, in _raise_timeout
    self, url, "Read timed out. (read timeout=%s)" % timeout_value
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='', port=8000): Read timed out. (read timeout=5.0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/django/core/handlers/", line 41, in inner
    response = get_response(request)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/django/core/handlers/", line 187, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/django/core/handlers/", line 185, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/share/archivematica/dashboard/components/filesystem_ajax/", line 125, in directory_children_proxy_to_storage_server
    response = storage_service.browse_location(location_uuid, path)
  File "/usr/lib/archivematica/archivematicaCommon/", line 275, in browse_location
    response = _storage_api_session().get(url, params=params)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/requests/", line 555, in get
    return self.request('GET', url, **kwargs)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/requests/", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/requests/", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/archivematica/archivematicaCommon/", line 75, in send
    return super(HTTPAdapterWithTimeout, self).send(*args, **kwargs)
  File "/usr/share/archivematica/virtualenvs/archivematica/lib/python3.6/site-packages/requests/", line 529, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='', port=8000): Read timed out. (read timeout=5.0)

Joseph Collard

Sep 16, 2022, 11:03:30 AM9/16/22
to archivematica
I figured out the issue.  I'm guessing that due to network lag, the dashboard timeout when it didn't get object counts quickly enough.  Enabling the " Object counting in spaces is disabled?" stops this from happening. On the plus side, I can see all the directories and objects.  The downside is that I no longer see the object count.  
Reply all
Reply to author
0 new messages