Quote From : cibi July 23, 2025, 12:14 pm I had a master server with a slave. I found the slave offline since 2 days. The master had his version updated from 3.19 to 3.25. I resetted the API keys on the master and tried to sync but no sync. I then updated the master API key in slave universal.php but it won't do. I tried to remove to add it back and I forcibly removed the slave. I updated the version to 3.25 on the slave. Now when we try to add it back we have the error saying that IPs of VPS on the slave server already exist:"the following IP(s) already exist on the master .
How can I proceed to add this slave again please?
PS:
No slave record on the master UI
Universal.php on master:
$globals['slave'] = 0;
$globals['masterkey'] = '';
$globals['masterip'] = '';
$globals['key'] = '....M2jrH9DlYs74JCx...............'; // do not exist on master
$globals['pass'] = '.....gvtHzAGVhdhqk................'; // do not exist on master
Universal.php on slave:
$globals['slave'] = '1';
$globals['masterkey'] = 'xigYQDNq1CHIAc.............'; // exists on the master
$globals['masterip'] = 'x.220.19.177';
$globals['key'] = '.....ptkP9FW6kOlp.................'; // exists on the slave
$globals['pass'] = '......HZ7QDz8N....................'; // exists on the slave
Thanks
It seems like the old IP records from the slave are still causing issues on the master server. To fix this, you should check the master’s database and remove any old IP entries associated with the slave. After deleting those entries, restart the web service and then try to re-add the slave using the updated master key in universal.php. Ensure both servers are running version 3.25 before syncing.
|