nextcloud / nextcloud/android

"Cannot upload null" with end-to-end encryption enabled

Open
#3,291 43 comments 1 reaction 0 assignees View on GitHub
approved bug E2E feature: encryption (client-side)
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### Actual behaviour
This notification is shown:
![notification: "Hochladen fehlgeschlagen – Cannot upload 'null'"](https://user-images.githubusercontent.com/11966684/48981482-5e444480-f0d6-11e8-918e-ca8157d25fe5.png)

And this is how it is shown in the recent uploads:
![uploadlist](https://user-images.githubusercontent.com/11966684/48981486-68664300-f0d6-11e8-8ef4-f759f7f55d5b.png)

### Expected behaviour
Upload file.

### Steps to reproduce
1. Setup e2e encryption on Android in the exact same app.
2. (Tried to) upload something in the dir in Nextcloud Desktop 2.5.0 on Fedora 29.
3. Access dir in Android app. It shows no files… :confused:
4. Now try to upload a small <500kB file.

### Environment data
Android version: LineageOS 14.1

Stock or customized system: custom

Nextcloud app version: 3.3.2 (F-Droid)

Nextcloud server version: 14

### Logs
#### Web server error log
I checked when the error occurred, no error logged here.

#### Nextcloud log (data/nextcloud.log)
I checked when the error occurred, nothing special in there.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.