Call for testing - Android client version 1.5!

Hello Android Users :slight_smile:

After months of development, the proposed improvements for 1.5.0 are available for testing in the link below.

To touch on the extended wait for uploads (from a few minutes to up to 20) this is to reduce battery usage and improve reliability of uploads. During testing this may seem like a lot, however in real-world usage this is far less noticeable and resolves some of the earlier missed uploads I and a few others were seeing. In addition, all failed uploads are now automatically retried without intervention.

For those who need to manually override the scans for new files or force upload of failed attempts, there’s a new Expert mode in settings to unlock a menu in the uploads area with these options.

Your testing is critical to the development of the Nextcloud Android app, and installing the below shouldn’t impact your normal NC app installation.

Via GitHub:

3 Likes

For me the app crashes on every startup. Create server connection works and then it crashes always.

07-28 09:32:28.768 D/Debug (21803): start logging
07-28 09:32:28.779 D/ThumbnailsCacheManager(21803): create dir: /storage/emulated/0/Android/data/com.nextcloud.android.beta/cache/thumbnailCache
07-28 09:32:28.785 I/JobManager(21803): Found pending job request{id=2, tag=FilesSyncJob}, canceling
07-28 09:32:28.832 D/JobProxy21(21803): Schedule periodic (flex support) jobInfo success, request{id=3, tag=FilesSyncJob}, start 00:10:00, end 00:15:00, flex 00:05:00
07-28 09:32:28.859 V/FileDisplayActivity(21803): onCreate() start
07-28 09:32:28.866 W/art (21803): Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
07-28 09:32:28.872 D/FileDisplayActivity(21803): onCreate(Bundle) starting
07-28 09:32:28.932 I/AppCompatViewInflater(21803): app:theme is now deprecated. Please move to using android:theme instead.
07-28 09:32:29.060 V/FileDisplayActivity(21803): onCreate() end
07-28 09:32:29.064 D/FileDisplayActivity(21803): onStart() starting
07-28 09:32:29.089 D/NetworkUtils(21803): Searching known-servers store at /data/data/com.nextcloud.android.beta/files/knownServers.bks
07-28 09:32:29.097 D/OwnCloudClient #0(21803): Creating OwnCloudClient
07-28 09:32:29.097 D/FileDisplayActivity(21803): Initializing Fragments in onAccountChanged…
07-28 09:32:29.097 E/FileDisplayActivity(21803): Access to unexisting list of files fragment!!
07-28 09:32:29.097 E/FileDisplayActivity(21803): Still have a chance to lose the initializacion of list fragment >(
07-28 09:32:29.097 D/AccountUtils(21803): Restoring cookies for USER@SERVER
07-28 09:32:29.098 D/AccountUtils(21803): Restoring cookies for USER@SERVER
07-28 09:32:29.098 D/OwnCloudClient #1(21803): Creating OwnCloudClient
07-28 09:32:29.098 W/AccountManagerService(834): caller uid 10062 is different than the authenticator’s uid
07-28 09:32:29.098 D/AccountUtils(21803): Restoring cookies for USER@SERVER
07-28 09:32:29.099 E/RemoteOperation(21803): Error while trying to access to USER@SERVER
07-28 09:32:29.099 E/RemoteOperation(21803): java.lang.SecurityException: caller uid 10062 is different than the authenticator’s uid
07-28 09:32:29.099 E/RemoteOperation(21803): at android.os.Parcel.readException(Parcel.java:1546)
07-28 09:32:29.099 E/RemoteOperation(21803): at android.os.Parcel.readException(Parcel.java:1499)
07-28 09:32:29.099 E/RemoteOperation(21803): at android.accounts.IAccountManager$Stub$Proxy.getUserData(IAccountManager.java:692)
07-28 09:32:29.099 E/RemoteOperation(21803): at android.accounts.AccountManager.getUserData(AccountManager.java:344)
07-28 09:32:29.099 E/RemoteOperation(21803): at com.owncloud.android.lib.common.accounts.AccountUtils.restoreCookies(AccountUtils.java:300)
07-28 09:32:29.099 E/RemoteOperation(21803): at com.owncloud.android.lib.common.accounts.AccountUtils.restoreCookies(AccountUtils.java:342)
07-28 09:32:29.099 E/RemoteOperation(21803): at com.owncloud.android.lib.common.SingleSessionManager.getClientFor(SingleSessionManager.java:123)
07-28 09:32:29.099 E/RemoteOperation(21803): at com.owncloud.android.lib.common.DynamicSessionManager.getClientFor(DynamicSessionManager.java:40)
07-28 09:32:29.099 E/RemoteOperation(21803): at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:113)
07-28 09:32:29.099 E/RemoteOperation(21803): at com.owncloud.android.ui.activity.DrawerActivity$6.run(DrawerActivity.java:937)
07-28 09:32:29.099 E/RemoteOperation(21803): at java.lang.Thread.run(Thread.java:818)
07-28 09:32:29.100 D/AccountUtils(21803): Restoring cookies for USER@SERVER
07-28 09:32:29.102 W/AccountManagerService(834): caller uid 10062 is different than the authenticator’s uid
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): Generation of avatar for null failed
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): java.lang.SecurityException: caller uid 10062 is different than the authenticator’s uid
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at android.os.Parcel.readException(Parcel.java:1546)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at android.os.Parcel.readException(Parcel.java:1499)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at android.accounts.IAccountManager$Stub$Proxy.getUserData(IAccountManager.java:692)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at android.accounts.AccountManager.getUserData(AccountManager.java:344)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at com.owncloud.android.lib.common.accounts.AccountUtils.restoreCookies(AccountUtils.java:300)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at com.owncloud.android.lib.common.accounts.AccountUtils.restoreCookies(AccountUtils.java:342)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at com.owncloud.android.lib.common.SingleSessionManager.getClientFor(SingleSessionManager.java:123)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at com.owncloud.android.lib.common.DynamicSessionManager.getClientFor(DynamicSessionManager.java:40)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at com.owncloud.android.datamodel.ThumbnailsCacheManager$AvatarGenerationTask.doInBackground(ThumbnailsCacheManager.java:735)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at com.owncloud.android.datamodel.ThumbnailsCacheManager$AvatarGenerationTask.doInBackground(ThumbnailsCacheManager.java:708)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at android.os.AsyncTask$2.call(AsyncTask.java:292)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
07-28 09:32:29.103 E/ThumbnailsCacheManager(21803): at java.lang.Thread.run(Thread.java:818)
07-28 09:32:29.123 D/OwnCloudClient #2(21803): Creating OwnCloudClient
07-28 09:32:29.123 D/AccountUtils(21803): Restoring cookies for USER@SERVER
07-28 09:32:29.124 D/AccountUtils(21803): Restoring cookies for USER@SERVER
07-28 09:32:29.124 W/AccountManagerService(834): caller uid 10062 is different than the authenticator’s uid
07-28 09:32:29.125 E/RemoteOperation(21803): Error while trying to access to USER@SERVER
07-28 09:32:29.125 E/RemoteOperation(21803): java.lang.SecurityException: caller uid 10062 is different than the authenticator’s uid
07-28 09:32:29.125 E/RemoteOperation(21803): at android.os.Parcel.readException(Parcel.java:1546)
07-28 09:32:29.125 E/RemoteOperation(21803): at android.os.Parcel.readException(Parcel.java:1499)
07-28 09:32:29.125 E/RemoteOperation(21803): at android.accounts.IAccountManager$Stub$Proxy.getUserData(IAccountManager.java:692)
07-28 09:32:29.125 E/RemoteOperation(21803): at android.accounts.AccountManager.getUserData(AccountManager.java:344)
07-28 09:32:29.125 E/RemoteOperation(21803): at com.owncloud.android.lib.common.accounts.AccountUtils.restoreCookies(AccountUtils.java:300)
07-28 09:32:29.125 E/RemoteOperation(21803): at com.owncloud.android.lib.common.accounts.AccountUtils.restoreCookies(AccountUtils.java:342)
07-28 09:32:29.125 E/RemoteOperation(21803): at com.owncloud.android.lib.common.SingleSessionManager.getClientFor(SingleSessionManager.java:123)
07-28 09:32:29.125 E/RemoteOperation(21803): at com.owncloud.android.lib.common.DynamicSessionManager.getClientFor(DynamicSessionManager.java:40)
07-28 09:32:29.125 E/RemoteOperation(21803): at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:113)
07-28 09:32:29.125 E/RemoteOperation(21803): at com.owncloud.android.operations.common.SyncOperation.execute(SyncOperation.java:72)
07-28 09:32:29.125 E/RemoteOperation(21803): at com.owncloud.android.ui.activity.DrawerActivity$9.run(DrawerActivity.java:1299)
07-28 09:32:29.125 E/RemoteOperation(21803): at java.lang.Thread.run(Thread.java:818)
07-28 09:32:29.134 D/ExternalLinks(21803): links disabled
07-28 09:32:29.141 D/OwnCloudClient #3(21803): Creating OwnCloudClient
07-28 09:32:29.141 D/AccountUtils(21803): Restoring cookies for USER@SERVER
07-28 09:32:29.142 D/AccountUtils(21803): Restoring cookies for USER@SERVER
07-28 09:32:29.142 W/AccountManagerService(834): caller uid 10062 is different than the authenticator’s uid
07-28 09:32:29.142 E/RemoteOperation(21803): Error while trying to access to USER@SERVER
07-28 09:32:29.142 E/RemoteOperation(21803): java.lang.SecurityException: caller uid 10062 is different than the authenticator’s uid
07-28 09:32:29.142 E/RemoteOperation(21803): at android.os.Parcel.readException(Parcel.java:1546)
07-28 09:32:29.142 E/RemoteOperation(21803): at android.os.Parcel.readException(Parcel.java:1499)
07-28 09:32:29.142 E/RemoteOperation(21803): at android.accounts.IAccountManager$Stub$Proxy.getUserData(IAccountManager.java:692)
07-28 09:32:29.142 E/RemoteOperation(21803): at android.accounts.AccountManager.getUserData(AccountManager.java:344)
07-28 09:32:29.142 E/RemoteOperation(21803): at com.owncloud.android.lib.common.accounts.AccountUtils.restoreCookies(AccountUtils.java:300)
07-28 09:32:29.142 E/RemoteOperation(21803): at com.owncloud.android.lib.common.accounts.AccountUtils.restoreCookies(AccountUtils.java:342)
07-28 09:32:29.142 E/RemoteOperation(21803): at com.owncloud.android.lib.common.SingleSessionManager.getClientFor(SingleSessionManager.java:123)
07-28 09:32:29.142 E/RemoteOperation(21803): at com.owncloud.android.lib.common.DynamicSessionManager.getClientFor(DynamicSessionManager.java:40)
07-28 09:32:29.142 E/RemoteOperation(21803): at com.owncloud.android.lib.common.operations.RemoteOperation.execute(RemoteOperation.java:113)
07-28 09:32:29.142 E/RemoteOperation(21803): at com.owncloud.android.ui.activity.DrawerActivity$6.run(DrawerActivity.java:937)
07-28 09:32:29.142 E/RemoteOperation(21803): at java.lang.Thread.run(Thread.java:818)
07-28 09:32:29.144 D/OwnCloudClient #4(21803): Creating OwnCloudClient
07-28 09:32:29.144 D/AccountUtils(21803): Restoring cookies for USER@SERVER
07-28 09:32:29.145 D/AccountUtils(21803): Restoring cookies for USER@SERVER
07-28 09:32:29.146 W/AccountManagerService(834): caller uid 10062 is different than the authenticator’s uid
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): Generation of avatar for null failed
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): java.lang.SecurityException: caller uid 10062 is different than the authenticator’s uid
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at android.os.Parcel.readException(Parcel.java:1546)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at android.os.Parcel.readException(Parcel.java:1499)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at android.accounts.IAccountManager$Stub$Proxy.getUserData(IAccountManager.java:692)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at android.accounts.AccountManager.getUserData(AccountManager.java:344)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at com.owncloud.android.lib.common.accounts.AccountUtils.restoreCookies(AccountUtils.java:300)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at com.owncloud.android.lib.common.accounts.AccountUtils.restoreCookies(AccountUtils.java:342)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at com.owncloud.android.lib.common.SingleSessionManager.getClientFor(SingleSessionManager.java:123)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at com.owncloud.android.lib.common.DynamicSessionManager.getClientFor(DynamicSessionManager.java:40)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at com.owncloud.android.datamodel.ThumbnailsCacheManager$AvatarGenerationTask.doInBackground(ThumbnailsCacheManager.java:735)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at com.owncloud.android.datamodel.ThumbnailsCacheManager$AvatarGenerationTask.doInBackground(ThumbnailsCacheManager.java:708)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at android.os.AsyncTask$2.call(AsyncTask.java:292)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
07-28 09:32:29.147 E/ThumbnailsCacheManager(21803): at java.lang.Thread.run(Thread.java:818)
07-28 09:32:29.172 E/FileDisplayActivity(21803): Access to unexisting list of files fragment!!
07-28 09:32:29.172 V/FileDisplayActivity(21803): onResume() start
07-28 09:32:29.173 D/FileDisplayActivity(21803): onResume() starting

Android 5.1.1 cm-12.1 with latest sec patches. Nextcloud 11.0.3
Sony Xperia Z1 Compact. Is the app linked above the same as Nextcloud Dev app from f-droid store?

Micha

Using HTC ONE (9)
Android 7.0
NextCloud Server 12.0.0

Installed no problem. Liked the authentication check…
All Files: Propagated ok
Activities: All good
Favourites: Just keeps Loading! Never gets there…
Photos: Just Keeps Loading! Never gets there… Left it a while even though I don’t have a great number of pics on my server. No joy
Shared: All good. Loads up
All other items worked fine…

Recycled the power to see if the Photos and Favourites would behave but no change.
What’s Expert Mode in Settings?

Nice app.

Del

No :slight_smile:

I’ll ping @mario to keep tabs on this, but if I can also ask any issue relating to auto-upload you face you log against Issues · nextcloud/android · GitHub too that would be amazing.

Thanks!

While I did call only for testing the Auto Upload here, appreciate all the thoughts! Expert mode adds manual retry / scan controls in Uploads view and Logs view in settings for now. :slight_smile:

Seeks strange. While this really isn’t for testing (except for Auto Upload) I think @tobiasKaminsky did some work on cookies/authentication, so maybe he can take a look.

Sorry Mario

Got the app from here Call for testing - Android client version 1.5!
but clearly didn’t read it all…

Downloaded the app a couple of hours ago and been taking screenshots, pictures and downloads for a few hours now and every item has uploaded succesfully so far…

Del

No need to apologise, thanks for testing - you’re awesome! :slight_smile:

Btw. if you mail me mario AT nextcloud.com with test account on your server I can probably debug photos/favorites issues one of these days :slight_smile:

And then we’d miss out on other things that can be triaged for another dev/time :slight_smile: no point limiting the community’s drive to help :smiley:

Sure, but this is a special build that might have broken stuff that are usually not broken :stuck_out_tongue:

1 Like

Continually crashes on my Droid MAXX, Android 4.4.4

Do you have an error log?

I don’t have an error log, but I’m happy to get one.

If one was made, I can probably retrieve it from my phone.

I don’t know how to get one off hand from my phone.

James

I also tested the new Version. With Android 7 the old problem isn’t solved. The Uploadfunction doesn’t work. The nextcloud Server is Version 12.

I can not get any improvement in the Version from today (20170729). Only the Expertmode doesn’t exist. The Problem with autoupload (sync) for pictures its still existing. What is the problem for your programmers? Is this a problem with Android 7? Is there a problem with permissions? Is it a problem with the new nextcloud server?

Your Statements in the play store:
“Nextcloud 7. Juli 2017 Will be fixed in 1.5 - sorry for the trouble!”
" Nextcloud 7. Juli 2017 Please stay tuned for 1.5 - it will significantly improve auto upload. In case it does not for you, feel free to mail me directly - mario AT nextcloud.com. "

I doubt that with version 1.5 the sync problem for android 7 will be fixed.

For manually sync there are exists better tools for Android (e.g. Syncronize Ultimate, one tool for multiple Accounts).

What’s the problem? I’ve got three Android 7.x* devices here where autoupload is working fine. It takes up to 20 mins to get the uploads going but otherwise it’s doing what it should.

*7.0, 7.1, 7.1.2

Will you be releasing through the f-droid dev releases or is this separate?

You are using the wrong version. The post @JasonBayton made clearly points you to the APK that needs to be installed in order to test Auto Upload. You should NOT use F-droid version because it does NOT contain required changes.

I’m sorry that you doubt me/us, but we do our best and I strongly believe (based on feedback so far) that problems with auto upload reliability has been fixed.