-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Files can't be edited in Android NC client #3892
Comments
Have also problems to edit MD files in the app. Sometimes the Android App can open the file and sometimes it hangs in the loading process. I've seen a 404 for session fetch is this normal. NC 26 with the newest App |
@tobiasKaminsky I cannot see any hint on the direct editing related entries in the android log above. Also downloading looks like the client does not consider direct editing to be available, right? @Tux12Fun @meaz Can you maybe run the following curl and post the output against your Nextcloud servers?
|
The Response is: (Replaced the Domain with xxxxxxxxxxxxxxxx because I don't like to publish my RP4 Domain)
|
I notieced also if I create a new empy file in the Android App, the App is always unable to display the Text Editor and hangs in a never ending loding Process with this screen. Server Log
|
A second access delivers:
|
This issue is not limited to Android but also affects iOS. Maybe the title can be updated accordingly? |
With Nextcloud 26 the fetch endpoint should not be used anymore. It looks a bit like you have outdated javascript that is being loaded there for some reason. Can you double check that your instance is not in debug mode and if the files in apps/text/js/ are the same as the ones shipped in the actual Nextcloud 26 release bundle? |
I should have no mixed files from older versions. Yesterday I had the problem that NC 25.3 was not compatible with php8.2 and NC 26 was not installable due to the absence of php8. So I did the following mv nextcloud nextcloud.old Cleaned opcache and restarted nginx run occ upgrade command. So I have a complete fresh nextcloud instance without any old app related files. I ll test a reset of my nextcloud client app on the cellphone and give feedback if this fixes something |
Sorry, I was long. Here is what I get:
|
Thank you very for your hint. Resetting the App Nextcloud, deleting Data form
Delete App Data + Cache + Android System Webview |
@tobiasKaminsky Any idea why cleaning up the android app data would work? Anything you could think of where the direct editing from capabilities is cached and not properly outdated? |
No real idea. Caching is in place, but should be invalidated by server, right? |
I can confirm it has to be something that is stored on the android App/phone. The same issue on my girlfriends phone solved with the same procedure |
That doesn't
That doesn't fix anything on my side... |
Next step would be to write some temporary logging patch for server to trace back if the capabilities and direct editing classes are properly called. Then this could help to further narrow down the possible reasons why the clients are not able to open files. |
@meaz Can you mabye also post the output of |
here you go @juliushaertl (I couldn't copy and paste, so I attach a file) |
Thanks nothing suspicious in there as far as I see. Can you maybe also send the output of the following curl command towards your instance and user?
|
Here you go:
(don't know if you also needs headers...) |
Are you using server side encryption without a master key by any chance? #3762 (comment) |
yes we do: encryption is enabled with per-user keys |
@meaz Then this is expected behavior, sorry: nextcloud/ios#1340 (comment) |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The file should be editable.
Text app version:
3.6.0
Operating system:
debian stable
Web server:
nginx
Database:
mariadb 10.5.18
PHP version:
8.0
Nextcloud version:
25.0.3
Logs
Nextcloud log (data/nextcloud.log)
Nothing relevant, even when set to debug.
Browser log
adb logcat --pid=$(adb shell pidof -s 'com.nextcloud.client')
gives:when I click on the fileI want to edit on Nextcloud android client.
The text was updated successfully, but these errors were encountered: