Senmi Rai
02/17/2026, 10:13 PMkapa.ai
02/17/2026, 10:13 PMkapa.ai
02/17/2026, 10:13 PMCompilation Error in operation elementary-on-run-start-0 (./dbt_project.yml) > > 'None' has no attribute 'database' [[GitHub issue](https://github.com/elementary-data/elementary/issues/1628)] From that issue we know: - The error appears right after installing the Elementary dbt package and running commands like: - dbt run --select elementary - dbt run - dbt compile - dbt test - dbt run-operation [[GitHub issue](https://github.com/elementary-data/elementary/issues/1628)] - It happens in the elementary-on-run-start-0 hook, before the main run starts. [[GitHub issue](https://github.com/elementary-data/elementary/issues/1628)] However, the knowledge sources do not include: - A confirmed root cause for why None.database occurs in this hook. - A documented fix or workaround for this specific 'None' has no attribute 'database' error. So, based only on the provided sources: - The error is a compilation error in the Elementary on‑run‑start hook that occurs after adding the Elementary package and running dbt deps. [[GitHub issue](https://github.com/elementary-data/elementary/issues/1628)] - The sources do not explicitly explain what configuration or version mismatch causes None to appear there, nor how to resolve it. If you can share (even in summary form) your: - dbt_project.yml Elementary configuration, - dbt core + adapter versions, - and the exact command you’re running, I can try to map your situation to similar “`None` has no attribute …” patterns in other hooks (like issues caused by custom macros or overrides), but for the specific .database case there is no documented resolution in the current knowledge sources.Senmi Rai
02/18/2026, 4:17 PM