-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Folder content not displayed (/Documents) getting "Server not available" seems to get unexpected server response #12005
Comments
similar issue here: |
I also have this issue, but for me it is randomly just one of the folders inside my InstantUpload folder that isn't working. Everything else seems fine. |
Same here than OP, on /e/OS (murena). Solved by downgrading to 3.25. |
Same for me on a Pixel 5a running CalyxOS. Will try downgrading to 3.25. If it helps troubleshoot, when I click Activities in the hamburger menu I can still see my recent changes, and can (sometimes) retrieve the file I'm looking for. So the app is connected to the server, just not showing it in the main folder view. |
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: Synchronized /Documents/: Unexpected exception
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:397)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.google.gson.Gson.fromJson(Gson.java:1227)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.google.gson.Gson.fromJson(Gson.java:1137)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.google.gson.Gson.fromJson(Gson.java:1047)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.google.gson.Gson.fromJson(Gson.java:982)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.owncloud.android.lib.common.network.WebdavEntry.<init>(WebdavEntry.kt:406)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.owncloud.android.lib.resources.files.ReadFolderRemoteOperation.readData(ReadFolderRemoteOperation.java:151)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.owncloud.android.lib.resources.files.ReadFolderRemoteOperation.run(ReadFolderRemoteOperation.java:88)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:205)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.owncloud.android.operations.RefreshFolderOperation.fetchAndSyncRemoteFolder(RefreshFolderOperation.java:405)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.owncloud.android.operations.RefreshFolderOperation.run(RefreshFolderOperation.java:239)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.owncloud.android.lib.common.operations.RemoteOperation.run(RemoteOperation.java:399)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at java.lang.Thread.run(Thread.java:1012)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path $
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:393)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:386)
10-07 08:47:44.530 28706 4394 E ReadFolderRemoteOperation: ... 12 more Seems to be caused by the above crash. Possibly fixed in v3.27.0 by nextcloud/android-library#1242 (and, potentially by running the latest 27.1.x server-side since the metadata has been adjusted a bit). |
This problem just showed up on my Pixel 6a device with version 3.27 where only certain folders gave this error. I have a OnePlus 7 Pro that doesn't have the same issue it would seem. Tried to recreate with both 3.26 and 3.27 on the OnePlus and couldn't get the problem to surface. Downgrading to 3.25 on the Pixel fixed the issue. Server side I'm on 28.0.1. Dare I say it's Pixel related? |
I'm having the same issue(s) with the exact same output in the logcat above. And indeed, it only affects certain folders. However, I can use another account without issue. Version 3.25 just works. |
Experiencing the same issues on 3.27.0 on Android 14, but with a different log output:
The issue does occur on iOS/iPadOS. Reverting back to 3.26.0 from F-Droid fixes the issue. |
In hindsight, this seems to be the same as #12379 (which is good because we know what is causing that). |
Fixed in nextcloud/android-library#1349 |
Steps to reproduce
Expected behaviour
Getting "Documents" folder contents displayed
Actual behaviour
Getting "Server not found" and no folder contents listed
Android version
14
Device brand and model
Google Pixel 7a
Stock or custom OS?
Stock
Nextcloud android app version
3.26.0
Nextcloud server version
27.1.2
Using a reverse proxy?
Yes
Android logs
Server error logs
No response
Additional information
Could not find any log files on android so I obtained these logs via adb logcat
Every other folder on the server works without any problems
The text was updated successfully, but these errors were encountered: