t2bot / matrix-media-repo

Highly configurable multi-domain media repository for Matrix.

Home Page:https://docs.t2bot.io/matrix-media-repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to download media (mime type sniffer issue?)

tezlm opened this issue · comments

Error seeking after detecting mimetype: The specified key does not exist. (logged here?)

level=info msg="Replying with result: *_responses.DownloadResponse &{ContentType:image/png Filename:analyzing.png SizeBytes:567425 Data:0xc0037fc120 TargetDisposition:infer}" contentLength=0 contentType="" host=celery.eu.org method=GET queryString="" remoteAddr="[::1]:36528" requestId=REQ-30 resource=/_matrix/media/r0/download/celery.eu.org/mediaid userAgent="..."
level=error msg="Error seeking after detecting mimetype: The specified key does not exist." contentLength=0 contentType="" host=celery.eu.org method=GET queryString="" remoteAddr="[::1]:36528" requestId=REQ-30 resource=/_matrix/media/r0/download/celery.eu.org/mediaid userAgent="..."
level=info msg="Replying with result: *_responses.ErrorResponse &{Code:M_UNKNOWN Message:Unexpected Error InternalCode:M_UNKNOWN}" contentLength=0 contentType="" host=celery.eu.org method=GET queryString="" remoteAddr="[::1]:36528" requestId=REQ-30 resource=/_matrix/media/r0/download/celery.eu.org/mediaid userAgent="..."

version: v1.3.2

This may be broken because I manually added db records and files (for importing from conduit), but it breaks with existing media so /shrug

Nevermind, it was my problem. I accidentally swapped datastore ids.