nextcloud / contacts

📇 Contacts app for Nextcloud
https://apps.nextcloud.com/apps/contacts
GNU Affero General Public License v3.0
569 stars 173 forks source link

Address Book HTTP 500 Error #3822

Open ghost opened 8 months ago

ghost commented 8 months ago

Describe the bug

On my family's Nextcloud server, we have a large address book shared between everyone in the household. Recently, it sort of disappeared. It still shows up in Evolution but fails to sync with this error:

Failed to get properties: HTTP error code 500 (Internal Server Error)

When I try to pull it up directly in Nextcloud, it doesn't show up at all under Contacts. Since Evolution is still getting some feedback, I assume the address book is still there but it's having troubles processing something in the address book.

Steps to reproduce

  1. Go to Contacts
  2. The contacts in the address book are missing.
  3. Click "Contacts settings"
  4. The address book isn't listed

Expected behavior

Address Book to show in Contacts and sync to Evolution.

Actual behavior

Address Book and its entries do not show up in Contacts or sync to Evolution

Contact version

5.5.2

Operating system

Linux 6.1.0-18-arm64 aarch64 (Debian Bookworm)

PHP engine version

Other

Web server

Apache (supported)

Database

PostgreSQL

Additional info

PHP: 8.2.7

My nextcloud.log is spammed with this message, I'm not sure if it's relevant:

{"reqId":"OaEnfdCWFe0gCnoCGq2E","level":1,"time":"February 23, 2024 22:18:30","remoteAddr":"Removed","user":"--","app":"no app in context","method":"REPORT","url":"/remote.php/caldav/calendars/Removed/Removed/","message":"Unable to generate a URL for the named route \"polls.page.index\" as such route does not exist.","userAgent":"Evolution/3.44.4","version":"28.0.1.1","exception":{"Exception":"Symfony\Component\Routing\Exception\RouteNotFoundException","Message":"Unable to generate a URL for the named route \"polls.page.index\" as such route does not exist.","Code":0,"Trace":[{"file":"/mnt/Removed/nextcloud/site/lib/private/Route/Router.php","line":380,"function":"generate","class":"Symfony\Component\Routing\Generator\UrlGenerator","type":"->"},{"file":"/mnt/Removed/nextcloud/site/lib/private/Route/CachingRouter.php","line":65,"function":"generate","class":"OC\Route\Router","type":"->"},{"file":"/mnt/Removed/nextcloud/site/lib/private/URLGenerator.php","line":103,"function":"generate","class":"OC\Route\CachingRouter","type":"->"},{"file":"/mnt/Removed/nextcloud/site/lib/private/NavigationManager.php","line":374,"function":"linkToRoute","class":"OC\URLGenerator","type":"->"},{"file":"/mnt/Removed/nextcloud/site/lib/private/NavigationManager.php","line":131,"function":"init","class":"OC\NavigationManager","type":"->"},{"file":"/mnt/Removed/nextcloud/site/apps/theming/lib/ThemingDefaults.php","line":199,"function":"getAll","class":"OC\NavigationManager","type":"->"},{"file":"/mnt/Removed/nextcloud/site/lib/private/legacy/OC_Defaults.php","line":271,"function":"getShortFooter","class":"OCA\Theming\ThemingDefaults","type":"->"},{"file":"/mnt/Removed/nextcloud/site/lib/public/Defaults.php","line":176,"function":"getLongFooter","class":"OC_Defaults","type":"->"},{"file":"/mnt/Removed/nextcloud/site/core/templates/layout.guest.php","line":51,"function":"getLongFooter","class":"OCP\Defaults","type":"->"},{"file":"/mnt/Removed/nextcloud/site/lib/private/Template/Base.php","line":180,"args":["/mnt/Removed/nextcloud/site/core/templates/layout.guest.php"],"function":"include"},{"file":"/mnt/Removed/nextcloud/site/lib/private/Template/Base.php","line":150,"function":"load","class":"OC\Template\Base","type":"->"},{"file":"/mnt/Removed/nextcloud/site/lib/private/legacy/OC_Template.php","line":139,"function":"fetchPage","class":"OC\Template\Base","type":"->"},{"file":"/mnt/Removed/nextcloud/site/lib/private/legacy/OC_Template.php","line":170,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/mnt/Removed/nextcloud/site/lib/private/Template/Base.php","line":132,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/mnt/Removed/nextcloud/site/lib/private/legacy/OC_Template.php","line":258,"function":"printPage","class":"OC\Template\Base","type":"->"},{"file":"/mnt/Removed/nextcloud/site/remote.php","line":85,"function":"printErrorPage","class":"OC_Template","type":"::"},{"file":"/mnt/Removed/nextcloud/site/remote.php","line":174,"function":"handleException"}],"File":"/mnt/Removed/nextcloud/site/3rdparty/symfony/routing/Generator/UrlGenerator.php","Line":144,"message":"Unable to generate a URL for the named route \"polls.page.index\" as such route does not exist.","exception":{},"CustomMessage":"Unable to generate a URL for the named route \"polls.page.index\" as such route does not exist."}}

ChristophWurst commented 8 months ago

Unable to generate a URL for the named route "polls.page.index" as such route does not exist."

https://github.com/nextcloud/polls

ghost commented 8 months ago

Unable to generate a URL for the named route "polls.page.index" as such route does not exist."

https://github.com/nextcloud/polls

Oh, I didn't see the polls part, thank you! I uninstalled the addon to stop the errors. No one was using it anyway. That did make it easier to find an error that is probably relevant:

{"reqId":"gaa64jbF1kZK5KZzovHc","level":3,"time":"February 27, 2024 23:36:28","remoteAddr":"removed","user":"removed","app":"webdav","method":"POST","url":"/remote.php/dav/bulk","message":"Unknown error while seeking content","userAgent":"Mozilla/5.0 (Linux) mirall/3.4.2-1ubuntu1 (Nextcloud, pop-6.6.10-76060610-generic ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"28.0.2.5","exception":{"Exception":"Sabre\DAV\Exception","Message":"Unknown error while seeking content","Code":500,"Trace":[{"file":"/mnt/raid1/nextcloud/site/apps/dav/lib/BulkUpload/MultipartRequestParser.php","line":133,"function":"isAt","class":"OCA\DAV\BulkUpload\MultipartRequestParser","type":"->"},{"file":"/mnt/raid1/nextcloud/site/apps/dav/lib/BulkUpload/BulkUploadPlugin.php","line":71,"function":"isAtLastBoundary","class":"OCA\DAV\BulkUpload\MultipartRequestParser","type":"->"},{"file":"/mnt/raid1/nextcloud/site/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPost","class":"OCA\DAV\BulkUpload\BulkUploadPlugin","type":"->"},{"file":"/mnt/raid1/nextcloud/site/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\DAV\Server","type":"->"},{"file":"/mnt/raid1/nextcloud/site/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\DAV\Server","type":"->"},{"file":"/mnt/raid1/nextcloud/site/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\DAV\Server","type":"->"},{"file":"/mnt/raid1/nextcloud/site/apps/dav/lib/Server.php","line":370,"function":"exec","class":"Sabre\DAV\Server","type":"->"},{"file":"/mnt/raid1/nextcloud/site/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\DAV\Server","type":"->"},{"file":"/mnt/raid1/nextcloud/site/remote.php","line":172,"args":["/mnt/raid1/nextcloud/site/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/mnt/raid1/nextcloud/site/apps/dav/lib/BulkUpload/MultipartRequestParser.php","Line":115,"message":"Unknown error while seeking content","exception":{},"CustomMessage":"Unknown error while seeking content"}}