This bounty is no longer available
Web3 DAO | metabase Logo

Some setups of ProxySQL and PgPool errors with "No implementation of method :post-insert"

Organization

metabase

Deadline

over 1 year ago

Status

ENDED

5000 USD

INSTRUCTIONS

Hosting environment: Kubernetes (k8s) Internal Database: Postgres Metabase version: You're on version v0.26.2 My databases: All Postgres Operating system: OS X Sierra Browser: Chrome

Most of the time I can query "raw data" fine, but always when I use the Query Builder I get one of the following error messages in the dashboard:

There was a problem with your question Most of the time this is caused by an invalid selection or bad input value. Double check your inputs and retry your query. Show error details Here's the full error message No implementation of method: :post-insert of protocol: #'toucan.models/IModel found for class: nil

or

We are experiencing server problems

If I look at the logs they say either explicitly:

WARN metabase.query-processor :: Query failure: No implementation of method: :post-insert of protocol: #'toucan.models/IModel found for class: nil

Or less explicitly:

ERROR metabase.middleware :: POST /api/dataset 500 (177 ms) (16 DB calls) {:message "No implementation of method: :post-insert of protocol: #'toucan.models/IModel found for class: nil"

Weirdly enough, it worked when I tested it with the sample dataset.

  • Repeatable steps to reproduce the issue Issue was there from the start