kobotoolbox/kobo-docker

Virtual environment creation for backups with S3 fails

noliveleger opened this issue · 0 comments

When backups are enabled on AWS, the entrypoint creates a virtual environment to install needed tools to write backups to S3 directly.
virtualenv fails to complete the create/install dependencies.

Error can be one of the followings:

  • FileNotFoundError: [Errno 2] No such file or directory: '/root/.local/share/virtualenv/wheel/3.5/embed/1/wheel.json
  • FileNotFoundError: [Errno 2] No such file or directory: '/root/.local/share/virtualenv/wheel/3.5/embed/1/pip.json
  • FileNotFoundError: [Errno 2] No such file or directory: '/root/.local/share/virtualenv/wheel/3.5/embed/1/setuptools.json