i copied imscp from one server to another, copied /etc/imscp, /var/www/virtual, /var/mail/virtual and started autoinstaller. first it worked but the changed IP in imscp.conf was not used for the other software like roundcubemail etc, so the whole install is broken now.
first setup run was perfect but configs of addons/tools etc were NOT changed to new IP and hostname. so i tried to rerun setup, which ends suddenly like this:
[error] Modules::Domain::loadData: Domain with ID '4' has not been found or is in an inconsistent state
trying to uninstall there is a inconsistency on sub domains too:
[error] Modules::Subdomain::loadData: Subdomain with ID '6' has not been found or is in an inconsistent state
the whole panel is not reachable, also aren't the tools like pma. cli access to mysql only atm... how can this happen with just using the autoinstaller of imscp, no manual edits.
how to purge a broken imscp installation on a running system ignoring these errors? i just want to purge it, the data is save on another system...
maybe an howto how to migrate/mirror an existing imscp installation to another server WITH changing parameters like IP hostname etc should be added to the wiki. when i am done, i am willing to write one but first i need to know how to solve this.
i found a post of an official in the forum who stated "dump "imscp" and user databases, copy /etc/imscp, /var/www/virtual, /var/mail/virtual and run auto-installer script. et voila" - nope, didn't work