[PR #470] [MERGED] Fix rootless Caddy data and configuration #780

Closed
opened 2025-10-07 00:22:14 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pocket-id/pocket-id/pull/470
Author: @eiqnepm
Created: 4/21/2025
Status: Merged
Merged: 4/21/2025
Merged by: @stonith404

Base: mainHead: main


📝 Commits (1)

  • 925b3a7 Fix rootless Caddy data and configuration

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 scripts/docker/entrypoint.sh (+5 -0)

📄 Description

Resolves the following errors when running rootless

Details

[
  {
    "level": "error",
    "ts": 1745222697.0053172,
    "msg": "unable to create folder for config autosave",
    "dir": "/.config/caddy",
    "error": "mkdir /.config: permission denied"
  },
  {
    "level": "warn",
    "ts": 1745222697.0052032,
    "logger": "tls",
    "msg": "unable to get instance ID; storage clean stamps will be incomplete",
    "error": "mkdir /.local: permission denied"
  },
  {
    "level": "error",
    "ts": 1745222697.0056646,
    "logger": "tls",
    "msg": "could not clean default/global storage",
    "error": "unable to acquire storage_clean lock: creating lock file: open /.local/share/caddy/locks/storage_clean.lock: no such file or directory"
  }
]


🔄 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/pocket-id/pocket-id/pull/470 **Author:** [@eiqnepm](https://github.com/eiqnepm) **Created:** 4/21/2025 **Status:** ✅ Merged **Merged:** 4/21/2025 **Merged by:** [@stonith404](https://github.com/stonith404) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`925b3a7`](https://github.com/pocket-id/pocket-id/commit/925b3a7323558943d3ea95d0ac12edd8c29944d1) Fix rootless Caddy data and configuration ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `scripts/docker/entrypoint.sh` (+5 -0) </details> ### 📄 Description Resolves the following errors when running rootless <details><summary>Details</summary> <p> ```json [ { "level": "error", "ts": 1745222697.0053172, "msg": "unable to create folder for config autosave", "dir": "/.config/caddy", "error": "mkdir /.config: permission denied" }, { "level": "warn", "ts": 1745222697.0052032, "logger": "tls", "msg": "unable to get instance ID; storage clean stamps will be incomplete", "error": "mkdir /.local: permission denied" }, { "level": "error", "ts": 1745222697.0056646, "logger": "tls", "msg": "could not clean default/global storage", "error": "unable to acquire storage_clean lock: creating lock file: open /.local/share/caddy/locks/storage_clean.lock: no such file or directory" } ] ``` </p> </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2025-10-07 00:22:14 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id#780