Error Upgrade XCode Server

I got error when upgrade the XCode Server
Here is the steps :

XCode -> Prefereces menu -> Server & Bots tab -> Upgrade



and it will show the error :

Could not create xxx user: XCSAdministration.XCSAdministrationError.noSuchUser("xxx")

This happened after IT guys from my company rename the user folder?
How to fix this issue?

I've just faced the same problem. And I solved it by creating new user having the name from the error via Preferences -> Users & Groups.

Error Upgrade XCode Server
 
 
Q