dfir-iris / iris-web

Collaborative Incident Response platform
GNU Lesser General Public License v3.0
1.08k stars 184 forks source link

[alert] 1#1: unlink() "/var/run/nginx.pid" failed (13: Permission denied #523

Open denizciftci-sec opened 4 months ago

denizciftci-sec commented 4 months ago

Hi Team,

I was successfully build the newest version and having this error when start the docker-compose file. In order to fox the issues, I have applied chmod 755 -R for all the folders and sub folders/files - did not fix it at all.

Could you please assist me what should I do to fix this issue?

root@IRIS:/opt/iris-web# docker logs 981c7f969332 2024/07/08 08:02:27 [alert] 1#1: unlink() "/var/run/nginx.pid" failed (13: Permission denied)

file/folder permission from the docker container image ( I run all the processes (docker etc) with root user ) root@IRIS:/opt/iris-web/docker# docker exec -it 981c7f969332 /bin/sh $ ls -lrt total 8 -rw-rw-r-- 1 root utmp 0 Oct 11 2021 utmp drwxrwxrwt 2 root root 4096 Oct 11 2021 lock -rw-r--r-- 1 www-data www-data 2 Jul 8 08:02 nginx.pix

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAM ES b42e11708795 iriswebapp_app:v2.4.7 "./wait-for-irisweba…" 25 seconds ago Up 22 seconds iri swebapp_worker 981c7f969332 iriswebapp_nginx:v2.4.7 "/entrypoint.sh" 25 seconds ago Up 22 seconds (unhealthy) 80/tcp, 0.0.0.0:443->443/tcp iri swebapp_nginx 085bbc33e012 iriswebapp_app:v2.4.7 "nohup ./iris-entryp…" 28 seconds ago Up 24 seconds 127.0.0.1:8000->8000/tcp iri swebapp_app 1dc42473f915 rabbitmq:3-management-alpine "docker-entrypoint.s…" 30 seconds ago Up 27 seconds 4369/tcp, 5671-5672/tcp, 15671-15672/tcp, 15691-15692/tcp, 25672/tcp iri swebapp_rabbitmq 4adf2c4e94ce iriswebapp_db:v2.4.7 "docker-entrypoint.s…" 30 seconds ago Up 20 seconds 127.0.0.1:5432->5432/tcp iri swebapp_db

whikernel commented 1 month ago

Hello, is this issue still valid?