Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Fail to configure account "xxx@xxxcom/nextcloud" #4

Closed
ernesst opened this issue Dec 6, 2017 · 3 comments
Closed

Fail to configure account "xxx@xxxcom/nextcloud" #4

ernesst opened this issue Dec 6, 2017 · 3 comments
Assignees

Comments

@ernesst
Copy link
Contributor

ernesst commented Dec 6, 2017

Currently we have the Nextcloud online account authentification working. However some persons experiment a problem during the discovering of the dav calendars only with Nextcloud online account.

Sync-monitor.log gives

the sync-monitor says something like:
Athenticated !!!
Fetching remote calendars (wait...)
Account with empty sources!: 0
Fail to configure account "xxx@xxxcom/nextcloud" 0
Account sync error "xxx@xxxcom/nextcloud" "nextcloud-caldav" "0"

In the file https://github.com/ubports/sync-monitor/blob/calDav/src/sync-account.cpp
line 908 :

    // Use well-known url that will re-direct to the correct path
    if (providerName().toLower() == "owncloud") {
        syncUrl += QStringLiteral("/remote.php/caldav");
}

I guess we should add a similar IF for nextcloud account in order to enable the caldav sync to fix it.

I cannot generate a PR as it's above my competencies.

Ps : I don't have this problem I guess because my server is configured with apache rewrite to remove index.php etc...

@mardy
Copy link
Member

mardy commented Dec 6, 2017

Thanks @ernesst, this looks like the reason for it! I'll prepare a fix for it!

@mardy mardy self-assigned this Dec 6, 2017
mardy added a commit to mardy/sync-monitor that referenced this issue Dec 12, 2017
This should be made controllable entirely via the .service file; I will
add a bug report for that.

Fixes: ubports#4
@mymike00
Copy link

mymike00 commented Oct 4, 2018

so, can this issue be closed?

@peat-psuwit
Copy link
Contributor

Hello,

Thank you for contributing to UBports. As part of project renaming and the effort to port Ubuntu Touch stack to Ubuntu 20.04, we're incrementally migrating repositories to GitLab.

Your issue is now migrated to:
https://gitlab.com/ubports/core/sync-monitor/-/issues/4

Sorry for your inconvenience.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants