Skip to content

Avoid Onboarding screen when /api/organizationsIsEmpty fails #8056

@philippotto

Description

@philippotto

In the past, we had at least two occurrences where a WK production system showed the onboarding system, because it considered the DB to be empty. No data was lost, but nevertheless the screen is scary.

We should do the following two things:

  • avoid that the onboarding screen appears in such scenarios
  • double-check that the onboarding screen cannot delete data when somebody uses it to create a new organization

Some notes on when this happened:

  • we updated a wk instance and used a docker tag that wasn't pushed. kubernetes didn't find the image and kept the old one deployed.
  • the db migration was executed (--> the DB schema was too new for the wk version)
  • the onboarding screen appeared instead of the dashboard

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions