Currently, I'm running two servers, as my old one will be migrated to new one (almost finished). I set up everything so far and it's running fine. Now the point is, my new server will use the IPs from my old server but is currently (temporarily) set up with other IPs (v4/v6.) I'm aware, that I'm responsible to change the network-configuration of my linux machine. Anyway: imscp has to re-generate all configs again. In order to prepare this step, I tried to add the IP (/27-network) from my old-server to the new one via imscp's gui, but ran into " Modules::ServerIP::add: Can't call method "isEmpty" on an undefined value at /var/www/imscp/engine/PerlLib/iMSCP/EventManager.pm line 231."
Please note: the IP from my old server is not yet part of my network-configuration - so imscp cannot determine it automatically or take notice of it in any way. However, I tried to add it in manual-mode.
Don't know if it's working as intended (and I did something wrong) or this is a bug. Maybe the preferred way is to call
/var/www/imscp/engine/setup/imscp-reconfigure -dr primary_ip when the network-configuration was changed to the new (so to old) ip.
Version: Git master (a few days old)