Hello, again,
That didn’t work for me,
mix do ecto.drop, ecto.create, ecto.migrate
** (Mix) The task “ecto.drop” could not be found
Note no mix.exs was found in the current directory
So, I tried following the manual-deploy instructions from the beginning.
git clone https://github.com/poanetwork/blockscout
cd blockscout/
export DATABASE_URL=…
…
mix phx.digest.clean
mix do deps.get, local.rebar --force, deps.compile, compile
gave errors
mix deps.compile ecto
gave errors, including:
== Compilation error in file lib/ecto/changeset.ex ==
** (Ecto.Query.CompileError) true is not a valid query expression, :select expects a query expression or a list of fields
expanding macro: Ecto.Query.select/2
lib/ecto/changeset.ex:1856: Ecto.Changeset.unsafe_validate_unique/4
expanding macro: Ecto.Query.limit/2
lib/ecto/changeset.ex:1857: Ecto.Changeset.unsafe_validate_unique/4
(elixir 1.10.3) expanding macro: Kernel.|>/2
lib/ecto/changeset.ex:1857: Ecto.Changeset.unsafe_validate_unique/4
(elixir 1.10.3) expanding macro: Kernel.if/2
lib/ecto/changeset.ex:1849: Ecto.Changeset.unsafe_validate_unique/4
could not compile dependency :ecto, “mix compile” failed. You can recompile this dependency with “mix deps.compile ecto”, update it with “mix deps.update ecto” or clean it with “mix deps.clean ecto”