Hi, super new to Wazuh. Yesterday I installed using the super simple single node mode and had things working. Today I upgraded and now kibana won't start. Looking in the logs I see:
Feb 15 23:59:25 ip-172-26-5-88 systemd[1]: Started Kibana.
Feb 15 23:59:29 ip-172-26-5-88 kibana[167036]: {"type":"log","@timestamp":"2021-02-15T23:59:29Z","tags":["info","plugins-service"],"pid":167036,"message":"Plugin \"visTypeXy\" is disabled."}
Feb 15 23:59:29 ip-172-26-5-88 kibana[167036]: {"type":"log","@timestamp":"2021-02-15T23:59:29Z","tags":["warning","config","deprecation"],"pid":167036,"message":"\"server.defaultRoute\" is deprecated and has been replaced by \"uiSettings.overrides.defaultRoute\""}
Feb 15 23:59:29 ip-172-26-5-88 kibana[167036]: {"type":"log","@timestamp":"2021-02-15T23:59:29Z","tags":["fatal","root"],"pid":167036,"message":"{ Error: listen EACCES: permission denied 0.0.0.0:443\n at Server.setupListenHandle [as _listen2] (net.js:1263:19)\n at listenInCluster (net.js:1328:12)\n at doListen (net.js:1461:7)\n at process._tickCallback (internal/process/next_tick.js:63:19)\n code: 'EACCES',\n errno: 'EACCES',\n syscall: 'listen',\n address: '0.0.0.0',\n port: 443 }"}
Feb 15 23:59:29 ip-172-26-5-88 kibana[167036]: FATAL Error: listen EACCES: permission denied 0.0.0.0:443
Feb 15 23:59:29 ip-172-26-5-88 systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
Feb 15 23:59:29 ip-172-26-5-88 systemd[1]: kibana.service: Failed with result 'exit-code'.
Feb 15 23:59:29 ip-172-26-5-88 systemd[1]: kibana.service: Scheduled restart job, restart counter is at 77.
Feb 15 23:59:29 ip-172-26-5-88 systemd[1]: Stopped Kibana.
I'm still trying to figure this out. When I upgraded using sudo apt-get upgrade, it told me that the filebeat.yml file and the kibana.yml files had both changed. I've tried using the new defaults and my old ones but neither seem to work.
I used lsof -i :443 to check if something else (possibly the old version?) was using the port, but there seems to be nothing there that's conflicting. Is Kibana no longer running as root in 4.1.0, say? I didn't see anything about that in the release notes.
Any thoughts? I expected an upgrade to be a lot smoother, but I'm new here, so perhaps I shouldn't?
Mike