Coder Social home page Coder Social logo

Comments (4)

michaellass avatar michaellass commented on July 4, 2024 1

Of course, this assumes you have access to the database, if you don't then I'm not really sure what you can do here as you can't even delete the contacts as they won't be showing in the contacts list.

For me, all contacts are shown correctly in the Contacts app and can be accessed. I think it is just the contacts menu (and maybe the global search) in the Nextcloud main interface that struggles with this.

from server.

ShivaSystem avatar ShivaSystem commented on July 4, 2024

I have exactly the same problem

from server.

pswilde avatar pswilde commented on July 4, 2024

I've been having this same problem, it's a real nuisance error message, but I don't think it has any real impact on anything - but I am certainly no expert!

Anyway, I think I've got rid of my error here by doing a bit of database admin:
I use postgres as db backend, but the basic statements should be the same.
first, find the properties that have a slash in them:

select * from oc_cards_properties where name = 'UID' and value like '%/%';

this will likely show you a list of contact properties where the UID contains a slash - take note of the "cardid" for them all
Then, take a record of the contact properties of the above:

select * from oc_cards_properties where cardid in ( ## a comma separated list of the ids from the previous select statement, i.e. 10,42,43... ## );

take note of this information, as you're going to delete the contact and re-add it
delete the problem contacts

delete from oc_cards_properties where cardid in (## comma separated id list as above ##);
# and #
delete from oc_cards where cardid in (## comma separated id list as above ##);

That should remove the problem contacts from the database, then just simply re-add the contacts from the nextcloud contacts front end - they should get added with correct UIDs without slashes

Of course, this assumes you have access to the database, if you don't then I'm not really sure what you can do here as you can't even delete the contacts as they won't be showing in the contacts list.

from server.

Armin-Gips avatar Armin-Gips commented on July 4, 2024

I also have no errors in the application. But the error log reports this error dozens of times!

from server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.