nextcloud / nextcloud/android

Local file modifications not uploaded via 'open with'

Open
#14,650 1 comment 0 reactions 0 assignees View on GitHub
0. Needs triage bug
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. Download a PDF file for offline access
2. Right click or open Context menu
3. Click open with and select any local Android pdf editor
4. Anotate or otherwise edit the file and save
5. (Note the file saves with a (1) / (2) / (3) / etc appended to file name)
6. Check nextcloud uploads and note the newly saved file is not list as uploading or uploaded
7. Check nextcloud online and note the file has not been modified with the saved changes
8. Open the file again with a different PDF app selected during step 3 / open with
9. Notice that the app reflects file modifications made in the first PDF app, proving edits were indeed saved locally (confirmed this yesterday but was not able to reproduce today, Today, changes are not persisting from one app to another. Still not uploading to serving though)

### Expected behaviour

When modified file is saved it should be added to uploads list and sent back to server, or an error message displayed

### Actual behaviour

File Modifications seem to be saved locally as any Android app that is used to 'open with' will reflect all changes, but those changes are never uploaded

### Android version

15

### Device brand and model

Pixel 8 pro running GrapheneOS

### Stock or custom OS?

Custom (explain in "additional information")

### Nextcloud android app version

3.31.0

### Nextcloud server version

31

### Using a reverse proxy?

Yes

### Android logs

I do not currently have access to my laptop, i can add this soon

### Server error logs

```bash
Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 10:43:31 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 10:43:25 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 10:43:25 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 10:42:29 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 10:42:29 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 10:42:27 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 10:42:27 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 10:42:25 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 10:42:25 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 10:42:25 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 10:42:25 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 10:41:51 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt

Error richdocuments
ConnectException
cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nc.j64.uk/cool/convert-to/png
Failed to convert preview: cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nc.j64.uk/cool/convert-to/png

Mar 7, 2025, 2:21:35 PM

Error richdocuments
ConnectException
cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nc.j64.uk/cool/convert-to/png
Failed to convert preview: cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nc.j64.uk/cool/convert-to/png

Mar 7, 2025, 2:21:35 PM

Error richdocuments
ConnectException
cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nc.j64.uk/cool/convert-to/png
Failed to convert preview: cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nc.j64.uk/cool/convert-to/png

Mar 7, 2025, 2:21:35 PM

Error richdocuments
ConnectException
cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nc.j64.uk/cool/convert-to/png
Failed to convert preview: cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nc.j64.uk/cool/convert-to/png

Mar 7, 2025, 2:21:35 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 2:21:30 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 2:21:30 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 2:21:26 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 2:21:26 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 2:21:25 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 2:21:25 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 2:21:22 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 2:21:22 PM

Error no app in context
Exception
HMAC does not match.
Could not decrypt or decode encrypted session data

Mar 7, 2025, 2:21:20 PM

Error no app in context
```

### Additional information

Running graphene os

Log was too big to paste json, and could not straight copy to clipboard, so lasted two chunks

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.