BeaconCMS - (undefined_table) relation "components"

So Dockyard is working on a CMS: GitHub - BeaconCMS/beacon: Beacon CMS
And I wanted to try it out. Getting this error on Step 10:

$ cd apps/my_app && mix ecto.reset && cd ../..
The database for MyApp.Repo has been dropped
The database for MyApp.Repo has been created

15:28:53.542 [info]  Migrations already up
[debug] QUERY ERROR source="components" db=0.0ms queue=2.1ms idle=0.0ms
SELECT c0."id", c0."body", c0."name", c0."site", c0."inserted_at", c0."updated_at" FROM "components" AS c0 []
[notice] Application beacon exited: Beacon.Application.start(:normal, []) returned an error: shutdown: failed to start child: Beacon.Loader.Server
    ** (EXIT) an exception was raised:
        ** (Postgrex.Error) ERROR 42P01 (undefined_table) relation "components" does not exist

    query: SELECT c0."id", c0."body", c0."name", c0."site", c0."inserted_at", c0."updated_at" FROM "components" AS c0

Any ideas?

1 Like

I just ran steps 1-10 without issue. Comparing my logs to yours, I’m seeing

The database for MyApp.Repo has been dropped
The database for Beacon.Repo has been dropped
The database for MyApp.Repo has been created
The database for Beacon.Repo has been created

where yours only shows MyApp.Repo. Is it possible that either step #3 or #4 has gone wrong?

2 Likes

Seems like its not OK to skip step 3 … :roll_eyes:

Looks very promising!

2 Likes