Can't create folders to download models
LocalAI version: (Container) Version: v4.11.0 Revision: 1.1.40
Environment, CPU architecture, OS, and Version: Truenas Scale community edition 26.0.0-MASTER+20260702-020147
Describe the bug
Whenever I try to download a model or backend, I get the following issue: Couldn't install modelfailed to create staging path: mkdir /backends/cpu-llama-cpp.install-tmp: permission denied
To Reproduce Go to models or backend and click install on any model/backend
Expected behavior It should be able to create missing folders, or should they already be created and writable
The error occurs while creating /backends/cpu-llama-cpp.install-tmp, before the backend download can be staged. The process needs permission to create directories in its configured /backends mount.
Please share the container's effective UID/GID, the owner and permissions of /backends inside the container, and the TrueNAS dataset mount settings (including whether the mount is read-only and any ACL). Also include the exact image tag/digest and app run-as settings. These details will distinguish a dataset permission mismatch from an installation bug. If the dataset is read-only or grants access to a different UID, make the backend storage writable by the configured container user and retry.
Created https://github.com/truenas/apps/issues/6233 568 is the user. Default is Allow/Modify perms. On my Backend, I gave 568 full control. It still has the error: failed to create staging directory: mkdir //downloading: permission denied
3. Created https://github.com/truenas/apps/issues/6233 568 is the user. Default is Allow/Modify perms. On my Backend, I gave 568 full control. It still has the error: failed to create staging directory: mkdir //downloading: permission denied
Let's hope the issue will be fixed either way
I think those are two different issue. : mkdir /backends/... simply expects the process user to own /backends.
while //downloading is a broken path missing it's basedir and afaik was introduced in 4.12.x