tjchambers

tjchambers

Unable to deploy due to Oban Pro - change in Hex Repo?

Yesterday I was able to deploy my app successfully.

Today my deploys are breaking with:
|
4.343 Failed to fetch record for oban/oban_pro from registry (using cache instead)

4.343 The configured repository name for your dependency oban/oban_pro does not match the repository name in the registry. This could be because the repository name is incorrect or because the registry has not been updated to the latest registry format. Set HEX_NO_VERIFY_REPO_ORIGIN=1 to disable this check and allow insecure package downloads.

4.352 ** (Mix) Unknown package oban_pro in lockfile

re: Registry

#17 [stage-0 11/22] RUN --mount=type=secret,id=OBAN_LICENSE_KEY,env=OBAN_LICENSE_KEY mix hex.repo add oban https://repo.oban.pro --fetch-public-key SHA256:4/OSKi0NRF91QVVXlGAhb/BIMLnK8NHcx/EWs+aIWPc --auth-key ****

#17 DONE 1.4s

was successful both yesterday and today:

the only changes I can see potentially related to this are that now my deploy is referencing Hex

#16 [stage-0 10/22] RUN mix local.hex --force && mix local.rebar --force

#16 1.083 * creating /root/.mix/archives/hex-2.3.0-otp-28

#16 2.010 * creating /root/.mix/elixir/1-19-otp-28/rebar3

#16 DONE 2.0s

Yesterday ref was:

#16 [stage-0 10/22] RUN mix local.hex --force && mix local.rebar --force

#16 1.009 * creating /root/.mix/archives/hex-2.2.2-otp-27

#16 1.858 * creating /root/.mix/elixir/1-19-otp-28/rebar3

#16 DONE 1.9s

I note that 2.3.0 of hex was deployed today???

I could use some help on what to change.

Marked As Solved

sorenone

sorenone

Oban Core Team

@tjchambers the hex team is actively working on it.

Until they fix it, you can downgrade the hex version: mix local.hex 2.2.2

Also Liked

tjchambers

tjchambers

I reported this issue in the Hex repo since it seems somehow related to the Hex changes:

sorenone

sorenone

Oban Core Team

They released v2.3.1 and that fixes the issue.

tjchambers

tjchambers

Thanks again. Can confirm Hex 2.3.1 resolves this issue.

tjchambers

tjchambers

Thanks - that is what I did. It seems to have worked.

Where Next?

Popular in Questions Top

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
sergio
In Ruby, I can go: User.find_by(email: "foobar@email.com").update(email: "hello@email.com") How can I do something similar in Elixir? ...
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
pgiesin
This should be a simple problem but I just can’t seem to figure it out. I have a standalone Elixir app that won’t find the database. Dep...
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
dokuzbir
Hello, I am trying to convert my lists to string without losing brackets.For start i have 3 map. They look like these buyer = %{ id: ...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
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
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
jc00ke
Expanding on this topic: https://forum.elixirforum.net/t/map-typespec-question/19217 Let’s say I have a map with required and optional k...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3268 119930 1237
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 30048 115
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1140 51847 244
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
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New

We're in Beta

About us Mission Statement