nextcloud / nextcloud/ios

iOS App cant stream videos if data dir is on a cifs share(AIO)

Open
#3,292 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. Setup an aio and use a mounted cifs share for data
  2. Upload a video
  3. Try to watch it
Expected behaviour

If i start a video in the app it should direclty start (if the latency is fine) and let me watch it.

Actual behaviour

If i start a video on my enviroment it loads 5-10 min for a 5 sec video and after that waiting period i can start it.

What i also tested it the follwing:

  • It works fine in the browser.
  • It works fine with the android app.
  • It works fine with the iOS App if i mount the cifs storage as external storage to another aio where data is on local storage.
  • It works not if i mount the cifs storage as external storage to my instance.
  • It works not if firewall is fully open/deactivated.
  • My system allows tls 1.2 and 1.3 from what i can see.
  • There is no error message displayed.
Logs

I deleted the log to get a fresh one but i think there is nothing related to the video display.

nextcloud.log

If applicable, you can post the iOS app or server logs (removing any sensitive information).

iOSlog.log

Reasoning or why should it be changed/implemented?

So playing videos is fully possible even with cifs shares.

Environment data

iOS version: e.g. iOS 17.6.1
18.1.1

Nextcloud iOS app version: see More > Settings
Nextcloud Hydrogen for iOS 6.2.3.1

Server operating system:
Ubuntu 24.04 LTS

Web server: Apache, nginx
Nextcloud AIO v10.4.0 (Apache/2.4.62 (Unix))

Database:
PostgreSQL 16.6

PHP version:
Depends on the container

Nextcloud version: see Nextcloud admin page
30.0.5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the attached iOSlog.log and nextcloud.log, then reproduce the issue with Nextcloud AIO using a CIFS-mounted data directory. Compare playback with local storage and the external-storage setup described in the report. Done means videos start promptly in the iOS app under the affected CIFS configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.