kobotoolbox / kobocat

Our (backend) server for providing blank forms to Collect and Enketo and for receiving and storing submissions.
BSD 2-Clause "Simplified" License
117 stars 126 forks source link

Fix missing background audio recordings and audit logs when exporting or viewing submitted data #905

Closed noliveleger closed 11 months ago

noliveleger commented 11 months ago

Description

Run python3 manage.py soft_delete_orphan_attachments_2_023_37c_fix inside the KoboCAT container to fix existing submissions.

Notes

The management command does nothing if no background audio recording and audit logs are soft-deleted. This can happen if self-hosters update their instance from an older than version than 2.023.37c to this one.

Internal discussion: https://chat.kobotoolbox.org/#narrow/stream/4-Kobo-Dev/topic/Attachments.20incorrectly.20soft.20deleted

notion-workspace[bot] commented 11 months ago

[Critical] Restore access to background audio and audit logs