fix(download): explain filesystem failures and prepare the import dir
A failing Files.createDirectories only produced the directory path in the log, which hid whether the music hostPath was read-only or owned by another user. Errors now include the exception type, cause and a hint about UID 10001, and permission or read-only failures fail immediately instead of retrying three times. The chart gets a prepare-imports init container (downloads.prepare) that creates "<music>/AudioManager Imports" and gives it to UID 10001, so downloads work on a hostPath owned by root. Chart version 0.2.4.
This commit is contained in:
1 parent
a5af1ee83f
commit
e7704c42ea
6 files changed
+114
-8
No files matched your search
@@ -46,6 +46,9 @@ data:
|
||||
# hostPath must be writable by the pod.
|
||||
downloads:
|
||||
enabled: true
|
||||
# Runs a root init container that creates "<music>/AudioManager Imports" and
|
||||
# gives it to UID 10001. Disable only if the hostPath is already writable.
|
||||
prepare: true
|
||||
# Empty uses the first music folder visible to the user.
|
||||
folderId: null
|
||||
|
||||
|
||||
Reference in new issue
Block a user