Lex van Roon
Lex van Roon
This is fixed by adding the proxy settings to `config_override.php`: ``` $sugar_config['proxy']['proxy_host'] = 'proxy.example.com'; $sugar_config['proxy']['proxy_port'] = 3128; ```
I ran into this issue again, and will do some more investigation. Will update this PR once I find something that works.
Sure thing! I have a dev instance running for exactly this purpose: ``` [dev][root@misp01:/root]↥ # docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 7dd975a6f8d7 git.aa.bb.cc:5050/docker/misp-core:10 "/entrypoint.sh" 4...
Diving into this deeper, I found the following error in `/var/log/supervisor/supervisord.log`: ``` 2024-03-11 13:45:58,097 INFO spawnerr: unknown error making dispatchers for 'default_00': EACCES 2024-03-11 13:45:58,098 INFO spawnerr: unknown error making...
> Is there anything we can do at `supervisor-job`'s definition time to fix this (since it seems to be related to stdout and permissions)? Imo, a workaround would be two-fold:...
> --maxExecutionTime 60 Sharp! Tried it, doesnt work. I will leave the current dev instance running for 24h and look again. I'm pretty sure it will work, but the proof...
Checked the logs after applying the workaround: ``` 2024-03-12 15:38:35,114 INFO exited: default_00 (exit status 0; expected) 2024-03-12 15:38:36,122 INFO spawned: 'default_00' with pid 4677 2024-03-12 15:38:37,239 INFO success: default_00...
Sure thing. See: https://github.com/MISP/misp-docker/pull/28
I spoke too soon. ``` 2024-03-13 12:05:12,520 WARN For [program:nginx], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored 2024-03-13 12:05:12,520 WARN For [program:php-fpm],...
Captured the EACCES using strace: ``` 373645 openat(AT_FDCWD, "/var/www/MISP/app/tmp/logs/misp-workers.log", O_WRONLY|O_CREAT|O_APPEND|O_CLOEXEC, 0666) = -1 EACCES (Permission denied) ```