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

Please add support for ownCloud 7/8 back into Version >=2.9.3 #2433

Closed
drtrigon opened this issue Feb 2, 2019 · 5 comments
Closed

Please add support for ownCloud 7/8 back into Version >=2.9.3 #2433

drtrigon opened this issue Feb 2, 2019 · 5 comments

Comments

@drtrigon
Copy link

drtrigon commented Feb 2, 2019

Actual behaviour

  • Installed the most recent version of the client (due to OS update to Android 7 etc.) and now I cannot setup an account anymore. It throws an error "Fehlerhafte Server Konfiguration". My server uses an own certificate I have to confirm first once.

Expected behaviour

  • I should be able to setup my account and use the client. The server configuration has not been changed and it used to work before. Also DAVx5 connections for contacts and calendar still work.

Steps to reproduce

  1. Try to setup your account - while testing the connection it throws the error mentioned and refuses to continue

Can this problem be reproduced with the official owncloud server? No
(url: https://demo.owncloud.org, user: test, password: test)

Environment data

Android version: Fairphone Open 18.10.0 (Android 7)

Device model: Fairphone 2

Stock or customized system: one of the stock systems

ownCloud app version: 2.9.3 (from fdroid)

ownCloud server version:

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here
@drtrigon
Copy link
Author

drtrigon commented Feb 2, 2019

As FolderSync for ownCloud 7/8 works I suspect it beeing an old protocol. Could you please add support for it back in? I used to be there...

@drtrigon drtrigon changed the title Version 2.9.3 refuses to connect to my server Please add support for ownCloud 7/8 back into Version >=2.9.3 Feb 3, 2019
@michaelstingl
Copy link
Contributor

@drtrigon the ownCloud Android client used an ancient networking library for a long time. The main issue with discussions was opened back in 2015. In 2018, the team invested heavily in fighting technical debt, so they started to migrate to the widely used OkHttp library and worked with the DAVx5 (former DAVdroid) community on a new WebDAV library.

The ownCloud server version 9.1 introduced a new WebDAV endpoint in 2016 (see release notes), and the advanced features, like reliable chunking, only work with the new endpoint.

Supporting both the new WebDAV endpoint and the old WebDAV endpoint would have meant doing the work twice in the replacement of the networking library and the new WebDAV library. Based on the fact, that pre-9.1 versions of the ownCloud server are EOL since 2017, , we decided to not do this effort.

You can download pre-2.9 versions through the F-Droid App, and there are many 3rd party tools that work well with the old WebDAV endpoint.

We did not a great job communicating this change. I'm very sorry for that, and I hope we'll do better in the future. Lessons learned.

@drtrigon
Copy link
Author

drtrigon commented Feb 9, 2019

Thanks for the intressting insights!

You can download pre-2.9 versions through the F-Droid App, and there are many 3rd party tools that work well with the old WebDAV endpoint.

What would you recommend? What app, what version?

@hannesa2
Copy link
Contributor

An other way could be to makes it yourself.

These are the recent tags
image
Checkout eg git checkout -b oc-android-2.8.0 oc-android-2.8.0 and build your own version, but of course, you have to handle the release keystore for your own.
This needs some extra work hannesa2@a6d8e4a I checked-in everything encrypted and Travis knows the password

@michaelstingl
Copy link
Contributor

What would you recommend? What app, what version?

2.8.0 works fine with the older ownCloud versions. It's in the “F-Droid Archive” repository. Also FolderSync you mentioned is an awesome app.

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

3 participants