Setting up wazuh-api (3.5.0-1) ...
==============================================================================================================
= Don’t forget to secure the API configuration by running the script /var/ossec/api/scripts/configure_api.sh =
==============================================================================================================
cp: cannot stat '/tmp/wazuh-api/api/configuration/auth/user': No such file or directory
dpkg: error processing package wazuh-api (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (229-4ubuntu21.4) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
wazuh-api
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can't find anything in the logs, and :
# ll /tmp/wazuh-api/api/configuration/
total 16
drwxr-x--- 3 root ossec 4096 Aug 19 23:22 ./
drwxr-x--- 3 root ossec 4096 Aug 19 23:22 ../
-rwxr-xr-x 1 root root 3007 Aug 19 23:37 config.js.debnew*
drwxr-x--- 2 root root 4096 Aug 17 18:26 ssl/
so I am not sure what it is looking for. I will go look at github source I guess and see what it is looking for, but thought I would toss it out here at the same time, just in case.
Kat
apt-get install -f wazuh-api
Still not sure what was causing it at this point - will do some more debugging.