mirror of
https://github.com/open-webui/oikb.git
synced 2026-11-05 01:27:25 +00:00
[PR #50] [MERGED] Handle missing Nextcloud folders gracefully (HTTP 404) #92
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/oikb#92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/oikb/pull/50
Author: @cero1988
Created: 6/14/2026
Status: ✅ Merged
Merged: 7/17/2026
Merged by: @tjbck
Base:
main← Head:patch-1📝 Commits (1)
021ab15Handle missing Nextcloud folders gracefully (HTTP 404)📊 Changes
1 file changed (+8 additions, -1 deletions)
View changed files
📝
src/oikb/connectors/nextcloud.py(+8 -1)📄 Description
While syncing a Nextcloud source, a single missing folder currently aborts the entire sync process:
PROPFIND ... failed: HTTP 404
This can happen when:
a configured folder has been deleted or renamed;
a shared folder is no longer available;
permissions change between sync runs.
Proposed change:
Catch HTTPStatusError with status code 404 during folder traversal (_walk_folder). Log a warning indicating that the folder was skipped. Continue processing the remaining folders/files instead of failing the whole synchronization job.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.