Problem: User-import shows a traceback

Problem:

User-import shows a traceback:

15.10.21 08:21:14.550  MAIN        ( ERROR   ) : Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 217, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 61, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/sbin/univention-management-console-web-server", line 757, in default
    return self.get_response(self.create_sessionid(), path, self.get_arguments(kwargs))
  File "/usr/sbin/univention-management-console-web-server", line 911, in get_response
    response = super(CPCommand, self).get_response(sessionid, path, args)
  File "/usr/sbin/univention-management-console-web-server", line 779, in get_response
    req = self.get_request('/'.join(path), args)
  File "/usr/sbin/univention-management-console-web-server", line 899, in get_request
    return self.get_request_upload(path, args)
  File "/usr/sbin/univention-management-console-web-server", line 927, in get_request_upload
    req.body = self._get_upload_arguments(req, args)
  File "/usr/sbin/univention-management-console-web-server", line 944, in _get_upload_arguments
    s = os.statvfs(TEMPUPLOADDIR)
OSError: [Errno 2] No such file or directory: '/var/tmp/univention-management-console-frontend'

Solution:

Mysteriously, the temporary directory was no longer present.
Touching the directory and restarting the univention-management-console-web-server solved the issue.

Mastodon