xcode server : user is not logged in

Before High Sierra and Xcode9, xcode server was managed from server.app and was working fine. Since updating to High Sierra and Xcode9, I have been having trouble with xcode server. Integrations are pending because the bot user is not logged in.

However, when I check Xcode bot tab, the bot user is marked as logged in.


What I already tried:

1. Reinstalled xcode and created a new bot account.

2. Use admin user for integrations

3. Disabled screen saver and screen locker


Workarround: Log out bot profile and then log in again.

Replies

I just had this issue on Xcode 12.1 upgrade. Very annoying. It might have something to do with me just having 1 account on my mac mini where I host the build machine, and that user is logged in automatically when mini starts.

Anyway, I fixed by:
  1. creating a new account on the mac mini - called xcodebot

  2. open xcode, go to Xcode Server settings and turn off and on, selecting new xcodebot user

  3. It then told me xcodebot wasn't logged in, so i tapped login which took me to setting up account on mac

  4. Once logged in, my dev machine started building my integrations

  5. 👍