ejabberd - Comments for "Stuck during domain change" https://www.ejabberd.im/node/24778 en Thank you for being here, and https://www.ejabberd.im/node/24778#comment-65288 <p>Thank you for being here, and caring.<br /> It actually means a lot.</p> <p>I actually understand better now why it happened, at least.</p> Mon, 02 Mar 2015 12:41:14 +0000 fredrik comment 65288 at https://www.ejabberd.im Hello Fredrik, Actually, I https://www.ejabberd.im/node/24778#comment-65287 <p>Hello Fredrik,</p> <p>Actually, I have been told, the documentation for hostname change is already written and published here:</p> <p><a href="https://docs.ejabberd.im/admin/guide/#change-computer-hostname" title="https://docs.ejabberd.im/admin/guide/#change-computer-hostname">https://docs.ejabberd.im/admin/guide/#change-computer-hostname</a></p> <p>I hope this helps,</p> Mon, 02 Mar 2015 09:48:24 +0000 mremond comment 65287 at https://www.ejabberd.im Hello, Thanks for your https://www.ejabberd.im/node/24778#comment-65285 <p>Hello,</p> <p>Thanks for your feedback.<br /> Yes, this is unexpected, but that related to ability to work as a cluster with multiple nodes.</p> <p>We plan to write a process for changing server hostname on our new documentation site.</p> <p>Thanks for the feedback :)</p> Mon, 02 Mar 2015 08:08:03 +0000 mremond comment 65285 at https://www.ejabberd.im I actually got it to run https://www.ejabberd.im/node/24778#comment-65281 <p>I actually got it to run again...</p> <p>My hint was that by new hostname wasn't written down any other place than /etc/hosts.</p> <p>So I changed the order of the entries written behind '127.0.1.1', so that the first entry was unchanged from before.... and voila... no more crashes.</p> <p>But seriously... that is unexpected behaviour... I nearly decided to restart and have all my users create new passwords and everything...</p> Sat, 28 Feb 2015 19:44:38 +0000 fredrik comment 65281 at https://www.ejabberd.im Correction: when I deleted https://www.ejabberd.im/node/24778#comment-65280 <p>Correction: when I deleted the files in /var/lib/ejabberd, ejabberd started again properly... but I lost all my data of course... Is there a way to fix my backed up data manually, so ejabberd can start?</p> Sat, 28 Feb 2015 19:33:10 +0000 fredrik comment 65280 at https://www.ejabberd.im I even tried to delete https://www.ejabberd.im/node/24778#comment-65279 <p>I even tried to delete everything in /var/lib/ejabberd, and ejabberdctl seems to report about the new hostname.... where is it stored.</p> <p>I thought I had erased every trace of the new hostname, but ejabberd doesn't ever forget about it.</p> Sat, 28 Feb 2015 19:15:30 +0000 fredrik comment 65279 at https://www.ejabberd.im I have changed the hostname https://www.ejabberd.im/node/24778#comment-65278 <p>I have changed the hostname back, all of the places where I know I can change it. But ejabberd seems to still use the new node name. </p> <p>How do I export in this case?</p> Sat, 28 Feb 2015 18:48:04 +0000 fredrik comment 65278 at https://www.ejabberd.im Mnesia database schema can https://www.ejabberd.im/node/24778#comment-65277 <p>Mnesia database schema can work in cluster. For that reason, a database schema is tight to a precise nodename.</p> <p>If you need to change the Erlang VM nodename (that typically includes your server hostname), then you need to export Mnesia database from one hostname and import it in the new hostname.</p> <p>I hope this helps,</p> Fri, 27 Feb 2015 16:14:47 +0000 mremond comment 65277 at https://www.ejabberd.im