Android app, unkown error occured when adding account (non-admin)

Hi to all,

when I’m login to the Nextcloud Android App with a user of the admin group all works fine, but when I’m login with a user which is not part of the admin group i get the message “Unkown error occured!”. The login with the Windows Client and on web interface works fine.

I have the lates Nextcloud Server 10.0.1 and I tryed the latest stable and beta Nextcloud App. On the server I have logging set to “all” but I can’t see no errors, even in the PHP error log there are no errors.

Is someone expiriencing the same problem?

Thanks in advance :slight_smile:

Manuel

Here a screenshot:

Hi @Manuel,
I am not experiencing this issue, but do you see anything in the Android client’s log (Settings–>Logs)? Other than that can you create a “demo” account and send a PM to @tobiasKaminsky and me, than we can debug this matter on the Android client.

cheers,
Andy

Hi Andy,

unfortunately I do not have the Log section under the settings page. How can I activate it?

I’ve send you a PM :slight_smile:

Thanks,
Manuel

@Manuel Could I ask you for the access logs once the android client connects? That would make analyzing this easier.

@tobiasKaminsky @Andy I think this is also related to the strange ocs URL you use in the android app to authenticate.

@MorrisJobke Do you need the access logs from the demo user or from a user where it works? In the meanwhile I send you the access logs from the demo user

@MorrisJobke at the moment one suspicion is that it is related to the legacy user info route in the android client:

https://github.com/nextcloud/android/issues/342

https://github.com/nextcloud/android-library/issues/18

PR: https://github.com/nextcloud/android-library/pull/21

As soon as jitpack does the build/publish I’ll test the change locally and then we can bring it into the beta app for testing. If all works out we might be able to pack it into the next stable release.

It seems to be the same problem. When the beta app is available I will test it.

Hi @Manuel just wanted to let you know in case you haven’t seen it already, the new beta is out :slight_smile:
https://f-droid.org/repository/browse/?fdfilter=com.nextcloud&fdid=com.nextcloud.android.beta

Hi @Andy,

no I havent’ seen it jet. Now I installed it and it works like a charm!

Thanks and have a nice day :wink:

Glad to hear that, we will also include the fix in the next stable release. Cc @tobiasKaminsky