Skip to content

Conversation

@solracsf
Copy link
Member

@solracsf solracsf commented Oct 26, 2025

Summary

⚠️ UNIFIED SEARCH STOPPED WORKING

  1. Try a search (search never returns results)
  2. Observe search console (and Nextcloud error log)
image

Regression from #55657
Cc @artonge

Fixes:

# occ config:app:get dav system_addressbook_exposed
no
"Exception": "OCP\\Exceptions\\AppConfigTypeConflictException",
    "Message": "conflict with value type from database",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/lib/private/AppConfig.php",
        "line": 413,
        "function": "getTypedValue",
        "class": "OC\\AppConfig",
        "type": "->",
        "args": [
          "dav",
          "system_addressbook_exposed",
          "true",
          false,
          32
        ]
      },
      {
        "file": "/var/www/nextcloud/apps/dav/lib/CardDAV/ContactsManager.php",
        "line": 48,
        "function": "getValueBool",
        "class": "OC\\AppConfig",
        "type": "->",
        "args": [
          "dav",
          "system_addressbook_exposed",
          true
        ]
      },

Checklist

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@solracsf solracsf added this to the Nextcloud 32.0.2 milestone Oct 26, 2025
@solracsf solracsf requested a review from artonge October 26, 2025 17:29
@solracsf solracsf self-assigned this Oct 26, 2025
@github-actions github-actions bot changed the title fix(ContactsManager): Fix conflict with value type from database [stable32] fix(ContactsManager): Fix conflict with value type from database Oct 26, 2025
@solracsf
Copy link
Member Author

solracsf commented Oct 26, 2025

If this get merged, should be backported until stable28 like original commit d14c96b

PS: #55657 should also be reviewed (for master, not same codebase)

@solracsf solracsf added the high label Oct 27, 2025
@solracsf solracsf requested review from a team, leftybournes, salmart-dev and yemkareems and removed request for a team October 27, 2025 07:14
@susnux
Copy link
Contributor

susnux commented Oct 27, 2025

But this wrongly writes a string? This sounds more like there is a place where it explicitly is written as string (legacy app config writes as mixed which should be ok?), no?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants