An unwritable DATA_DIR (a root-owned volume, a full disk, a read-only
mount) made POST /jobs and POST /v1/audio/transcriptions fail with a
bare 500 and a PermissionError traceback, with nothing in the response
telling the client it was a server-side storage problem.
- save_upload raises StorageUnavailableError on any OSError while
creating DATA_DIR/audio or writing the file, and removes a partially
written file first
- one app-level handler turns it into 503 with a short detail; the real
error, including the path, goes only to the server log
- the API logs an error at startup when DATA_DIR is not writable, so a
bad volume shows up before the first upload