Skip to content

Chunk uploads from worker to Moodle to allow archives being larger than $CFG->maxbytes value #93

@tmtsc

Description

@tmtsc

If the archive file is larger than the system-wide setting maxbytes, the job fails ('errortype': 'fileoversized', 'error': '[[maxbytes]]').
(The archive could be created without issues when the maxbytes value was temporarily increased for testing purposes.)

Is there a way to work around this? The maxbytes value is crucial in various other contexts (e.g., upload size limits for course materials and submissions), and therefore cannot be increased specifically for the quiz archiver.

We considered assigning the "course:ignorefilesizelimits" permission to the quiz_archiver role, but it appears to have no effect.

Metadata

Metadata

Assignees

Labels

Moodle PluginRelated to the quiz_archiver moodle puginWorker ServiceRelated to the quiz archiver worker serviceenhancementNew feature or requesttriagedThe issue was sighted by a maintainer

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions