Hi, all.
I've got a couple of our learning technologists testing an upgraded Numbas LTI provider 3.0 version on one of our systems, and they're reporting a 500 internal server error when trying to upload a ZIP file with an exam in it. Here's the main error I'm seeing in /var/log/supervisor/numbas_lti_daphne_stderr.log:
2022-05-06 12:10:18,028 ERROR /opt/numbas_lti_python/lib/python3.8/site-packages/django/utils/log.py: Internal Server Error: /resource/31/create_exam
Traceback (most recent call last):
[dozens of lines of Django call stack omitted]
File "/opt/numbas_lti_python/lib/python3.8/site-packages/django/core/files/storage.py", line 274, in _save
fd = os.open(full_path, self.OS_OPEN_FLAGS, 0o666)
PermissionError: [Errno 13] Permission denied: '/srv/numbas-lti-media/exams/exam-128649-cat-questions.zip'
I've checked, and that directory and its files are all owned by the numbas_lti user, so I wouldn't think there'd be a permissions problem. I have a feeling, though, that I'm missing something that should be obvious. Anyone have any ideas/advice? Thanks in advance.
--
Tom Salyers
--
You received this message because you are subscribed to the Google Groups "Numbas Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numbas-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/numbas-users/bbcdd66d-52a5-47a8-b870-b1256332639cn%40googlegroups.com.