[Help] Contacts app 1.5.3 not working under nextcloud 11.0.3?

Hello, I just upgraded from owncloud 8.2.3 through the major releases to nextcloud 11.0.3
Unfortunately the contacts app (1.5.3) is not working: contacts are not loaded, screen shows “spinning wheel”. I have no blanks in my user name.

Is there still a bug in the contact app? How can I make this work?
btw, the contacts are still accessible via dav (e.g. via mobile phone, or thunderbird).
Thanks for your help!
winnie_ld

If you updated all the apps, it can be worth trying to empty your cache to avoid that some old code is loaded from there. Or try a different browser. If the problem persists, check developer tools for missing resources (and/or your nextcloud logfile).

Hello,
thank you for your suggestions.
I tried different browsers, always the same “spinning wheel” and “No contacts found”.
The log says:
Sabre\VObject\ParseException: Invalid Mimedir file. Line starting at 8 did not follow iCalendar/vCard conventions
/var/www/virtual/winfold/owncloud.winhart.info/3rdparty/sabre/vobject/lib/Parser/MimeDir.php - line 234: Sabre\VObject\Parser\MimeDir->readProperty(’;=Meyer Klaus;=…’)
/var/www/virtual/winfold/owncloud.winhart.info/3rdparty/sabre/vobject/lib/Parser/MimeDir.php - line 181: Sabre\VObject\Parser\MimeDir->parseLine(’;=Meyer Klaus;=…’)
/var/www/virtual/winfold/owncloud.winhart.info/3rdparty/sabre/vobject/lib/Parser/MimeDir.php - line 89: Sabre\VObject\Parser\MimeDir->parseDocument()
/var/www/virtual/winfold/owncloud.winhart.info/3rdparty/sabre/vobject/lib/Reader.php - line 46: Sabre\VObject\Parser\MimeDir->parse(‘BEGIN VCARD\r\nVE…’, 0)
/var/www/virtual/winfold/owncloud.winhart.info/3rdparty/sabre/dav/lib/CardDAV/Plugin.php - line 855: Sabre\VObject\Reader read(‘BEGIN VCARD\r\nVE…’)
/var/www/virtual/winfold/owncloud.winhart.info/3rdparty/sabre/dav/lib/CardDAV/Plugin.php - line 494: Sabre\CardDAV\Plugin->convertVCard(‘BEGIN VCARD\r\nVE…’, ‘vcard3’)
/var/www/virtual/winfold/owncloud.winhart.info/3rdparty/sabre/dav/lib/CardDAV/Plugin.php - line 203: Sabre\CardDAV\Plugin->addressbookQueryReport(Object(Sabre\CardDAV\Xml\Request\AddressBookQueryReport))
[internal function] Sabre\CardDAV\Plugin->report(’{urn ietf param…’, Object(Sabre\CardDAV\Xml\Request\AddressBookQueryReport), ‘addressbooks/us…’)
/var/www/virtual/winfold/owncloud.winhart.info/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/var/www/virtual/winfold/owncloud.winhart.info/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 718: Sabre\Event\EventEmitter->emit(‘report’, Array)
[internal function] Sabre\DAV\CorePlugin->httpReport(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/virtual/winfold/owncloud.winhart.info/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105: call_user_func_array(Array, Array)
/var/www/virtual/winfold/owncloud.winhart.info/3rdparty/sabre/dav/lib/DAV/Server.php - line 479: Sabre\Event\EventEmitter->emit(‘method REPORT’, Array)
/var/www/virtual/winfold/owncloud.winhart.info/3rdparty/sabre/dav/lib/DAV/Server.php - line 254: Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))
/var/www/virtual/winfold/owncloud.winhart.info/apps/dav/lib/Server.php - line 231: Sabre\DAV\Server->exec()
/var/www/virtual/winfold/owncloud.winhart.info/apps/dav/appinfo/v2/remote.php - line 30: OCA\DAV\Server->exec()
/var/www/virtual/winfold/owncloud.winhart.info/remote.php - line 165: require_once(’/var/www/virtua…’)
{main}

What can I do about this?

Can you post your browser log too please?

Hi, here’s what the browser says:

JQMIGRATE: Migrate is installed, version 1.4.0
/remote.php/dav/addressbooks/users/winnie/florianwinhart/ Failed to load resource: the server responded with a status of 500 (Internal Server Error)
dav.js?v=97be341…:3649 Uncaught (in promise) Error: Bad status: 500
at XMLHttpRequest.request.onreadystatechange (dav.js?v=97be341…:3649)
dav.js?v=97be341…:3649 Uncaught (in promise) Error: Bad status: 500
at XMLHttpRequest.request.onreadystatechange (dav.js?v=97be341…:3649)

Does that help? Do you need more information?
Thank you in advance, winnie_LD

Okay, the server is refusing the request, could you post the server response, you can found it on the network tab, click the failing request (error 500, should be red) :slight_smile:

Thank you for your response. Unfortunately, I don’t have a network tab. Where can I find it?
Here’s the log from today:

Error note (appears in the nextcloud header):
[object Object]

log:
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. at Unknown#0 2017-08-15T20:48:51+0200
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. at Unknown#0 2017-08-15T20:36:50+0200
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. at Unknown#0 2017-08-15T20:24:49+0200
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. at Unknown#0 2017-08-15T20:12:48+0200
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. at Unknown#0 2017-08-15T20:00:47+0200
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. at Unknown#0 2017-08-15T19:48:46+0200
Fatal webdav Sabre\VObject\ParseException: Invalid Mimedir file. Line starting at 13 did not follow iCalendar/vCard conventions 2017-08-15T19:41:05+0200
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. at Unknown#0 2017-08-15T19:36:45+0200
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. at Unknown#0 2017-08-15T19:24:44+0200
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. at Unknown#0 2017-08-15T19:12:43+0200
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. at Unknown#0 2017-08-15T19:00:42+0200
Error PHP Module ‘redis’ already loaded at Unknown#0 2017-08-15T18:57:21+0200
Error PHP Module ‘redis’ already loaded at Unknown#0 2017-08-15T18:57:21+0200
Fatal webdav Sabre\VObject\ParseException: Invalid Mimedir file. Line starting at 13 did not follow iCalendar/vCard conventions 2017-08-15T18:57:03+0200
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. at Unknown#0 2017-08-15T18:48:41+0200
Error PHP Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set ‘always_populate_raw_post_data’ to ‘-1’ in php.ini and use the php://input stream instead. at Unknown#0 2017-08-15T18:36:40+0200
Error PHP Module ‘redis’ already loaded at Unknown#0 2017-08-15T18:27:15+0200
Error PHP Module ‘redis’ already loaded at Unknown#0 2017-08-15T18:27:15+0200
Error PHP Invalid argument supplied for foreach() at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Installer.php#395 2017-08-15T18:24:06+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:06+0200
Error PHP file_put_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#213 2017-08-15T18:24:06+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:06+0200
Error PHP Invalid argument supplied for foreach() at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Installer.php#395 2017-08-15T18:24:06+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:06+0200
Error PHP file_put_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#213 2017-08-15T18:24:06+0200
Error PHP Invalid argument supplied for foreach() at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Installer.php#395 2017-08-15T18:24:06+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:06+0200
Error PHP file_put_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#213 2017-08-15T18:24:06+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:05+0200
Error PHP Invalid argument supplied for foreach() at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Installer.php#395 2017-08-15T18:24:05+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:05+0200
Error PHP file_put_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#213 2017-08-15T18:24:05+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:05+0200
Error PHP Invalid argument supplied for foreach() at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Installer.php#395 2017-08-15T18:24:05+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:05+0200
Error PHP file_put_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#213 2017-08-15T18:24:05+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:05+0200
Error PHP Invalid argument supplied for foreach() at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Installer.php#395 2017-08-15T18:24:05+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:05+0200
Error PHP file_put_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#213 2017-08-15T18:24:05+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:05+0200
Error PHP Invalid argument supplied for foreach() at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Installer.php#395 2017-08-15T18:24:05+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:05+0200
Error PHP file_put_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#213 2017-08-15T18:24:05+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:05+0200
Error PHP Invalid argument supplied for foreach() at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Installer.php#395 2017-08-15T18:24:05+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:05+0200
Error PHP file_put_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#213 2017-08-15T18:24:05+0200
Error PHP file_get_contents(/var/www/virtual/winfold/owncloud.winhart.info/data/appdata_ocptw7wkqwav/appstore/apps.json): failed to open stream: No such file or directory at /var/www/virtual/winfold/owncloud.winhart.info/lib/private/Files/Storage/Local.php#209 2017-08-15T18:24:05+0200

Sorry for the delay. You can found it on your browser’s dev tools (F12 on chrome, Ctrl + Shift + E on firefox)

Thankyou!
Here’s what F12 tells me (Console):

JQMIGRATE: Migrate is installed, version 1.4.0
owncloud.winhart.info/ Failed to load resource: the server responded with a status of 500 (Internal Server Error)
dav.js?v=e35d6d265f7aa628b9e37557d27e474b:3649 Uncaught (in promise) Error: Bad status: 500
at XMLHttpRequest.request.onreadystatechange (dav.js?v=e35d6d265f7aa628b9e37557d27e474b:3649)
request.onreadystatechange @ dav.js?v=e35d6d265f7aa628b9e37557d27e474b:3649
dav.js?v=e35d6d265f7aa628b9e37557d27e474b:3649 Uncaught (in promise) Error: Bad status: 500
at XMLHttpRequest.request.onreadystatechange (dav.js?v=e35d6d265f7aa628b9e37557d27e474b:3649)

Perfect! Can you click the link in the console? Or open the network tab on the dev tools?
You need to search the request in the list that is in red with a code 500. You will found the response content after clicking on it :slight_smile:

Example: (I clicked a request with the 200 response code, but that’s the same idea)
Capture d’écran_2017-09-08_16-55-52

Capture d’écran_2017-09-08_16-56-19

Yes, I clicked on the first note:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
This leads me to the webdav interface
nothing happens

clicking on the second note,
dav.js?v=e35d6d265f7aa628b9e37557d27e474b:3649 Uncaught (in promise) Error: Bad status: 500
at XMLHttpRequest.request.onreadystatechange (dav.js?v=e35d6d265f7aa628b9e37557d27e474b:3649)
request.onreadystatechange @ dav.js?v=e35d6d265f7aa628b9e37557d27e474b:3649

leads to this:

Hello,

I have the same issue with Nextcloud 12.0.2.
It’s a fresh install and everything work nicely except Contact 1.5.3 (infinite looping spinning wheel).

I use Firefox so I don’t know wich information do you need in devlog.
Sorry for my bad english and thanks for all your great work !

After some tests, the app load successfuly with another (admin or not) account (create after this issue, on almost fresh install).
So it doesn’t work only on the first account.
Is it a problem with cache ?

@winnie_ld It’s because you’re in the console, not the network tab! :slight_smile:

@SqueeZen with the first account. You can do the same thing as I requested above, find the failing request in your logs. Firefox use the same kind of dev tools :wink:

Edit : image removed

Hello, is that right ?

And screenshots with second account, group.html load.

Edit : image removed

Thanks for your support. :wink:

Sorry no it’s not those requests. And the network tab on the right is the most important. Your screenshots contains sensitive information, I removed them. Please update your password on your nextcloud account. Sorry for the inconvenience.

I’ll suggest you two wait for the next contact release, and update the issue here if it’s still occurring. :slight_smile:

Sorry, and thank you for removing the picture. I checked for sensitive but couldn’t (and still can’t) find any. Where did you find sensitive information?

I’ll have my password altered and wait for the next update.

Thanks again!

The cookie. Someone can easily impersonate your account. :slight_smile: