[PR #2179] [MERGED] feat(doctor): add detailed file diagnostics for local storage #3979

Closed
opened 2026-03-22 14:58:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/2179
Author: @kolaente
Created: 1/30/2026
Status: Merged
Merged: 1/30/2026
Merged by: @kolaente

Base: mainHead: claude/enhance-doctor-file-diagnostics-OzbrI


📝 Commits (3)

  • 4298fe8 feat(doctor): add detailed file diagnostics for local storage
  • afb949e fix(doctor): resolve lint issues in file diagnostics
  • e27afa8 fix(doctor): check supplementary groups before flagging gid mismatch

📊 Changes

3 files changed (+180 additions, -0 deletions)

View changed files

📝 pkg/doctor/files.go (+87 -0)
📝 pkg/doctor/files_unix.go (+81 -0)
📝 pkg/doctor/files_windows.go (+12 -0)

📄 Description

When using local file storage, the doctor command now reports:

  • Whether the files directory exists
  • Directory permissions (octal mode)
  • Directory owner and group with uid/gid (Unix)
  • Ownership mismatch warning if Vikunja runs as a different user
  • Total number of stored files and their combined size

https://claude.ai/code/session_01Q4fLf7NGcRJh8LQ9fivpZh


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/2179 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 1/30/2026 **Status:** ✅ Merged **Merged:** 1/30/2026 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `claude/enhance-doctor-file-diagnostics-OzbrI` --- ### 📝 Commits (3) - [`4298fe8`](https://github.com/go-vikunja/vikunja/commit/4298fe8c507414feeaf55b28caedc9a015d7e64c) feat(doctor): add detailed file diagnostics for local storage - [`afb949e`](https://github.com/go-vikunja/vikunja/commit/afb949e69610205bc36604e22ff3ed8f83918036) fix(doctor): resolve lint issues in file diagnostics - [`e27afa8`](https://github.com/go-vikunja/vikunja/commit/e27afa8f352229163b2b4c4cd6e1297abbd4e0be) fix(doctor): check supplementary groups before flagging gid mismatch ### 📊 Changes **3 files changed** (+180 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `pkg/doctor/files.go` (+87 -0) 📝 `pkg/doctor/files_unix.go` (+81 -0) 📝 `pkg/doctor/files_windows.go` (+12 -0) </details> ### 📄 Description When using local file storage, the doctor command now reports: - Whether the files directory exists - Directory permissions (octal mode) - Directory owner and group with uid/gid (Unix) - Ownership mismatch warning if Vikunja runs as a different user - Total number of stored files and their combined size https://claude.ai/code/session_01Q4fLf7NGcRJh8LQ9fivpZh --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-22 14:58:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#3979