Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-54544

unoconv uses temporary request dir which makes it hard to offload processing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1
    • 3.1
    • Files API
    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-54544-master
    • Hide

      Make sure unoconv is installed properly and if it is in a non-standard location - the path is set in config.php.

      Run ./vendor/bin/phpunit lib/tests/unoconv_test.php

      Show
      Make sure unoconv is installed properly and if it is in a non-standard location - the path is set in config.php. Run ./vendor/bin/phpunit lib/tests/unoconv_test.php

      Some sites may want to use a wrapper script for unoconv to force it to always perform processing on a node that is not a webserving node. This would be fairly simple - except that we use a request only dir for file conversions which would need to be mounted on both servers.

      Instead we should use make_temp_directory and clean up after ourselves. This will have no performance impact on single node servers, and is desirable for clustered sites.

      This is all in lib/filestorage/file_storage.php

            damyon Damyon Wiese
            damyon Damyon Wiese
            Marina Glancy Marina Glancy
            David Monllaó David Monllaó
            Rajesh Taneja Rajesh Taneja
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.