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:

https://github.com/hexpm/hex/issues/1099

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.

Last Post!

tjchambers

tjchambers

Thanks again. Can confirm Hex 2.3.1 resolves this issue.

Where Next?

Popular in Questions Top

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
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
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
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
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

Other popular topics Top

rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
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 54006 488
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
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New

We're in Beta

About us Mission Statement