Skip to content
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

Trouble with webdav sync on MIUI (Xiaomi) #637

Closed
alex9099 opened this issue Apr 17, 2020 · 7 comments
Closed

Trouble with webdav sync on MIUI (Xiaomi) #637

alex9099 opened this issue Apr 17, 2020 · 7 comments

Comments

@alex9099
Copy link

alex9099 commented Apr 17, 2020

Hey,

I'm trying to sync my local database with a nextcloud instance, but it looks like i'm having some trouble, this is are the logs on my webdav/nextcloud server:


IP - alexandre [17/Apr/2020:23:35:41 +0100] "PROPFIND /remote.php/dav/files/alexandre/ HTTP/1.1" 207 17904

IP - alexandre [17/Apr/2020:23:35:41 +0100] "HEAD /remote.php/dav/files/alexandre/somefolder/metadata.json HTTP/1.1" 404 -

IP - alexandre [17/Apr/2020:23:35:41 +0100] "HEAD /remote.php/dav/files/alexandre/someotherfolder/metadata.json HTTP/1.1" 404 -

But the problem seems to be that nothing is found, either i'm using the wrong link or... idk

The SyncAdapter file doesn't seem to be populated, i have activated debug

I would like to buy myexpenses (well, or do a direct donation :) ), i have used it quite a lot in the past, and now i will start using it again, though it would be nice to have syncing working

@alex9099
Copy link
Author

Just tested with another public instance of nextcloud and it doesn't seem to be working

@mtotschnig
Copy link
Owner

The problem might be that the web server does not allow HEAD requests. Could you send me a feedback request from the app's settings to let me understand which app version you are using.

@alex9099
Copy link
Author

alex9099 commented Apr 21, 2020

APP_VERSION:3.0.9.1 (revision 398) 20200324-1802 GITHUB com.google.android.packageinstaller
ANDROID_VERSION:10
BRAND:Xiaomi
MODEL:Mi 9T
CONFIGURATION:{"assetsSeq":0,"colorMode":10,"densityDpi":440,"fontScale":1,"hardKeyboardHidden":"HARDKEYBOARDHIDDEN_YES","keyboard":"KEYBOARD_NOKEYS","keyboardHidden":"KEYBOARDHIDDEN_NO","locale":"en_GB","mcc":268,"mnc":1,"navigation":"NAVIGATION_NONAV","navigationHidden":"NAVIGATIONHIDDEN_YES","orientation":"ORIENTATION_PORTRAIT","screenHeightDp":768,"screenLayout":"SCREENLAYOUT_SIZE_NORMAL+SCREENLAYOUT_LONG_YES+SCREENLAYOUT_LAYOUTDIR_LTR+SCREENLAYOUT_ROUND_NO","screenWidthDp":392,"seq":1,"smallestScreenWidthDp":392,"touchscreen":"TOUCHSCREEN_FINGER","uiMode":"UI_MODE_TYPE_NORMAL+UI_MODE_NIGHT_YES","userSetLocale":false,"windowConfiguration":"{ mBounds=Rect(0, 0 - 1080, 2340) mAppBounds=Rect(0, 0 - 1080, 2210) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0}"}

The version doesn't seem to be the most recent, it's the one on fdroid

The public instance of nextcloud I tried was wölkli one that was suggested on nextcloud's website

@mtotschnig
Copy link
Owner

I tested wölkli, and it works here. For a folder created at the root level called MeineAusgaben, the URL I use is https://cloud.woelkli.com/remote.php/dav/files/[email protected]/MeineAusgaben/

@alex9099
Copy link
Author

alex9099 commented Apr 21, 2020 via email

@mtotschnig
Copy link
Owner

Since you are using a Xiaomi device, please verify, that you are not hit by the problem described in #450 .

@alex9099
Copy link
Author

Screenshot_2020-04-22-10-14-03-809_org thoughtcrime securesms
Yeah, that was it, damn miui firmware... Always breaking stuff, hoping to get official lineageos soon :)

Anyway, perhaps you can put a warning for miui users to enable autostart?

@alex9099 alex9099 changed the title Trouble with WebDAV Trouble with webdav sync on MIUI (Xiaomi) Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants