nextcloud / nextcloud/ios

Can't access offline files when Nextcloud server is down

Open
#2,443 5 comments 0 reactions 1 assignee View on GitHub

@marinofaggiana is already working on this.

Since Nov 17, 2025.

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

Description

Steps to reproduce
  1. Host a self-hosted Nextcloud server on my local home network only
  2. Sync the files on the server with the Nextcloud iOS app
  3. Set the files on the phone as available offline
  4. Turn off the computer hosting the server
  5. Try to access the offline files on the phone, while leaving Wifi turned on
Expected behaviour

Files should open, since no network activity should be happening to open offline files.

Actual behaviour

Get an error that can't connect to 198.168.2.35 (the private IP address of my server on my home network).

Reasoning or why should it be changed/implemented?

I'm thinking of Nextcloud as a tool to sync my phone and computer. Once the files are synced to the phone, I should be able to access them without needing to turn off my network connection, for example if I leave my house and want to access them when I'm somewhere else.

Environment data

iOS version: iOS 16.4.1(a)

Nextcloud iOS app version: 4.8.0.5

Server operating system: Linux Mint

Web server: Nextcloud Snap package

Database:

PHP version:

Nextcloud version: 25.0.6

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.