You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
In my instance I specify GITSYNC_ROOT = /bitnami/gitsync. According this all actions with git hash (change, update) must perform at the /bitnami/gitsync path. But I encountered with next problem: my gitsync instance try to work with git stuff files at /gitsync/ directory. So in logs I met circling errors:
{"logger":"","ts":"2023-12-08 11:54:49.235889","caller":{"file":"main.go","line":1624},"level":0,"msg":"worktree failed checks or was empty","path":"/gitsync/.worktrees/3abb97bee2cd587231968a0cbc6b3d700898b266"}
{"logger":"","ts":"2023-12-08 11:54:49.727507","caller":{"file":"main.go","line":1682},"msg":"can't change stale worktree mtime","error":"mkdir /gitsync: permission denied","path":"/gitsync/.worktrees/3abb97bee2cd587231968a0cbc6b3d700898b266"}
Logically these checks must perform at dir, specified at GITSYNC_ROOT variable. But it seems like it try to
Gitsync works inside k8s sidecar and runs like none root user. User 1001 cant create nothing at / as he is none root user. And as I understand he does not need it at all (because /bitnami/gitsync is his workdir).
Also have to say that gitsync works correct and I have the problem with this logs only.
What should I do to escape this error?
The text was updated successfully, but these errors were encountered:
Hello!
In my instance I specify
GITSYNC_ROOT = /bitnami/gitsync
. According this all actions with git hash (change, update) must perform at the/bitnami/gitsync
path. But I encountered with next problem: my gitsync instance try to work with git stuff files at/gitsync/
directory. So in logs I met circling errors:{"logger":"","ts":"2023-12-08 11:54:49.235889","caller":{"file":"main.go","line":1624},"level":0,"msg":"worktree failed checks or was empty","path":"/gitsync/.worktrees/3abb97bee2cd587231968a0cbc6b3d700898b266"}
{"logger":"","ts":"2023-12-08 11:54:49.727507","caller":{"file":"main.go","line":1682},"msg":"can't change stale worktree mtime","error":"mkdir /gitsync: permission denied","path":"/gitsync/.worktrees/3abb97bee2cd587231968a0cbc6b3d700898b266"}
Logically these checks must perform at dir, specified at
GITSYNC_ROOT
variable. But it seems like it try toHere is piece of it's manifest:
Gitsync works inside k8s sidecar and runs like none root user. User 1001 cant create nothing at / as he is none root user. And as I understand he does not need it at all (because
/bitnami/gitsync
is his workdir).Also have to say that gitsync works correct and I have the problem with this logs only.
What should I do to escape this error?
The text was updated successfully, but these errors were encountered: