bonfire-networks / bonfire-app

Bonfire - tend to your digital life in community. Customise and host your own online space and control your experience at the most granular level.
https://bonfirenetworks.org
GNU Affero General Public License v3.0
522 stars 37 forks source link

Bug: table category_tree does not exist #844

Closed lawik closed 5 months ago

lawik commented 5 months ago

Describe the bug After trying to get through the setup I get the localhost dev server running and it gives me an error instead of a working web app :)

To Reproduce

Follow introduction for Option B "easy" bare metal elixir.

Run just dev. Visit http://localhost:4000 and get "Something went wrong splash screen" (fully styled, nicely).

By changing logging configuration: Logger.configure(level: :info) in iex it was easier to isolate the thing that the request fails on:

[info] Sent 500 in 290ms
[error] GenServer #PID<0.1766.0> terminating
** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "category_tree" does not exist

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Bonfire environment (please complete the following information):

mayel commented 5 months ago

Oops this is because we recently added the bonfire_classify extension to classic but forgot to add the necessary migrations. This is precisely what we aim to solve in #243. Anyway, now added in https://github.com/bonfire-networks/bonfire-app/commit/ca41fc65124e5113202724315c10abed3dc87547 so can you please pull and try again?

lawik commented 5 months ago

that did it!