
MaksymB.91193 (Customer) asked a question.
I've deleted server from project, and after this I want to re-add it. But I am getting error `level=error msg="Error in init(), retrying" error="Server is deleted"` from sftd.
Does someone know how this can be fixed?

Hi @MaksymB.91193 (Customer) , Thank you for reaching out to the Okta Community!
I ran this by my ASA colleagues and they mentioned that the issue might be caused by info still being cache by server agent. Here's what they suggested:
1.Stop/uninstall the ScaleFT Server Tools on the affected server
2.Manually delete the ScaleFT directory from C:\Windows\System32\config\systemprofile\AppData\Local\ScaleFT
- Specifically it is the "state" subdirectory within the "ScaleFT" directory that contains internal databases and caches for the Server Agent. -probably what's causing the issue.
3.Re-install the ScaleFT Server Tools and enroll the server
*If it is a Linux server, the directory in step 2 is /var/lib/sftd
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--------------------------------
Okta Identity Engine (OIE) Ask Me Anything: Get answers from product experts by clicking here.