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

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
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
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? Thanks.
New
LegitStack
I’m hoping you guys can give me some general advice and perhaps code examples if you’re feeling up to it. I’m very interested in Elixir,...
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
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
Phillipp
Hey, I have a NanoPi-M3 and try to install Elixir on their Ubuntu image. I followed the Raspberry Pi installation instructions from the ...
New
makeitrein
Hey all, just started picking up Elixir last week and am writing a scraper as a learning project. Baby step #1 is extracting the number ...
New
kostonstyle
Hi all I want to have a unix time, from the current time plus 1 hour. DateTime.now + 1 hour How to get it in elixir? Thanks
New

Other popular topics Top

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
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
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
peerreynders
Manning 2016 Halloween weekend sale via Deal of the Day Friday, October 28 - Half off all MEAPs - code WM102816LT Saturday, October 29 ...
326 29600 154
New
chrisalley
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
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
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
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
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? https://hexdocs.pm/ecto/Ecto.Repo.h...
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