Applicable to:
- Plesk for Linux
Symptoms
Unable to create reseller at Resellers > Add Reseller or change subscriber at Subscriptions > Change subscriber:
PLESK_ERROR: Unable to find row with id 1 in IP_Addresses table
Cause
Database inconsistency:
-
IP address with the mentioned ID is missing:
# plesk db "select * from IP_Addresses where id=1"
## plesk db "select * from IpAddressesCollections where ipAddressId=1;"
# -
The record exists in the
ip_pool
table:# plesk db "select * from ip_pool where ip_address_id=1"
+----+---------------+--------+
| id | ip_address_id | type
+----+---------------+--------+
| 1 | 1 | shared
+----+---------------+--------+
Resolution
-
Login server via SSH
-
Create a backup of Plesk database:
# plesk db dump psa > "psadump_$(date +"%Y_%m_%d_%I_%M_%p").sql"
-
Remove orphaned record:
# plesk db "delete from ip_pool where ip_address_id=1;"
Comments
0 comments
Please sign in to leave a comment.