I’m encountering two strange issues when trying to upload videos using the Rocket.Chat iOS app (latest version: 4.59.0):
1. Video selection not available
When I tap the “+” button and choose “Choose from library”, only images are displayed — videos are not shown at all.
I tested this on my own server as well as on the open.rocket.chat workspace, and the behavior is the same in both cases.
2. Uploading a recorded video fails
If I record a video directly from the app, the upload starts but then fails with the message: Error uploading filename.jpg. Try again.
Interestingly, I was able to upload the same kind of video in the #general channel on open.rocket.chat. It had a .jpg extension as well, but it still showed up and played correctly (I later deleted the video).
Additional info
Audio messages and image uploads work fine.
Images sometimes appear rotated, but that’s a separate issue.
I’m using Rocket.Chat v7.5.1, deployed via Docker with MongoDB 6.0.13 on Ubuntu 20.04.
HTTPS is enabled via NGINX, which proxies my domain to port 3000. I used the default NGINX config from the official docs, only adjusting the domain and SSL certs.
File storage is set to GridFS. I previously tested the FileSystem option, but with that, no uploads worked at all.
Web uploads behavior
Uploading a video via Chrome on desktop works, although the resulting .webm file can’t be played on iPhone.
Uploading from the Rocket.Chat desktop app on Windows appears to work, but the file disappears after upload and is not sent.
true I need to upgrade to 22.04 at least, you’re right, I will, but as you say it won’t fix this.
the docker compose is untouched - I used the original one, same applies to nginx proxy settings.
the certificates are ok, I noticed that iOS is fussy…
how can I check that my websocket is working?
so you recommend to use FileSistem? is there any guide to set that up?
will it change the behaviour?
do you have an iPhone? do you see the videos in the media library when you access it from the app? I don’t see any…
thank you, especially for sending me again the things that you already posted! (I laughed at the RTFM…)
I did search for them, I might have searched with wrong keywords
I will try your suggestions and then revert - I’ll tell you even if it works
I noticed that in one of the instructions it talks about a nginx docker.
I’m running nginx on the host server, not in a docker - in case this changes anything.
shall I try to set up the reverse proxy with Traefik? does it work better with iOS devices, in your experience?
does everyone else see all their videos in the media library when they open it from the rockechat app? I’m seriously asking, because it doens’t show up in any of my iphones…
by the way, had I checked the NGINX logs on the server, it actually says that “client intended to send too large body”
that’s a lovely place, enjoy your holiday, but I still want to clear all my issues
yes that works now- files were too big before! now it works media library >> rocketchat both for videos and pictures.
last 2 issues.
why pictures are often rotated (90 or 180 degrees)?
I tried both settings, nothing changes here
on my iphone 12, when I record videos, they have audio, while on my iphone 15 they are silent… any idea on why this might happen? I checked the privacy settings on the iphone and the microphone is enabled (I can record audio messages)