Symptoms
-
Unable to remove an either IPv4 or IPv6 address from Tools & Settings > IP Addresses with error:
PLESK_ERROR: Cannot remove the IP address 2001:db8:f61:a1ff:0:0:0:80 because it is the last IP address present on a network interface.
OR
PLESK_ERROR: Cannot remove IP, used by DNS template
-
No websites are assigned on the IP address from the error.
Cause
Product issue:
-
#PPPM-3818 “Removing an IPv6 IP address registered in Plesk no longer fails with the “Cannot remove the IP address” error.”
Fixed in:- Plesk Obsidian 18 February 2020
Resolution
Workaround
Use one of the following workarounds:
-
Make sure that there is no subscriptions or reseller accounts assigned to this IP address in Plesk > Tools & Settings > IP Addresses (both Resellers and Sites values should be 0).
-
Open
/usr/local/psa/admin/conf/panel.ini
on Linux or%plesk_dir%adminconfpanel.ini
on Windows and add the following line:[ip]blacklist="IP_addresses_to_be_hidden"
-
Open Tools & Settings > IP Addresses and click Reread IP button: