nextcloud / nextcloud/ios

Files in offline marked folders don’t get downloaded, wich means they aren’t available offline

Open
#3,495 0 comments 3 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. Create a folder
  2. Put some file in it
  3. Mark the folder as offline available (translated from german, idk how exactly this is called in the english version)
  4. The file in it gets downloaded and stored local as it should
  5. Create more files inside the folder
Expected behaviour

The new files should be downloaded and stored on the local device

Actual behaviour

The new files don’t get downloaded to device, just get shown as existing. When the device is offline the files can’t be opened although the folder its inside is marked as offline.

I made a Video showing the bug but the file upload failed so I created a YouTube Video: https://youtu.be/1YrEqeP2iFo?si=OZZKapmYA0iZOcOB
The Video shows the containments of the „Test“ Folder. Inside there is the „Test Folder 1“ with the „Some Test File.md“ File inside. Folder and File were created before marking the „Test“ Folder as offline.
The files „Text File.md“ and „This File Was Created On Another Device.md“ were created after that. While the „Some Test File.md“ file is stored locally (and marked as such) the other files aren’t. Refreshing the page, restarting the app or the whole server didn’t help. Like seen in the video the files also aren’t just mislabeled, they really aren’t available without internet connection.

This behavior is only on the iOS and iPadOS Client Apps, on Linux or Windows this kind of problem never happens (and if it would some day these apps have a button to start the sync manually, such a button maybe could also help here)

Environment data

iOS version: iOS 18.5, iPadOS 18.5

Nextcloud iOS/iPadOS app version: 6.6.3

Server operating system: Ubuntu Server 24.04.2 LTS

Web server: Apache

Database: PostgreSQL 16.8

PHP version: 8.3.20

Nextcloud version: Nextcloud Hub 9 (30.0.10)

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 reproducing the issue in the iOS or iPadOS client using the listed offline-folder steps and environment versions. Trace the offline synchronization behavior for files created after a folder is marked available offline; done means those files are downloaded and can be opened without an internet connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, 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.