Open yavorivanov-cw opened 1 year ago
Hi @yavorivanov-cw I just installed the Helm Chart in version 3.4.0 on empty k8s cluster and I can't see a message similiar to yours. Could you perhaps elaborate if you see the error in the pod-logs of the snipeit container?
I can only imagine it could be because of using ceph, maybe the default permissions are handled differently unless specified?
Hi I'm also facing the same issue with accesing the laravel.log
file using default helm chart configs.
Only thing I'm thinking, I'm on ARM infra, so maybe there is a change there?
EDIT: I'm not sure what changed, but now the pod is starting normally.
What changed:
-rw-r--r-- 1 docker staff 24K Mar 12 16:37 laravel.log
-rw-r--r-- 1 root root 24K Mar 12 16:37 laravel.log
What I suspect is that the initContainer/PVC were messing with the permissions somehow, I removed the initContainer and then everything started working. After I added it back and it kept on working
Hi @yavorivanov-cw I just installed the Helm Chart in version 3.4.0 on empty k8s cluster and I can't see a message similiar to yours. Could you perhaps elaborate if you see the error in the pod-logs of the snipeit container?
I can only imagine it could be because of using ceph, maybe the default permissions are handled differently unless specified?
Hi, we created our own chart and it is working since then, tbh I am not sure anymore what we changed, but we still use ceph
We are trying to install snipeit with helm on our k8s cluster but we are getting the following error:
The stream or file "/var/www/html/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied
Our values.yaml :
Our Chart.yaml
One workaround is to do
chmod 777 storage/logs/laravel.log
on fresh install but after that is almost impossible to do.