nextcloud / nextcloud/android

"File not found" while attempting opening file after fresh install

Open
#12,667 0 comments 0 reactions 0 assignees View on GitHub
bug stable-3.28
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### ⚠️ Before posting ⚠️

- [X] This is a **bug**, not a question or an enhancement.
- [X] I've [searched for similar issues](https://github.com/nextcloud/android/issues) and didn't find a duplicate.
- [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [X] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).

### Steps to reproduce

1. Install nextCloud Android app.
2. Login to a/your server.
3. Try to open any file.
- Mind that you open the file with an external app (not an md, for instance, in nextCloud itself)
5. Whatever app you open, a "File not found" error will appear.

### Expected behaviour

File opens normally.

### Actual behaviour

File is reported by the opening app as "File not found" (or however else the exception is handled, like in ANYoffice, for instance, "Conversion failed!" -- obviously part of the "open"-process).

### Android version

11

### Device brand and model

Samsung Galaxy A30

### Stock or custom OS?

Stock

### Nextcloud android app version

3.28.0

### Nextcloud server version

28.0.3.2

### Using a reverse proxy?

I don't know

### Android logs
[logcat.txt](https://github.com/nextcloud/android/files/14551535/logcat.txt)

### Server error logs

_No response_

### Additional information

There are no server logs, after this process has once been done and the file can successfully be found on the local filesystem of the Android device (*/Android/media/com.nextcloud.client/@/*).

The following image is of (Google) Docs, but no (external) app works:
![image](https://github.com/nextcloud/android/assets/24974331/9b4e73f6-2ce8-4734-8c28-a0e40d75b4b4)

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.