tedi

tedi

Edeliver/distillery upgrade error: Release failed with multiple errors: No such module: asn1_db

Hello,

I’ve hit a wall deploying an upgrade via edeliver/distillery. I’ve been able to deploy the past year and recently had to update to OTP 25 because of a dependency requirement which broke everything. The error I’m getting is:
==> Release failed with multiple errors: No such module: asn1_db

System versions:

Erlang/OTP 25

Mix 1.14.2 (compiled with Erlang/OTP 25)

Deps list:

[
      {:phoenix, "1.6.6"},
      {:phoenix_pubsub, "~> 2.0"},
      {:phoenix_ecto, "~> 4.0"},
      {:ecto_sql, "~> 3.9.2"},
      {:postgrex, ">= 0.16.2"},
      {:gettext, "~> 0.11"},
      {:jason, "~> 1.0"},
      {:sentry, "8.0.0"},
      {:hackney, "1.18.0"},
      {:plug_cowboy, "2.5.2"},
      {:guardian, "~> 2.3.1"},
      {:comeonin, "~> 5.3.3"},
      {:bcrypt_elixir, "~> 3.0"},
      {:edeliver, ">= 1.9.2"},
      {:distillery,
       github: "tedi/distillery",
       ref: "4a0892b",
       warn_missing: false,
       override: true},
      {:httpoison, "~> 1.6"},
      {:poison, "~> 3.1"},
      {:pigeon, "~> 1.5.0"},
      {:kadabra, "~> 0.4.4"},
      {:geo_postgis, "~> 3.1"},
      {:timex, "3.7.6"},
      {:credo, "~> 1.4", only: [:dev, :test], runtime: false},
      {:atomic_map, "~> 0.8"},
      {:mux, "~> 1.8.0"},
      {:redix, ">= 1.0.0"},
      {:swoosh, "~> 1.6"},
      {:oban, "~> 2.11"},
      {:oban_pro, "~> 0.10", repo: "oban"},
      {:telemetry_metrics, "~> 0.6"},
      {:telemetry_poller, "~> 1.0"},
      {:remote_ip, "~> 1.1.0"},
      {:mogrify, "~> 0.9.1"},
      {:blurhash, "~> 1.0.0"},
      {:ex_aws, "~> 2.4.0"},
      {:ex_aws_s3, "~> 2.4.0"},
      {:sweet_xml, "~> 0.7.3"},
      {:polyline, "~> 1.3"},
    ]

Worth noting that I tried adding :asn1 to extra_applications.
Upon doing a search, the following libs seem to be referencing asn1 in one form or another (although nothing is coming up for asn1_db):

cowlib
hackney
Jose
ranch
ssl_verify_fun
timex

Any help would be greatly appreciated as I’ve hit a wall here. Thank you.

Most Liked

tedi

tedi

Good news figured it out. Thank you for your help @D4no0. I ended up reinstalling asdf and erl/elixir on my prod environments, and did a fresh deploy. Still used all the same versions, I think something went awry on the initial install of asdf.

Where Next?

Popular in Questions Top

Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
yawaramin
In the Dialyzer docs ( dialyzer — OTP 29.0.2 (dialyzer 6.0.1) ), there is a way to turn off a specific warning for a function: -dialyzer...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New

Other popular topics Top

axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 48475 226
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
chrismccord
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
jaysoifer
Is there a way to rollback a specific migration and only that one (“skipping” all the other ones)? Would mix ecto.rollback -v 200809061...
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

We're in Beta

About us Mission Statement