Symptoms
- Unable to migrate data to Plesk or create a domain/subscription.
- Domain is migrated without hosting, data is not migrated.
- Error in
/var/log/fail2ban.log
:hosting update is failed: f2bmng failed: ERROR:f2bmng:Command ['set', 'plesk-apache-badbot', 'addlogpath', '/var/www/vhosts/system/example.com/logs/error_log'] failed with error UnknownJailException('plesk-apache-badbot',)
Step failed 'applyCreateSubscription'. hosting update is failed: f2bmng failed: ERROR:f2bmng:Command ['set', 'plesk-apache-badbot', 'addlogpath', '/var/www/vhosts/system/example.com/logs/error_log'] failed with error UnknownJailException('plesk-apache-badbot',)
Cause
Fail2ban rules prevent hosting creation.
Resolution
2. Find Plesk server IP addresses at Tools & Settings > IP addresses:
3. Add the IP addresses to Tools & Settings > IP Address banning (fail2ban) > Trusted IP Addresses: