Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • stork stork
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 266
    • Issues 266
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 23
    • Merge requests 23
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • storkstork
  • Issues
  • #571
Closed
Open
Issue created Aug 11, 2021 by Tomek Mrugalski@tomek🛰Owner

get events failing (0.19)

This is a follow-up to the sanity check issue discovered (see here ).

Steps to reproduce:

  1. Install 0.19 RPMs for server and agent
  2. start server on port 8080: systemctl start isc-stork-server
  3. run agent: stork-agent --server-url http://192.168.56.101:8000/ --host 192.168.56.101 --port 8080
  4. go to UI, click unauthorized, authorize the new machine
  5. nagivate to Services>Machines, click on the machine.

cannot-get-events

When looking at the firefox console, I got this:

500-error

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 Aug 11, 2021 by Tomek Mrugalski
Assignee
Assign to
Time tracking