https://github.com/osquery/osquery logo
#osctrl
Title
# osctrl
k

Kunal

02/15/2023, 5:29 AM
Hi, I have deployed osctrl using docker and I am able to get to login screen using browser. But login fails with 'invalid credentials'. I have used the same credentials as configured in docker-compose.yml "OSCTRL_USER" and "OSCTRL_PASS". Any idea what could cause this issue ?
I have also observed that osctrl_ubuntu-osquery and osctrl-cli containers are "unhealthy". Is there a way to debug this ? thanks
j

javuto

02/15/2023, 6:15 PM
Let me see if I can reproduce the issue. Is this building docker images yourself or using the published ones?
k

Kunal

02/16/2023, 5:20 AM
Building myself. Where can I find the published images ?
k

Kunal

02/16/2023, 2:28 PM
Thanks. Also could you tell how can I deploy these container images? I tried pulling these images and then run them using "_sudo docker run <image id>_". But I get error :
main.go:606: Initializing backend...
2023/02/16 14:23:37 /home/runner/work/osctrl/osctrl/backend/backend.go:64
`[error] failed to initialize database, got error failed to connect to `host=127.0.0.1 user=postgres database=osctrl`: dial error (dial tcp 127.0.0.15432 connect: connection refused)` `main.go614 Failed to connect to backend - Failed to get DB - failed to connect to `host=127.0.0.1 user=postgres database=osctrl`: dial error (dial tcp 127.0.0.15432 connect: connection refused)`
3 Views