Skip to content

After updating to 2.9.0 no files, cant login anymore #2338

Closed

Description

@esackbauer

After updating:

  • I opened the owncloud app, it said something about broken folder, no files were shown.
  • I stopped the app and reset the all application data, when trying to login I get:
    "Die lokale Kopie konnte nicht umbenannt werden. Versuche es mit einem anderen neuen Namen."
    I try to translate:
    "The local copy couldnt be renamed. Try it with a different new name."

Steps to reproduce

  1. using my own server https://owncloud.xxx.xxx
  2. Server Version 10.0.10 from OwnCloud debian repository.
  3. logging in in Owncloud App with valid credentials produces error above

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

Environment data

Android version:
8.10
Device model:
Huawei P20
Stock or customized system:
Stock
ownCloud app version:
2.90
ownCloud server version:
10.0.10 with regular https certificate (not self-signed)

Logs

Web server error log

Insert your webserver log here

no log entries related to actions

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

No log entries related to actions

Activity

  1. garaznico commented on Nov 6, 2018

    @garaznico

    Same problem with my app.
    Android 7.0
    Huawei P9 lite

  2. esackbauer commented on Nov 6, 2018

    @esackbauer
    Author

    I tried the latest NextCloud app version 3.3.2, its working as expected

  3. chtronche commented on Nov 6, 2018

    @chtronche

    Same thing here.
    Huawei P20 lite
    Android 8
    Use to work until the app automatic update today
    No log on server

  4. michaelstingl commented on Nov 6, 2018

    @michaelstingl
    Contributor

    Could you check if this happens only with the updated app? (migration issue) Does a fresh install has the same issue? Maybe test on other device?

    Could you send a test account to apps<at>owncloud.com?

  5. esackbauer commented on Nov 6, 2018

    @esackbauer
    Author

    it happens also with the fresh install of the app.
    Test account sent

  6. garaznico commented on Nov 6, 2018

    @garaznico

    It happened with the updated app and with a fresh installation too.

  7. changed the title [-]After updating to 2.90 no files, cant login anymore[/-] [+]After updating to 2.9.0 no files, cant login anymore[/+] on Nov 6, 2018
  8. jesmrec commented on Nov 6, 2018

    @jesmrec
    Member

    all reporters have huawei devices, this can be a clue... but in my own huawei i can not reproduce with a fresh install. Also not reproduced with the test account after login. i will check with more devices, just in case.

  9. Jeroensum commented on Nov 7, 2018

    @Jeroensum

    Samsung S8 here, same issue. Nextcloud app works fine. Owncloud app had an error about unable to sync. All folders showed up empty. Did a clean reinstall now I get "Local copy could not be renamed; try a different name"

  10. michaelstingl commented on Nov 7, 2018

    @michaelstingl
    Contributor

    What login method do you use? Username and password or OAuth 2.0 (web view opens)?

    Could you check if you see the same behavior with the demo server?

    demo.owncloud.com
    user: test
    pw: test

    Or

    demo.owncloud.org
    user: test
    pw: test

  11. garaznico commented on Nov 7, 2018

    @garaznico

    I use login and password method. The demo server work forum me, maybe It can be an error with my username? Some local file on Android phone?

  12. michaelstingl commented on Nov 7, 2018

    @michaelstingl
    Contributor

    @garaznico thanks for the feedback. User admin and password admin also works on the demo servers. You could create a new user with a similar pattern like your user to check.

  13. jesmrec commented on Nov 7, 2018

    @jesmrec
    Member

    if any of you can send a screenshot with the app settings, it is useful to reproduce. Any important to take in account in server side? LDAP/AD users? all info about your environment to reproduce will be helpful

  14. esackbauer commented on Nov 7, 2018

    @esackbauer
    Author

    Demo server works for me.
    I use LDAP app on my server. The test account I gave you is not LDAP. I will create a new LDAP user account. Takes about 1 hour until I'm at my desk.

  15. jesmrec commented on Nov 7, 2018

    @jesmrec
    Member

    external storages?

  16. 11 remaining items

  17. jesmrec commented on Nov 7, 2018

    @jesmrec
    Member

    the problem is that we are sending the username in the initial PROPFIND. In case of an LDAP, at the point of the initial request we do not know yet which user id is used to identify (uid, username, email..), and we are supposing (wrongly) that this is the username. We will avoid the username in this kind of request and get the correct user id for all the ones in which it is needed.

    the issue is caused for this kind of servers (LDAP with different uid for users) and the switching endpoint for WebDAV. We will work on it to release the fix asap.

    Thanks @esackbauer @garaznico for your support, we will keep you informed here.

  18. garaznico commented on Nov 7, 2018

    @garaznico

    Thank you very much!

  19. self-assigned this
    on Nov 7, 2018
  20. added this to the 2.9.1 milestone on Nov 7, 2018
  21. davigonz commented on Nov 7, 2018

    @davigonz
    Contributor

    Thanks @esackbauer @garaznico @chtronche @Jeroensum for reporting this, we are working on a new release to include the hot fix, it will be most likely available tomorrow, please follow up #2340

  22. jesmrec commented on Nov 7, 2018

    @jesmrec
    Member

    @esackbauer , check your mail

  23. esackbauer commented on Nov 7, 2018

    @esackbauer
    Author

    Thank you all for the quick fix, it works now again with 2.9.1!

  24. jesmrec commented on Nov 8, 2018

    @jesmrec
    Member

    2.9.1 already in Google Play.

  25. hanibalp commented on Nov 8, 2018

    @hanibalp

    Hello,
    with new version 2.9.1 I still have the same problem
    "The local copy couldnt be renamed. Try it with a different new name."

  26. davigonz commented on Nov 9, 2018

    @davigonz
    Contributor

    Hi @hanibalp , which server version do you have?

  27. Jeroensum commented on Nov 9, 2018

    @Jeroensum

    Demo server works for me.

    I use username/password for my own installation.

  28. michaelstingl commented on Nov 9, 2018

    @michaelstingl
    Contributor

    @Jeroensum Did you already test the new 2.9.1? If this doesn't fix it, I'd assume your ownCloud server is too old. Old versions are no longer supported by the 2.9.x clients because it comes with a new networking library and new WebDAV library that doesn't support the old WebDAV endpoint.

  29. jesmrec commented on Nov 12, 2018

    @jesmrec
    Member

    Version 2.9 of Android app only supports server version 9.x and newer. I encourage you to upgrade your server version, and any question or problem about it, check it in the open forum or post there whatever you need: https://central.owncloud.org/

    If you don’t have the choice to upgrade your server, you can get the 2.8.0 version (the latest Android version that supports old server versions) from F-Droid. To get it, follow these steps:

    1. Install F-droid app from http://f-droid.org
    2. In F-droid app, tap on “Settings”, placed in the bottom bar.
    3. Tap on “Repositories”
    4. Enable the option “F-Droid Archive”
    5. Go back to the F-Droid main screen, and search for ownCloud by using the lens icon on the floating button
    6. Scroll down, and in “versions”, get the 2.8.0 version

    Let us know any problem or suggestion you have.

  30. hanibalp commented on Nov 12, 2018

    @hanibalp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions