Skip to content

cannot set cache directory under /home #304

@Redhawk18

Description

@Redhawk18

Hi everyone, I have my system setup in a / and /home partition, and often times on apps that use large amounts of data I'll configure them to use a directory in /home I create for them. Like this

❯ ls -lah /home
total 52K
drwxr-xr-x  7 root    root   4.0K Dec 30 12:39 .
drwxr-xr-x  1 root    root    114 Sep 12 13:35 ..
drwxr-xr-x  2 atticd  atticd 4.0K Dec 30 12:39 attic
drwx--x--- 13 root    docker 4.0K Dec 30 12:27 docker
drwx------  2 root    root    16K Sep 11 15:12 lost+found
drwx------ 33 redhawk users  4.0K Dec 30 12:43 redhawk
drwxr-xr-x  2 root    root   4.0K Dec 29 00:06 tmp

I even made sure to set the folder to be owned by atticd With this config as well

{
  services.atticd = {
    enable = true;

    # Replace with absolute path to your environment file
    environmentFile = "/etc/atticd.env";

    settings = {
      listen = "[::]:47715";
      # storage = {
      #   type = "local";
      #   path = "/home/attic";
      # };

      jwt = { };
    };
  };
}

The problem is I keep getting these errors when I use the /home directory

❯ attic push poptart /run/current-system
▒ Pushing 16 paths to "poptart" on "local" (2534 already cached, 4885 in upstream)...
❌ x744z4ahr5qwvws7ng25pw2pdf1rcpc8-atticadm: InternalServerError: The server encountered an internal error or misconfiguration.
❌ 1vb7x2z1h6h4mrccw5gg8phxlhb2ffgb-unit-polkit.service: InternalServerError: The server encountered an internal error or misconfiguration.
❌ 8nqkqr89phg4q2yb41dvrmq8c6w6yxy3-nixos-system-PopTart-25.11.20251220.b3aad46: InternalServerError: The server encountered an internal error or misconfiguration.
❌ 5nrlpp1gijdin762346cvlmn9ybmyk6w-etc: InternalServerError: The server encountered an internal error or misconfiguration.
❌ apwcjb1xiihq4b1xidbfr87bd8lwyl6x-unit-accounts-daemon.service: InternalServerError: The server encountered an internal error or misconfiguration.
❌ cv1dyi3xn3379yfdnj97q8gndqrvzv0p-user-units: InternalServerError: The server encountered an internal error or misconfiguration.
❌ 1a2pl56vngp4azvbba7xxp1ag4d7c823-X-Restart-Triggers-polkit: InternalServerError: The server encountered an internal error or misconfiguration.
❌ a1wqal7lxi7jphv292wvf5bz838im11f-unit-dbus.service: InternalServerError: The server encountered an internal error or misconfiguration.
❌ hsbjkrjhn24a8miiqdp9rzlrzmvwcx73-unit-dbus.service: InternalServerError: The server encountered an internal error or misconfiguration.
❌ klprl4fd61y9y5q8k881nsxhnqzk9dly-unit-atticd.service: error sending request for url (http://localhost:47715/_api/v1/upload-path)
❌ zzsg0lpbjajkmj3c4az7c24bwyx25194-dbus-1: InternalServerError: The server encountered an internal error or misconfiguration.
❌ b27b4bprblnafgvbsdxy354pss3h9ypl-atticd-atticadm: InternalServerError: The server encountered an internal error or misconfiguration.
❌ jh6l5fj4ny2i283wxvb0hgj48srnpfbl-X-Restart-Triggers-dbus: InternalServerError: The server encountered an internal error or misconfiguration.
❌ 6pd9mpl8y9xh8m9vyhlmq6xs8xi2z1cw-checked-attic-server.toml: InternalServerError: The server encountered an internal error or misconfiguration.
❌ is4m79qibmizf8yjy9knd81fss3mybfi-system-units: InternalServerError: The server encountered an internal error or misconfiguration.
❌ qa4kf0yik9r0pndpsi2s2li9cifv4214-system-path: InternalServerError: The server encountered an internal error or misconfiguration.
Error: InternalServerError: The server encountered an internal error or misconfiguration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions