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

Fl4m3Ph03n1x
Background Let’s assume I have a typical GenServer that receives messages as requests, does some operation in a DB and returns responses....
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
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
srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
LegitStack
I’m trying to make a websocket server in Phoenix or raw Elixir. I heard about gun, I think I could use cowboy, but since I’m not that sma...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
Mooodi
Given a string, how can I get access to its character by index? Enum.at("my_string", 2) doesn't work. Or rather, not char, but a substr...
New

Other popular topics Top

lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
dotdotdotPaul
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
yawaramin
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
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 45766 226
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 49522 488
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New
magnetic
Hey :wave:t3: Elixir community, I’ve been learning Elixir, and working on some side projects. My editor of choice is VSCode, and althoug...
New

We're in Beta

About us Mission Statement