get events failing (0.19)
This is a follow-up to the sanity check issue discovered (see here ).
Steps to reproduce:
- Install 0.19 RPMs for server and agent
- start server on port 8080:
systemctl start isc-stork-server
- run agent:
stork-agent --server-url http://192.168.56.101:8000/ --host 192.168.56.101 --port 8080
- go to UI, click unauthorized, authorize the new machine
- nagivate to Services>Machines, click on the machine.
When looking at the firefox console, I got this:
The response says: {"message":"problem with fetching events from the database"}
.
The server log prints lots of data, but this one seems relevant: #033[31mERRO#033[0m[2021-08-11 12:22:19] events.go:63 problem with getting events: ERROR #42846 cannot cast type jsonb to integer
Full logs attached: centos8-stork.log
Edited by Tomek Mrugalski