Closed zemuldo closed 3 years ago
This helped https://github.com/processone/ejabberd/issues/3251 But the fix should go to hex.
Hi! I'm starting to learn about Elixir right now. Just for reference, here are minimal steps to reproduce it:
mix new example --umbrella
cd example
vim mix.exs
And set something like:
defp deps do
[{:ejabberd, ">= 21.4.0"}]
end
Then continue:
mix deps.get
ls -l deps/ejabberd/priv
css
img
js
lua
msgs
sql -> ../sql
So sql links to ../sql, but that directory is not available.
"sql" should be included in the next ejabberd release, thanks to https://github.com/processone/ejabberd/commit/df8b0cb1a51a977622c109ff37364a9b7e2f959c
Hi Folks, FYI this is not a bug report. Just seeking help with this. I am using Ejabberd with Elixir.
Before creating a ticket, please consider if this should fit the discussion forum better: https://github.com/processone/ejabberd/discussions
I have ejabberd in an umbrella app . I am trying to deploy using distillery but I get the error below when I run
MIX_ENV=prod mix distillery.release
Release packaging failed due to errors: ejabberd: Cannot add file _build/prod/rel/my_umbrella_project/lib/ejabberd-21.4.0/priv to tar file - _build/prod/rel/my_umbrella_project/lib/ejabberd-21.4.0/priv/sql: no such file or directory
I have no idea what the file being copied is. Any pointers will be appreciated.
Observations:
This error does not happen when using
dev
env with the same configuration asprod
. I think its related to the envprod
in ejabberd dependency but I can figure out what.Environment
OTP 22.3
1.12.1
Configuration (only if needed): grep -Ev '^$|^\s*#' ejabberd.yml
ejabberd.yml:
Errors from error.log/crash.log
No errors
Bug description
Not a bug
Please, give us a precise description (what does not work, what is expected, etc.)