nextcloud / nextcloud/ios

can't download folder with "set as available offline"

Open
#1,391 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behaviour

folder will be downloaded for viewing offline

Actual behaviour

folder can't be downloaded its stuck on downloading

Steps to reproduce

i have folder with 21 directories and 1449 files (5.5g biggest file 1.2g)

Reasoning or why should it be changed/implemented?

i think it is a bug

iOS version

13.6.1

App version

3.0.4.11

Server configuration

Operating system:
Raspberry Pi OS
kernel: 5.4.51-v8+ aarch64
with docker

Web server:
docker image nextcloud:stable@sha256:30deb5ee4fc72199f0efe2ded1a426f6ec288c092a56ebaa82194e94501b6642

Database:
docker image postgres:11@sha256:23e692b619ddc37c656acfbcc41829bd9f0ee9e940df3a8bf04da6a5c9d7511e

PHP version:
docker image nextcloud:stable@sha256:30deb5ee4fc72199f0efe2ded1a426f6ec288c092a56ebaa82194e94501b6642

Nextcloud version: (see Nextcloud admin page)
docker image nextcloud:stable@sha256:30deb5ee4fc72199f0efe2ded1a426f6ec288c092a56ebaa82194e94501b6642
18.0.7

my whole stack look like this

version: '3.6'

services:
  db:
    image: postgres:11
    volumes:
    - db_data:/var/lib/postgresql/data
    environment:
      - POSTGRES_USER=nextcloud
      - POSTGRES_PASSWORD=nextcloud
      - POSTGRES_DB=notthis
    networks:
      - internal
    deploy:
      replicas: 1
      restart_policy:
        condition: on-failure
        delay: 5s

  redis:
    image: redis:alpine
    volumes:
      - redis_data:/data
    networks:
      - internal
    deploy:
      replicas: 1
      restart_policy:
        condition: on-failure
        delay: 5s

  cron:
    image: nextcloud:stable
    volumes:
      - nextcloud:/var/www/html
      - apps:/var/www/html/custom_apps
      - config:/var/www/html/config
      - data:/var/www/html/data
    entrypoint: /cron.sh
    networks:
      - internal
    deploy:
      replicas: 1
      restart_policy:
        condition: on-failure
        delay: 5s

  nextcloud:
    image: nextcloud:stable
    environment:
      - POSTGRES_USER=nextcloud
      - POSTGRES_PASSWORD=nextcloud
      - POSTGRES_DB=nextcloud
      - POSTGRES_HOST=db:5432
      - REDIS_HOST=redis
    volumes:
      - nextcloud:/var/www/html
      - apps:/var/www/html/custom_apps
      - config:/var/www/html/config
      - data:/var/www/html/data
    networks:
      - internal
      - external
      - traefik-net
    deploy:
      mode: replicated
      replicas: 1
      restart_policy:
        condition: on-failure
        delay: 5s
      labels:
        traefik.enable: "true"
        traefik.frontend.rule: "Host:${HOST}"
        traefik.port: 80
        traefik.docker.network: traefik-net
        traefik.frontend.headers.STSSeconds: 63072000
        traefik.frontend.headers.STSIncludeSubdomains: "true"
        traefik.frontend.headers.STSPreload: "true"
        traefik.frontend.redirect.permanent: 'true'
        traefik.frontend.redirect.regex: https://(.*)/.well-known/(card|cal)dav
        traefik.frontend.redirect.replacement: https://$$1/remote.php/dav/


volumes:
  db_data:
  redis_data:
  nextcloud:
  apps:
  config:
  data:


networks:
  external:
  internal:
    driver: overlay
    internal: true
  traefik-net:
    external: true

### Environment variables
# HOST

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

The payload names the Nextcloud iOS app and its “set as available offline” action, but no source file or test. Reproduce with a folder containing 21 directories and 1,449 files, then trace the iOS offline-download flow; done means the folder finishes downloading and is viewable offline.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.