Closed Letiteuf55 closed 6 years ago
This should now be infinitely better as of v1.1.7 :3
I am still seeing this error in Amaroq v1.1.8.
I had a look at the logs and the tmp files return a mime type of application/octet-stream; charset=binary
, which probably is the problem. Is there any way to get a hand on what Amaroq tries to upload to the server to compare the two and see if anything in-between might mangle stuff?
I'm having the same issue in 1.1.8
I'm on an iPhone X, trying to post a photo taken by that device.
The logs I get out of docker log mastodon_web_1
aren't very helpful (to me, anyway), but in case:
[0a025e5f-02b5-479e-89f0-bdf3f7436678] Command :: file -b --mime '/tmp/RackMultipart20180327-11-6ocp5w.jpeg'
[0a025e5f-02b5-479e-89f0-bdf3f7436678] [paperclip] Trying to link /tmp/RackMultipart20180327-11-6ocp5w.jpeg to /tmp/d915330bd02cfa5c81ba993c185c6cc320180327-11-1hgr6rf.jpeg
[0a025e5f-02b5-479e-89f0-bdf3f7436678] [paperclip] Trying to link /tmp/d915330bd02cfa5c81ba993c185c6cc320180327-11-1hgr6rf.jpeg to /tmp/d915330bd02cfa5c81ba993c185c6cc320180327-11-iu1vxa.bin
[0a025e5f-02b5-479e-89f0-bdf3f7436678] Command :: file -b --mime '/tmp/d915330bd02cfa5c81ba993c185c6cc320180327-11-iu1vxa.bin'
[0a025e5f-02b5-479e-89f0-bdf3f7436678] [paperclip] Trying to link /tmp/d915330bd02cfa5c81ba993c185c6cc320180327-11-1hgr6rf.jpeg to /tmp/d915330bd02cfa5c81ba993c185c6cc320180327-11-1cosnns.bin
[0a025e5f-02b5-479e-89f0-bdf3f7436678] Command :: file -b --mime '/tmp/d915330bd02cfa5c81ba993c185c6cc320180327-11-1cosnns.bin'
[0a025e5f-02b5-479e-89f0-bdf3f7436678] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms)
[0a025e5f-02b5-479e-89f0-bdf3f7436678] method=POST path=/api/v1/media format=*/* controller=Api::V1::MediaController action=create status=422 duration=78.62 view=6.97 db=1.92
I've confirmed I can upload images via the web interface.
Hello, i'm hosting an instance of Mastodon but when i use Amaroq, i can't upload picture, i've got this error :
Failed to post status with error: Media upload failure
Any way to find how i can solve that ?