Skip to content

Error with Nextcloud feed #1085

@jurgenhaas

Description

@jurgenhaas

Describe the Bug

The Nextcloud feed is https://nextcloud.com/feed/ and it can be fetched and rendered without an issue in web browsers. But Hoarder is failing with this error message in the logs, every single time:

web-1  | 2025-03-02T09:00:56.127Z info: [feed][210952] Starting fetching feed "Nextcloud" (ven5ljya6sjn976upalakb2h) ...
web-1  | 2025-03-02T09:00:56.878Z info: [feed][210952] Successfully fetched feed "Nextcloud" (ven5ljya6sjn976upalakb2h) ...
web-1  | 2025-03-02T09:00:56.888Z info: [feed][210952] Found 10 entries in feed "Nextcloud" (ven5ljya6sjn976upalakb2h) ...
web-1  | 2025-03-02T09:00:56.888Z error: [feed][210952] Feed fetch job failed: TypeError: Cannot read properties of null (reading 'constructor')
web-1  | TypeError: Cannot read properties of null (reading 'constructor')
web-1  |     at is (/app/apps/workers/node_modules/.pnpm/drizzle-orm@0.38.3_better-sqlite3@11.3.0/node_modules/drizzle-orm/entity.cjs:40:41)
web-1  |     at bindIfParam (/app/apps/workers/node_modules/.pnpm/drizzle-orm@0.38.3_better-sqlite3@11.3.0/node_modules/drizzle-orm/sql/expressions/conditions.cjs:53:117)
web-1  |     at /app/apps/workers/node_modules/.pnpm/drizzle-orm@0.38.3_better-sqlite3@11.3.0/node_modules/drizzle-orm/sql/expressions/conditions.cjs:116:60
web-1  |     at Array.map (<anonymous>)
web-1  |     at inArray (/app/apps/workers/node_modules/.pnpm/drizzle-orm@0.38.3_better-sqlite3@11.3.0/node_modules/drizzle-orm/sql/expressions/conditions.cjs:116:49)
web-1  |     at Object.run (/app/apps/workers/feedWorker.ts:3:2042)
web-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
web-1  |     at async Runner.runOnce (/app/apps/workers/node_modules/.pnpm/liteque@0.3.2_better-sqlite3@11.3.0/node_modules/liteque/dist/runner.js:2:2656)

Steps to Reproduce

Add the Nextcloud feed https://nextcloud.com/feed/ to the user's subscriptions and try fetching it. The logs will be shoing the above error message and no articles will be displayed.

Expected Behaviour

The articles from the feed should be imported.

Screenshots or Additional Context

No response

Device Details

Ubuntu Server 22.04 with latest Docker

Exact Hoarder Version

v0.22.0

Have you checked the troubleshooting guide?

  • I have checked the troubleshooting guide and I haven't found a solution to my problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpri/highHigh priority issuestatus/approvedThis issue is ready to be implemented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions