Re-Add Slave after Forcibly remove https://www.softaculous.com/board/index.php?tid=20265 <![CDATA[Re-Add Slave after Forcibly remove]]> https://www.softaculous.com/board/index.php?tid=20265&tpg=1#p60090
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
   

The error means old IP records from the slave still exist on the master.
Delete those IPs from the master’s database (ips or servers table), restart the web service, then re-add the slave using the current master key from universal.php.
Ensure both are on version 3.25 before syncing.]]>
Wed, 15 Oct 2025 09:51:35 GMT https://www.softaculous.com/board/index.php?tid=20265&tpg=1#p60090
<![CDATA[]]> https://www.softaculous.com/board/index.php?tid=20265&tpg=0#p59749
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
    ]]>
Wed, 23 Jul 2025 12:14:19 GMT https://www.softaculous.com/board/index.php?tid=20265&tpg=0#p59749