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

Error executing the ejabberd installer #21

Closed
LuisTJap opened this issue Jan 26, 2015 · 5 comments
Closed

Error executing the ejabberd installer #21

LuisTJap opened this issue Jan 26, 2015 · 5 comments

Comments

@LuisTJap
Copy link

Hi,
when i'm trying to build the image from the Dockerfile, in the installation step. If use directly the image from the registry all works well, do you know where could be the problem? I need to build the image cause i need to add something to the config file.
Thank you in advance,
Regards

@rroemhild
Copy link
Owner

Hey, please post the output from your build log and from docker version and docker info.

Regards

@LuisTJap
Copy link
Author

of course! I'm using docker 1.4.1 And the log output is:

Step 12 : RUN wget -q -O /tmp/ejabberd-installer.run "http://www.process-one.net/downloads/downloads-action.php?file=/ejabberd/$EJABBERD_VERSION/ejabberd-$EJABBERD_VERSION-linux-x86_64-installer.run"     && chmod +x /tmp/ejabberd-installer.run     && /tmp/ejabberd-installer.run             --mode unattended             --prefix $EJABBERD_ROOT             --adminpw ejabberd     && rm -rf /tmp/*     && mkdir $EJABBERD_ROOT/ssl     && rm -rf $EJABBERD_ROOT/database/ejabberd@localhost
 ---> Running in 4ab3c7bfd691
INFO[0067] The command [/bin/sh -c wget -q -O /tmp/ejabberd-installer.run "http://www.process-one.net/downloads/downloads-action.php?file=/ejabberd/$EJABBERD_VERSION/ejabberd-$EJABBERD_VERSION-linux-x86_64-installer.run"     && chmod +x /tmp/ejabberd-installer.run     && /tmp/ejabberd-installer.run             --mode unattended             --prefix $EJABBERD_ROOT             --adminpw ejabberd     && rm -rf /tmp/*     && mkdir $EJABBERD_ROOT/ssl     && rm -rf $EJABBERD_ROOT/database/ejabberd@localhost] returned a non-zero code: 1 

Thank you for your quick answer

@rroemhild
Copy link
Owner

I can reproduce this behaviour on an Ubuntu 12.04.5 System with Docker 1.4.1 and AUFS storage driver. You can try to build the image with the devicemapper storage driver => http://muehe.org/posts/switching-docker-from-aufs-to-devicemapper

But you don't need to build the entire image by yourself to use your own configuration files. Use this image as the base image and copy your configfiles => https://github.com/rroemhild/docker-ejabberd#using-docker-ejabberd-as-base-image

Regards,
Rafael

@LuisTJap
Copy link
Author

Ok, i used you image as my base image and all works well, thank you very much, if i need to compile the image for some reason i will do it as you say, thank you again, you save a lot of time with your work!

@rroemhild
Copy link
Owner

You're welcome!

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

2 participants