-
Notifications
You must be signed in to change notification settings - Fork 46
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
Contacts 1.3.1 - Doesn't load (spinning wheel) #430
Comments
same here and I need to login for "sabre/dav" again! edit: I created a new user and login as this. Contact does load at this user. |
Not sure if that helps anyone (either in solving the problem or use it as a workaround) but: when I
when reenabling php cache I face the same problem again... spinning wheel of death 😉 |
I just had the same problem. This is what I've done:
This setup using Kaddressbook, the Contacts App and DAVdroid was working without problems since I set it up a month ago. Things that I noticed while I fixed all this (by deleting and recreating the address book over and over):
I'm not into the details of the vcf file format so I cannot say for sure if the vcf files of Kaddressbook with photos are actually well formed vCard 3.0 files or not. Nevertheless they seem to break OwnCloud's Contacts App. Here's the beginning of the PHOTO-Property: |
Bingo ! @Sora1248 👍 That's exactly what i have done with KDE's Kaddressbook... just messing things with photos, i'm pretty sure... Thank you anyway for the nice and detailed tip. P.S. vCards get imported/exported with incorrect Photo Format Type, but the contact app. in ownCloud shouldn't accept these vcards AMHO. |
Well, i'm thinking to start again from scratch, but after cleaning all the related tables in my database... Actually, i have these tables (7) that i think related to the contact app.
Is there anothers one's ?... (I want to delete completely all the tables related to contacts, they will be created again when i reinstall the app) Thank you ! |
Same problem with owncloud 9.0.2, also I cannot access with carddav because I get an error with davdroid (https://forums.bitfire.at/topic/1108/owncloud-invalid-mimedir-file). In the admin panel i have this error:
When i try to import a vcf file i get many errors on the browser console on dav.js. |
Any news for that problem? |
Same problem here. OC 9.0.2, Contacts 1.3.1, php 5.6. ACP enabled or disabled doesn't matter for me. Spinning wheel, no contacts shown. Export works ... |
+1 same problem. |
same issue, I will have to wait before I allow users to use this feature. |
I've got this for one user for some time (even previous versions), javasript spits out "TypeError: model.getProperty(...) is undefined" |
I removed version 9 of OC and installed version 8.2 from scratch and everything is working |
between OC 8.2 -> OC 9 there as a change in access, it was accessing the DB directly, now it uses carddav, so there's the problem usually (I already had one open issue for some bad characters breaking this, but it is still not all) |
The issue still exists on Owncloud 9.0.3 |
@4rensiker from reading your comment about disabling php cache, it sounds like the cache needs to be refreshed i.e. the old cache files should be deleted (something that just disabling and re-enabling may not do). I'm writing this from the top of the head, I have not experienced this problem (yet) so I can't help any further with it. |
Workaround: I exported all my contacts with the download button under settings in the web interface of this plugin into a vcf fle. Then I deleted all my contacts on my phone and synced my phone with the carddav account. Then I imported the previously exported vcf file over the webinterface of this plugin. All the contacts were listed correctly. After that I synced my phone again and everything was fine. Not nice, but it works now. Finally ... |
Correction: After logoff and login the issue is back :-( Spinning wheel again ... |
I had the same with the broken whitespace issue (#311). if you import broken contact, it gets to the database and is still displayed correctly. but when it has to be retrieved from the DB, it hangs. |
Same issue here. Nothing special in the logs. Debian 8, PHP7, OC9.02, all Caching done by Redis . |
For me the reason of "Spinning wheel" are accounts with space e.g. "Tom Moon", "Tester 2". Accounts without space works correctly e.g "TomMoon", "Tester2" |
For me it seems to be a browser version issue. I did some tests this weekend on the laptop of my wife and found out that she could view all the contacts without spinning wheel. Back on my laptop, logged in with my wife's owncloud account, I got the spinning wheel again. The difference between the laptops is, that I'm still using FF 29 (on windows) and my wife is up to date with FF 47 (on linux). So the problem seems to be on the client side, not on the server side ... |
For me accounts which have space in username not working at all. Neither on browser or Android CardDav. Accounts without space works great. |
@devmarxx, is there a reason you're using such an old version of Firefox? v29 is pretty old! FWIW, I don't get the spinning wheel, and at home I use the latest Pale Moon (forked from FF around v25 or 26), and at work I use Firefox 38 (Extended Support Release). |
I used FF 29 because I just love the Firefox Sync plugin for Owncloud. I didn't want to update all my devices with the about:config services.sync.username stuff to make Firefox Sync running on newer Firefoxes. I admit, I was lazy :-) Well, I did the update to FF 47 this morning on two machines (windows and linux) and everything works well for me. Firefox Sync works and no spinning wheel anymore in contacts. |
Ah, I use the ownCloud Mozilla Sync app as well! It works perfectly with Pale Moon, which still uses the older 1.1 sync. However, once you've connected to your ownCloud sync, you should be able to upgrade to a newer version of Firefox. I was able to connect using an older version of both Seamonkey (2.25) and Firefox (25) and then update them while keeping sync intact. Admittedly, I haven't regularly used Firefox in years, and I switched from Seamonkey to Pale Moon last year when SM development stagnated, so the absolute latest versions might not still be able to connect. |
I can see this spinning wheel with FF47.0 Only users with large address books or large address books and pictures are affected. |
can confirm that the problematic user has ~1100 contancts |
In a business scenario, people have many contacts by necessity. |
the problem happen also on nextcloud... I was hoping that the migration will fix that problem:
|
I further investigated another problem (owncloud/core#25535), which led to a solution. Seems so that there was an package update for debians php packages, which removed crucial packages. After reinstalling all php7 packages, a restart of the webserver and the upgrade to owncloud 9.0.4, the spinning wheel won't show up again. Maybe an update to owncloud 9.0.4 is not necessary. List of php packages:
|
I have the same issue with Nextcloud 11 (also in version 10 before the update I had the same issue). It would be awesome if the Contacts app would be fixed or at least would tell you which contact is broken / more info on what is wrong. Maybe this is the same issue as this one: |
What is also weird is that whenever I click on "add new" (Neuer Kontakt in German), I can see one of my two address books where there is definitely no image in the contacts as it's email addresses only. The phone book is not accessible, not even via SOGo Thunderbird connector or KAddressbook. |
This issue also occurs when you upgrade from nextcloud 10 to nextcloud 11! |
In admin console logs I can see following error: Fatal webdav Sabre\VObject\ParseException: Invalid Mimedir file. Line starting at 3 did not follow iCalendar/vCard conventions |
This is my exact logging whenever I try to open up the contacts app. `Fatal webdav Sabre\VObject\EofException: End of document reached prematurely
|
As I can see it is also impossible do the export of all the contacts for try to debug the problem... |
What I did to solve the issue on my end (just one affected account with ~250 entries): I synced my phone via DAVdroid (you can install it via f-droid.org) and got several errors, outputting a list with web addresses to the respective vcf-files. For me it has been 8 records with numerous string formats, nothing in common when it comes to specific fields or even the creation dates (2013-2016; about 5 different devices running various Android versions, ubuntu, windows etc. were part of the creation). |
Issue: Solution: Strange, however, as this entry is not shown in the web UI contacts app and does not exist in the contacts exported to a file. |
Did you retry with the newest version oC Server and Contacts app from app store? |
Actually for me is impossible to download and reupload the contacts for this bug, also I am using nextcloud offered from a service so I don't have access to the files and database. In the console I get: |
so there is an invalid vcard in your database ... maybe you have the chance to find out which one this is and fix/delete that one? |
@Mte90 the status code 500 indicates that you are facing a server side issue - server side logs would be great. I suspect that this is related to invalid vcards as well. Looks like we should find a mechanism to detect/fix invalid vcards. |
I get this in the log:
|
looks like a malformated vcard - a multi line image property is most probably missing a white space in the beginning and because of that identified as a new property and not as data belonging to the previous property. Maybe you can find out which vcard this is - we can then fix it manually to get your contacts up and running again. |
@Mte90 sorry if this was not clear - I mean grabbing the vcard data from the database. |
I am using a third-service so I cannot access to my db, if I had access I already fixed a clean install of contacts :-/ |
from my pov bugs need to be fixed - plain simple 😉 |
Hej guys, I'm following this discussion here since some days and as I'm also having this issue, I'm interested in a solution. It does not have very high prio for me, but I see this as a major issue in owncloud if there are incompatibilities with a format beeing used at multiple devices affecting unusability for the official extension, don't you? |
Ok I asked to my third part service to reset the DB for the contacts and I will upload them manually to see what create the issue. |
I am also affected by the issue on my instance. In my case I have watched an additional behaviour. You open the contacts app, the spinning wheel spins without stopping and on the right side it says "no contacts available". But if you click on the button "new contact" all the available contacts appear even when you cannot open them. |
The same happens in ownCloud 10. |
JS console says:
|
@mokkin what contacts version are you using? THX |
OC 10.0.2 |
identical problem here. Try to import vcard version 2.1 file. the import does not starts and the wheel is spinning. Example
|
Steps to reproduce
Expected behaviour
Contacts should appear.
Actual behaviour
Spinning wheel and never loads.
Server configuration
Linux
Apache2
Mysql
PHP 7.0.7
ownCloud 9.0.2
Contacts version 1.3.1
List of activated apps:
Enabled:
ownCloud log (data/owncloud.log)
I strongly suspect one or more bad record(s) in the database. But which one ?
The contacts app. should be more robust and should not accept bad records AMHO
The text was updated successfully, but these errors were encountered: