nsg / immich-distribution

Experimental Immich distribution inside a snap
MIT License
25 stars 0 forks source link

Unable to install it on a LXC container with snapd #203

Closed Peronia closed 2 months ago

Peronia commented 2 months ago

Question

Hi, I created a fresh LXC container on Proxmox and installed snapd. This worked fine, snap is also working. When I now start with the installment I got this:

root@host:~# snap install immich-distribution
error: cannot perform the following tasks:
- Run configure hook of "immich-distribution" snap if present (run hook "configure": aa_is_enabled() failed unexpectedly (No such file or directory): No such file or directory)

So he is missing a file but I don't know which. Can you help me?

Peronia commented 2 months ago

I figured it out by myself. The problem is not your app, it's snap. Snap uses apparmor, what is not available on LXC. This maybe can passed but this would not very suitable...