Move Current Installation Out of /opt to Somewhere Else?

I have an existing installation that runs just fine, however, I would like to move it without having to re-install it. It's normally installed to /opt but I would like it moved to a /home/user folder and run from there.

Is there a simple process I can do to just move it, such as edit a text or config file somewhere that causes it to normally point to /opt but then change that to /home/user instead?

Yes, it's possible. You must

Yes, it's possible. You must tell Erlang the new paths.

What files to change depend on how you start ejabberd and what files are stored on /otp. Check your start script and modify the paths to:

  • ejabberd.cfg
  • the log files
  • the directory that contains the beam files
  • the directory that contains the Mnesia database dumps (DCD, DCL files)

Thanks

Thank you, I found which text script files I need to edit, they are all in the /bin director under the ejabberd folder.

I created a new user called jabber I moved the server to /home/jabber/ejabberd and edited the paths and it is now running just fine. :)

Syndicate content