Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache Failing to Start on Production #26

Closed
zacksiri opened this issue Oct 2, 2018 · 4 comments
Closed

Cache Failing to Start on Production #26

zacksiri opened this issue Oct 2, 2018 · 4 comments

Comments

@zacksiri
Copy link

zacksiri commented Oct 2, 2018

I'm getting the error as referenced here cabol/shards#41

It's working fine in development, however in production it's failing, I'm using distillery to make my production build.

@cabol
Copy link
Owner

cabol commented Oct 2, 2018

@zacksiri I think it is due to distillery (bitwalker/distillery#55).

Try to add :shards and :ex_shards to your included apps in your mix.exs, like so:

def application do
    [
      extra_applications: [:logger],
      mod: {Blog.Application, []},
      included_applications: [:shards, :ex_shards]
    ]
  end

NOTE: For further releases of Nebulex (> 1.0.0-rc.3), :ex_shards was removed, Nebulex now uses :shards directly, so you have to include only :shards to included_applications – Check out master branch; Release 1.0.0 will be launched soon :).

Please let me know if that works, stay tuned!

@zacksiri
Copy link
Author

zacksiri commented Oct 2, 2018

I upgraded to master and added :shards seems to be working thank you!

Looking forward to 1.0 release.

@zacksiri zacksiri closed this as completed Oct 2, 2018
@zdenal
Copy link

zdenal commented Jan 11, 2019

@cabol ... could be this added also into getting started and Nebulex documentations. I have solving today same issue which was raising only on staging/production release and this helped (used nebulex 1.0.1).

@cabol
Copy link
Owner

cabol commented Jan 13, 2019

@zdenal sure, let me try to find a good place to add it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants